JuliaPluto / PlutoSliderServer.jl

Web server to run just the `@bind` parts of a Pluto.jl notebook
https://computationalthinking.mit.edu/
The Unlicense
130 stars 17 forks source link

StateOutOfSync: Failed to apply patches #101

Closed cfarm6 closed 1 year ago

cfarm6 commented 1 year ago

When converting this notebook (link to github gist) to a slider server notebook, the notebook returns a StateOfOutSync error after uploading a file and then trying to change the model variable. The notebook works correctly inside of a pluto notebook but fails to update after uploading a file.

The full error returned in the web console is:

#######################**************************########################
PlutoError: StateOutOfSync: Failed to apply patches.
Please report this: https://github.com/fonsp/Pluto.jl/issues adding the info below:
failing path: status_tree.subtasks.run.subtasks.evaluate.subtasks.1.finished_at 
notebook previous value: Not Found
patch: undefined
#######################**************************########################
Error: [Immer] minified error nr: 15 'status_tree/subtasks/run/subtasks/evaluate/subtasks/1/finished_at'. 
Find the full error at: https://bit.ly/3cXEKWf
cfarm6 commented 1 year ago

@fonsp

fonsp commented 1 year ago

This will be fixed in the upcoming Pluto release 🎉

https://github.com/fonsp/Pluto.jl/commit/de6a312b09d09081d549681d05d286033d894ce7