Ask coding questions

← Back to all posts
Code doesn't run
GabrieleRomagno

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 :(

Voters
RobertSvart
LucasSmith2000
draqonix21
DevAayan
WolfBro2008
JaewonHan1
BruhFlakes1
Alperkcr
launchcode
VinayKumar66
Comments
hotnewtop
masonjam

same here today. Halfway through, the console just stopped working. However, I was able to run other people's repls. I was able to run mine when I am not signed in as well.

HENRYMEAD

i have same problem plz fix it

githier

Hello all, my html,css, js code is not running now. How can I fix this?
Thank you

rlry1111

@githier me too! it seems like some cookie and attribute problem!

Zonnielilbro

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.

reddyforit

its happening to me now as well

AbbieWang2

Right now, my I can't run my code at all. I every time i click "run", it just stops on its own. Even if i wait, i still can't get it to run

amasad

Hey @GabrieleRomagno, Repl.it CEO here. There was an outage by Google Cloud, our provider and that's why things didn't work. Everything back up now.

We take service reliability very seriously so if this happens again, let me know directly: [email protected]

GabrieleRomagno

@amasad ok great. In case i have any other issue i will let you know. Congratulation for the great platform!

zaccandels

@amasad I'm having the same problem. Any time I try to run a python script nothing appears in the console.

amasad

@zaccandels hey there for matplotlib you need to save it to an image for now. We're working on fixing this. https://repl.it/site/docs/repls/python-plots
Interactive Python Plots - Repl.it

NguyenTrong4

@amasad Hello, I'm using python and writing a script that logs in pixiv by using its API but lately it doesn't really seem to work well since most of the time, I can't log in via pixiv's API. It would be very nice if you can help me about this.

BraylanBB121

@amasad I am having the same problem now please help me, it's with my HTML, CSS, JS code.

MemeManHimself

@amasad So, whenever I use any language that ends in repl.run, it. will. not. work! Just it won't work, PERIOD. And I have no idea how to fix this! Please help!

Frostcatzz

SAME :(

NathanChen8

It doesn't work for me too. And it keeps on saying: replt is waking up. And when I run the code, nothing appears in the console. There is no error. Please help!

OwenBradstreet

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.

GabrieleRomagno

@OwenBradstreet thanks i will try. Sometime also the syntax in the new file doesn't get recognized.... functions are not alighted like if the code is simply text. Still a bug or am i doing something wrong

OwenBradstreet

@GabrieleRomagno When you create the new file, are you adding the extension (.py) to the end? If not, it will just be a blank file format.

PS: If this is helpful can you upvote? Thanks!

27-NidhiAggarwa

same here I have the same issue.I run the code but the output doesn't come.It keeps loading :(

2026CameronLope

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.

NechineMarlin

I have the same problem. I even had a friend check my code, it was right but program still wouldn't run ;-(

NechineMarlin

me too, I even checked my work with a friend to make sure it was right.
sadness

purplegirl234

me too :((
edit = nevermind it worked after a refresh :>

PatrikHodoneczk

Same to me

OmanAgario

Mine dosent run too. I use the code with Pandas btw.

NSainz

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...

Akhil7Krishna

True

IzmaKhan

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 :(

elssaM

Having the same issue, it has been days I try to run Java codes and simply nothing happens, I copy the same codes as my lessons and no results. Such a headache :(

NoorNasri1

Same problem today - managed to fix by using edge instead of chrome to run the program

HoseinAhmadzade

Hi. I have your problem too. What did you do to fix this problem?

Mehmetizm

When I write and run the python code it does not appear on the screen help

HoseinAhmadzade

@Mehmetizm
Me too. Did your problem solved?

mrblin21

even it also doesn't support .env file. whenever i try to upload a .env file message pops up that there's an error. also my flask website is not working.

RileyScorbunny

my code is not running so its so annoying.

[deleted]

It worked once for me and then suddenly stopped... what is happening to it?

schmidti

Yes, same here! It occurs too frequently...like today.

schmidti

[email protected] Code isn't running again.

icy_1

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.

GabrieleRomagno

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?
thanks

amasad
icy_1

@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.

Example https://repl.it/@icy_1/FelineGrouchyPrintablecharacter

(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.

RAJALBRAHMBHATT

@GabrieleRomagno Hey, I am facing the exact same issue right now. Since result of only the main file is loading on the console I don't feel server overload is a problem. It would be a great help for me if you can share, how did you solve this issue back then.