firenvim icon indicating copy to clipboard operation
firenvim copied to clipboard

Error executing luv callback: attempt to concatenate field 'payload_data' (a nil value)

Open mcepl opened this issue 2 years ago • 5 comments

  • OS Version: linux x86-64
  • Browser Version: Firefox 94.0
  • Browser Addon Version: 0.2.11
  • Neovim Plugin Version: 0.2.11

What I tried to do

Just using Firenvim.

What happened

Periodically this error message happens:

error-message

mcepl avatar Dec 09 '21 15:12 mcepl

Thanks for the report, this is the same issue as #1253: the browser sends a websocket "ping" to which neovim has to reply with "pong". I had never implemented this part of the protocol until recently and now I have, but with what looks like a bug.

This usually happens when you don't interact with a Firenvim frame for some time (not sure how long though).

glacambre avatar Dec 09 '21 17:12 glacambre

This usually happens when you don't interact with a Firenvim frame for some time (not sure how long though).

Yes, quite often when I write a comment on some ticket (or on Reddit when not in the work mode), I need to collect some information elsewhere, so I may be in a textbox for the extensive period of time.

Or perhaps not, I got the error message now even before I wrote the previous paragraph and that I wrote just straight away without much thinking or researching.

mcepl avatar Dec 09 '21 18:12 mcepl

This is fixed by #1267 :).

glacambre avatar Dec 16 '21 06:12 glacambre

I wonder whether the cure is not worse than a sickness here. It seems that instead of random messages I get periodically all text lost (without storing it in undo-list, so it is completely lost).

mcepl avatar Dec 23 '21 09:12 mcepl

Right, I just noticed this while answering another issue. I've reverted c8cd51c3e04a1b1a12cfa21b6b9aaf62c16b983f in 804d6c4bbbdc7f4b679617f88f8136e3b38bee37 until I figure out what's wrong.

Thanks for the report!

glacambre avatar Dec 23 '21 10:12 glacambre