Repl.it or code issue?
ChristopherBurn (6)

I've started a coding club in our school, and we have been collaboratively creating a game in Python with Turtle. It worked just fine until last week. Now for some of the computers (everyone is on Chromebooks) the opening screen turtle drawer just takes off and the game freezes for about 5 minutes. For others the game still functions as expected. I have tried debugging, but there is no error I can see in the code and as it occurs only on certain machines I am wondering if it is a repl.it issue and not a code issue. I have also put the code into other online editors and it runs perfectly. We can't install IDE's on the Chromebooks (school division controlled) and we like repl.it for it's multiplayer capacity.
Any ideas? The issue generally occurs while drawing the "a" in "tank", but if you comment that section out the issue will occur elsewhere in the title drawing process.
I'd love to get this working again so we can continue with it. But it's very hard to test it when it only runs on one machine.

Edit* See link: https://repl.it/@ChristopherBurn/TurtleTank

You are viewing a single comment. View All
Masy (21)

@ChristopherBurn Its not repl nor your code. Chromebooks have a issue with running repl scripts as my chromebook at my school. Im figuring your school locks down chromebooks with either goguardian or Lan School and in that feature they mistake some program running websites as a threat so the chromebook is trying to figure whats going on and the program freezes. As for the HP laptop its possibly just old hardware or your using too much of the Repl system. If you possibly talk to the school to get the website scripts allowed it may work. Just a theory as I dont see anything wrong with the code but I may be mistaken.

Edited

ChristopherBurn (6)

@Masy We don't use goguardian or lanschool, although we do have something called SophosEndpoint. That being said, they were running the code just fine for a couple months until just recently.

Masy (21)

@ChristopherBurn So I googled SophosEndpoint and one of the first sentances is "protection product that combines antimalware, web and application control" Im guessing your school has blocked some sort of js functioning on the webpage and that is the most probable reason I can think of. Your code works fine i've tested it twice now. Runs perfectly fine on my Mac and Chromebook. Im guessing that the reason for the chromebooks. It also looks like the software controls what operations run on the machine

Edited

ChristopherBurn (6)

@Masy So I talked to the divisional IT people, and only the staff laptop's get Sophos Endpoint, the Chromebooks don't have software like that installed and just use a preselected set of Chrome settings for protections. They have to allow JavaScript though, and it was running fine before. The IT guys are looking at it to see if it is something on their end, so I'll keep everyone posted if they find something.

Masy (21)

@ChristopherBurn Copy that, If you need more help let me know

ChristopherBurn (6)

@Masy According to my IT department, it may be a problem on repl.it's side..."My best guess, when I look at this is that it is a flash based engine. Now, that being said, Google Chrome has its own embedded version of flash. This project, seems to only sieze up in Chrome. I tried on my machine and received the same results as you, however, when I opened it in Firefox or Microsoft Edge, it ran completely fine. I would let their technical department know of this finding."