"We are having issues with your file" - editor loading forever
"We are having issues with your file" keeps on popping up multiple times a day when working on my python script. Can't exactly tell when it happens but the editor just begins reloading and keeps loading.
Trying to reload the page opens a browser popup that unsaved data may be lost when reloading which is the case (e.g. editor appearance settings that I changed while the editor kept ever loading were lost after reloading).
Plus, a file ".replit" gets created next to my "main.py".
However, I am able to still run the main.py with normal console output.
Tested this on different devices in different networks with different browsers and no blocking browser addons or firewalls.
Wether reverting to a previous commit in version control or switching to an other branch - the error persists.
I have a error that if I type the file gets ruined
Nothing is wrong with the file on my end. Just delete the repl it file
@AdCharity That's what I do every time I get the error.
The thing is, the editor loaded just fine a minute before you answered after my thousandth page refresh.
And as history tells me, the error will happen again so it must lay kind of deeper and can't always be solved by refreshing the page endless times I guess :/
@AdCharity What would copying the code into a new repl cause? You think this will prevent the error from happening again?
Already tried to fork the repl which didn't help either (or is there a difference to creating a new repl for it?)
Bug report already created :) and thanks for your support!
@AdCharity Alright, thanks, let's hope this works for a bit.
unable to run, main file .replit not found.
I assumed that this was a communication error between the client and server. If the file is deleted on the repl computer, then the website wouldn't be able to load the file contents, hence the error (I assume this because I only get this error on files that were dynamically deleted using the python program). Once this popup appears, you'll have to refresh the page (despite the warnings) to fix the editor not loading.
@Geocube101 Thank you! Once I get the error again (might have been coming up when I renamed a file), I'll stick to refreshing the page then.