Discuss Scratch

stickfiregames
Scratcher
1000+ posts

Saving error when a project contains long lists

When I try to save a project containing a long list, I get a “Not saved - Network or server error” message. I have downloaded the project and it is nowhere near the 50MB limit, and I have also tried splitting the list into two lists in case it reached the size limit for a single asset. The project is here and it refuses to save if I add another item to the list feature (or possibly featurename, or both).
Does anyone know a fix for this?
TheLogFather
Scratcher
1000+ posts

Saving error when a project contains long lists

Yeah, I've found similar issues - having long lists in a project is a great way to prevent reliable remixing…!

My 3d design-a-globe project suffered from just the same kind of issue (note how some of the remixes fail to load).


To work around this, what I do now is ‘dump’ any really long lists into variables (using the "set [variable v] to (list)" trick), and be sure to clear the lists before any time the project (auto)saves.
(But how to ensure it only autosaves when *you* want? - check here.)

When the project runs, the first thing it should do is check if the lists have been built - if not, then ‘extract’ the info from the variables back into the appropriate lists.

See my 3d terrain project for an example of the above (that's what all that ‘extracting’ at the beginning is doing…)

Last edited by TheLogFather (Aug. 25, 2014 19:55:30)

stickfiregames
Scratcher
1000+ posts

Saving error when a project contains long lists

Thanks! I dumped the list's contents into a series of variables (Flash crashed when I tried to dump it all into one). Now I have to rewrite the loading script to read from variables…

Powered by DjangoBB