JuliaPluto/PlutoSliderServer.jl

Large statefile with `baked_statefile = true` fails to open

Closed this issue · 6 comments

jbrea commented

I am stuck with the following error message for one of my notebooks
23 12 08T09:02:49

Funnily enough, the page loads just fine in some browsers (e.g. qutebrowser) but I get the above error message in others (e.g. firefox).

Any ideas?

fonsp commented

Can you copy and paste the full contents of the page?

fonsp commented

and could you say a bit more about what steps you took to get here?

jbrea commented
jbrea commented

Could it be that this happens when the statefile exceeds a certain size? I removed some of the embedded images and now the page seems to load fine.

fonsp commented

Interesting! Yes the problem is probably that the statefile gets too big.

For PlutoSliderServer I would always recommend setting Export_baked_statefile = false, not sure why that's not the default.

That way, the statefile is stored in a separate file, instead of base64-encoded in a javascript string. Then there is no file size limit.

fonsp commented

I think we should:

  1. Find out what the maximum size is and show an @error when it happens.
  2. Consider making baked_statefile=true the default