Fork me on GitHub
#vim
<
2018-04-26
>
mynomoto15:04:07

After upgrading replant I'm getting

Error detected while processing function replant#ui#test_project[13]..replant#ui#handle_test[3]..replant#generate#test_results_info:
line    3:
E684: list index out of range: 1
E15: Invalid expression: a:msgs[1]
line    4:
E712: Argument of get() must be a List or Dictionary
Error detected while processing function replant#ui#test_project[13]..replant#ui#handle_test[11]..replant#handle#test_fix_file:
line    3:
E712: Argument of get() must be a List or Dictionary
Error detected while processing function replant#ui#test_project[13]..replant#ui#handle_test[14]..replant#handle#test_add_to_qf:
line    3:
E712: Argument of get() must be a List or Dictionary
Error detected while processing function replant#ui#test_project[13]..replant#ui#handle_test[19]..replant#handle#is_tests_pass:
line    3:
E712: Argument of get() must be a List or Dictionary
Error detected while processing function replant#ui#test_project[13]..replant#ui#handle_test[23]..replant#handle#test_summary:
line    3:
E712: Argument of get() must be a List or Dictionary
Tested 0 namespaces
Ran 0 assertions, in 0 test functions
0 passed
I did already run :UpdateRemotePlugins and restarted neovim but this time that didn't work.

dominicm16:04:42

I thought I had removed code that checked for an index specifically. I'll read the source on the train.

dominicm16:04:06

Does rolling back help @mynomoto?

mynomoto16:04:13

@dominicm it didn't, I rolled back to d879d7d

dominicm16:04:38

Okay, I have a suspicion about it, no seating on my train though, I'll have a look once I'm home.

dave16:04:33

@dominicm i'm envious that you get to compute during your commute 🙂 i have to drive to work

dominicm16:04:09

Public transportation is the best :)

markwoodhall16:04:21

I just double checked and I don't think I broke anything with the re-run failed tests feature..

dominicm16:04:56

I don't think you did either, I think it's me failing to clean-up a particular bit of code, the upgrade is a coincidence.

dominicm18:04:23

@mynomoto Please try latest, I wasn't using the a:msgs[1] anyway.

mynomoto20:04:04

@dominicm no change, pretty sure is the same error:

Error detected while processing function replant#ui#test_project[13]..replant#ui#handle_test[3]..replant#generate#test_results_info:
line    3:
E712: Argument of get() must be a List or Dictionary
Error detected while processing function replant#ui#test_project[13]..replant#ui#handle_test[11]..replant#handle#test_fix_file:
line    2:
E712: Argument of get() must be a List or Dictionary
Error detected while processing function replant#ui#test_project[13]..replant#ui#handle_test[14]..replant#handle#test_add_to_qf:
line    2:
E712: Argument of get() must be a List or Dictionary
Error detected while processing function replant#ui#test_project[13]..replant#ui#handle_test[19]..replant#handle#is_tests_pass:
line    2:
E712: Argument of get() must be a List or Dictionary
Error detected while processing function replant#ui#test_project[13]..replant#ui#handle_test[23]..replant#handle#test_summary:
line    2:
E712: Argument of get() must be a List or Dictionary
Tested 0 namespaces
Ran 0 assertions, in 0 test functions
0 passed

dominicm20:04:13

@mynomoto one exception is gone. I may not be handling an error case of some kind. The results of echo replant#send_message(replant#generate#test_project({'load?': 1}))

dominicm20:04:21

Would help me debug

dominicm20:04:38

I suspect one of your namespaces is failing to require

mynomoto20:04:16

Doing it now, just a sec.

mynomoto20:04:21

E117: Unknown function: replant#send_message
E15: Invalid expression: replant#send_message(replant#generate#test_project({'load?': 1}))

dominicm08:04:05

@mynomoto Sorry, it should have been send#message not send_message.

dominicm08:04:13

My thought that it was due to a failing require is unfounded, so I'm uncertain now!

mynomoto13:04:07

[{'status': ['done', 'unknown-op', 'error'], 'id': 'replant--a7670906-5f42-463c-b764-2a12dde06d0a', 'session': '4e5f8e58-fa3e-4d12-b6f2-4b3292ff00ab', 'op': 'test-all'}]

dominicm13:04:27

@mynomoto it sounds to me like cider-nrepl isn't installed?

mynomoto13:04:04

That explains it. It is installed but the repl I was using was not loading middlewares 😱 Sorry about that.

dominicm13:04:28

That's okay 🙂 I should detect/handle this

mkeathley23:04:47

Is there a general opinion regarding acid.nvim and fireplace.vim