Code doesn't run
It happens regularly that the python code i am writing simply doesn't run. I try to stop and nothing happens. I refresh the page i get the same problem. Few hours later i try and everything runs smoothly.
I really would like to use Repl but i am having so many headheache that i am tempted to find another solution :(
My code isn't running period. Even after refreshing and waiting hours, my python code is just not running. I am able to stop it, but when I run it, nothing happens. Even when I simply do print('Hello World'), it doesn't print it.
I found this to happen sometimes too. An easy fix is to just close your browser and reopen it, and use CTRL+SHIFT+T to open your old pages again - seems to work. Hope this helped.
This is currently happening to me as well with my LUA code (don't laugh). It could be some replit server overload? Although that doesn't explain why I can run other's codes. I refreshed the page several times and the console doesn't respond. I even tried to do print("123456789") and it didn't run.
Yeah, got the same issue, here. Server overload is one problem, but apparently, Repl also doesn't bother with notifying or posting on their own site when they are doing an update that freezes everything and stops our codes from running. Like what's happening right now !
And here I was looking for the reason why all of my repls (past or present) were not running anymore...
Same thing's happening to me
It has been quite a while I thought the problem will get resolved within a day or 2.
It has been 3 weeks now and the python code I write doesn't work.
I request the person responsible to kindly fix this thing as I am not able to do my coding :(
It worked once for me and then suddenly stopped... what is happening to it?
It's usually quite good. Just today maybe they're overloaded, as I experienced compiler loading and execution problems. I know locally for me east coast USA, there is currently a hurricane/flash flood, etc., maybe related.
i am located in EU so i don't think that is the problem @icy_1.
Maybe i am doing something wrong. To run a code i should simply select a file and ctrl+enter? is only the "main" file played?
These are probably stupid questions but are there some tutorials where i could get a better feeling of how to use repl?
@icy_1 Thanks! It was indeed something beyond our control. It was Google Cloud being down https://www.independent.co.uk/life-style/gadgets-and-tech/news/snapchat-spotify-down-google-cloud-discord-problems-not-working-a8452026.html
@GabrieleRomagno since it ran for you a few hours later, that's why I suspect the server experienced overload.
For python I think typically you define a main function and add a bit of protection against automatic running if imported as a module.
(I give up trying to write comments in code... i tried <pre> <code> [code]... )
If you had both the files as in example, the main() function would run.