I wrote a neovim remote plugin. I get this message after the command finished ( when I try another).

Error detected while processing function remote#define#request:
line    2:
Error invoking 'C:/Users/ekarni/.vim/plugged/speech-to-text.nvim/rplugin/python/main.py:command:Voice' on channel 5:
Invalid channel: 5

How can I debug it? What causes this kind of failure?

(There was no direct exception, and I tried to make sure there was indirect exception in one of the corresponding futures using (try..catch) )

  • Could you reproduce the problem with a simpler version of the plugin that you could share? Solving a problem without being able to reproduce it is difficult :-/ May 10, 2023 at 4:05


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.