Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to process update Error: BUFFER_SHORTAGE #593

Closed
GiggleLiu opened this issue Oct 20, 2020 · 4 comments
Closed

Failed to process update Error: BUFFER_SHORTAGE #593

GiggleLiu opened this issue Oct 20, 2020 · 4 comments
Labels
bug Something isn't working HTTP/WS The connection between backend and frontend one day Closed because we won't work on it soon, will be opened again later.

Comments

@GiggleLiu
Copy link
Contributor

Some rare bug when I close a Pluto notebook. Just post an issue as the message says :P

Something went wrong!

Please open an issue on https://github.com/fonsp/Pluto.jl with this info:

Failed to process update
Error: BUFFER_SHORTAGE

[object MessageEvent]
@Pocket-titan
Copy link
Contributor

Ah now that [object MessageEvent] is very useful, thank you JavaScript :P I'll try to make the error display something more helpful so we can actually see it the next time it happens. Thanks for opening an issue!

Pocket-titan added a commit to Pocket-titan/Pluto.jl that referenced this issue Oct 20, 2020
JavaScript is not very smart at stringifying objects, so we get things like in fonsp#593 (which isn't that helpful). but `JSON.stringify`'ing the object does display it!
fonsp pushed a commit that referenced this issue Oct 21, 2020
JavaScript is not very smart at stringifying objects, so we get things like in #593 (which isn't that helpful). but `JSON.stringify`'ing the object does display it!
@fonsp
Copy link
Owner

fonsp commented Oct 28, 2020

Which browser do you use?

Also I'm closing this for now, because we can't reproduce it. The next time it happens we will have a more helpful error message to work with thanks to @Pocket-titan

@fonsp fonsp closed this as completed Oct 28, 2020
@fonsp fonsp added bug Something isn't working HTTP/WS The connection between backend and frontend one day Closed because we won't work on it soon, will be opened again later. labels Oct 28, 2020
@fonsp
Copy link
Owner

fonsp commented Oct 28, 2020

Oh and one thing @GiggleLiu :

when I close a Pluto notebook.

Do you mean:

  1. when you close Pluto using Ctrl+C, and the notebook is still open in the browser or
  2. when I close a Pluto tab but leave the server running?

@GiggleLiu
Copy link
Contributor Author

Sounds good.

I closed the tab most likely in Firefox, then I tried to open a new page in both Firefox and chrome, neither works.

  1. when I close a Pluto tab but leave the server running. More accurately the sever dies. But it never happen again since then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working HTTP/WS The connection between backend and frontend one day Closed because we won't work on it soon, will be opened again later.
Projects
None yet
Development

No branches or pull requests

3 participants