For the third time in as many days, the editor just randomly blanked out a file while I was editing. Each time, all my work was lost. This is extremely frustrating and a huge productivity loss.
I was thinking of using Glitch for teaching kids coding for some very large classes, but my confidence level in this platform is zero. I tried connecting it to GitHub and the UI said it was, but there is in fact, no branch in my GitHub repo, so I don’t even have any way to restore my code.
This is a critical bug. There are no specific steps to reproduce. While editing a file in Glitch, the entire contents of the file just disappear.
No…I did not press Select All - Delete
Yes…I have an excellent 150 Mbps Internet connection
Yes…I am on a modern MBPr with plenty of storage and memory
I am using Chrome and am having no other issues with other apps in the browser
Sorry to hear you’ve been having problems. There is a size limit on copying+pasting data in the editor (see https://glitch.com/faq#restrictions) but unfortunately the editor makes no attempt to explain that to people at this time, something we definitely need to work on. It should, however, take chunked pastes ok and only balk when pasting items larger than the paste size limit. Similarly, it should revert to the previous content of the file before the paste rather than blanking it. Note that you can import files using wget or similar via the console to get around this copy/paste limit.
In terms of exporting to GitHub, the repo has to be an initialized repo. The easiest way to do that is to select the initialize with readme option when creating the repo on GitHub. That may be the cause of your problem. If not, try revoking access and re-granting permissions.
The project is set to private. Please make it public or share a join link with me. Also it’d be useful if you can confirm if it’s happening to any one specific file, or is it happening across the project? Thanks.
Thanks for the report, we believe we can do a manual fix when this problem occurs and we’ll continue to investigate the root causes. Please let us know if you see anything like this continuing to occur.
Same thing happened to me. This is my third time doing a project. Friday was the last time I was able to fully complete a project. Every time I try to go and edit it deletes the whole file while glitch says its trying to reconnect.
This deleted both my routes.js and server.js files
The reason why @wgutierrez74’s and @lcb931023’s files are being wiped out is that they reached 100% disk usage. We can’t do much for this, except suggesting to make up space again in your projects; we’ll make sure this situation is clearly stated in the editor so that you can avoid losing work because of this kind of errors
I couldn’t reproduce the issue on @techbubble’s project, and Gareth reported his disk was not full. @techbubble, can you please tell us if you can reproduce the issue again? If so, can you tell us a full list of steps to consistently reproduce the bug? Thanks!
If you have any more questions/concern, please ask!