Problems with Pygame + Replit on Chromebooks
Hi! My students are attempting to do some simple animations in Pygame using Replit. They are using Chromebooks to do this, which may or may not be relevant. They are running into frequent "Bash" errors. Is this a known problem?
Hmm. Does the game still run? I saw one of the screenshots you posted below, and I've seen those messages appear on my PyGame repls. However, for me, the game screen still pops up. Refreshing the page or forking the repl might make the error message disappear. I would post a bug report if you can't get it to work :)
@eankeen Here is a link to a sample Pygame Replit file from one of my students. It gives the error I posted earlier, but then it doesn't display any output. When I try it on my laptop the output does appear, but when he does it on his computer (Windows 10 machine using Chrome) there is no output, even if he waits several minutes. Here is the link: https://repl.it/@DanielDoucette/PyGameFunctions1py
@mvidberg Hmm. That's sort of weird. Yeah I was able to get it to work fine. The only thing that I think could be causing this is the age of your browser. Maybe it hasn't been updated in a while? I really wish I could help you more, but haven't run into these types of problems before.
This file cannot be displayed: https://storage.googleapis.com/replit/images/1558128747435_dc3a0c6b01f7458647ba0489eec60b22.pn
Maybe they are your students that don't know how to code in pygame or that they are using python 2.7 instead of 3.x
Yeah your gonna have to give us some more information to let us help you... like archie here said, can you give us a link to the code or tell us what errors are occurring?
Upvote this comment if it’s useful, or you just simply just want to Upvote it.
Can you give us the whole error? And the code?
The chromebooks are not a problem, I use a chromebook too.
If they are trying to do this within a classroom, then I don't think it works (unless you make a new classroom of type
Pygame which you may be able to do? I am not a teacher so I don't know).