freeCodeCamp / LearnToCodeRPG

A visual novel video game where you learn to code and get a dev job 🎯
https://www.freecodecamp.org/news/learn-to-code-rpg-1-5-update/
BSD 3-Clause "New" or "Revised" License
1.06k stars 110 forks source link

Error with some characters image on Ubuntu #95

Open mutamanabdo opened 1 year ago

mutamanabdo commented 1 year ago

What bug did you encounter?

Hello, When I start the game there's an uncaught expectation occurred and some images of characters doesn't renderd correctly: While running game code: File "renpy/common/00start.rpy", line 240, in script call call _splashscreen from _call_splashscreen_1 File "game/scripts/splashscreen.rpy", line 26, in script if local_version != itch_version: File "game/scripts/splashscreen.rpy", line 26, in if local_version != itch_version: NameError: name 'local_version' is not defined

-- Full Traceback ------------------------------------------------------------

Full traceback: File "renpy/common/00start.rpy", line 240, in script call call _splashscreen from _call_splashscreen_1 File "game/scripts/splashscreen.rpy", line 26, in script if local_version != itch_version: File "/home/mutaman/Downloads/LearnToCode/LearnToCodeRPG-1.5-linux/renpy/ast.py", line 2115, in execute if renpy.python.py_eval(condition): File "/home/mutaman/Downloads/LearnToCode/LearnToCodeRPG-1.5-linux/renpy/python.py", line 1092, in py_eval return py_eval_bytecode(code, globals, locals) File "/home/mutaman/Downloads/LearnToCode/LearnToCodeRPG-1.5-linux/renpy/python.py", line 1085, in py_eval_bytecode return eval(bytecode, globals, locals) File "game/scripts/splashscreen.rpy", line 26, in if local_version != itch_version: NameError: name 'local_version' is not defined

Linux-5.15.0-56-generic-x86_64-with-glibc2.35 x86_64 Ren'Py 8.0.3.22090809 Learn to Code RPG 1.5 Sun Dec 25 22:26:08 2022

Steps to Reproduce

just run the learnToCodeRGP.sh with the terminal using any of the following: ./learnToCodeRGP.sh sh learnToCodeRGP.sh bash learnToCodeRGP.sh

Screenshots

No response

Additional Information

No response

mutamanabdo commented 1 year ago

Screenshot from 2022-12-25 22-49-42_105029 Cat image as an example

a2937 commented 1 year ago

Hmmm...these look like two different issues. The first crash report looks like it was made when there was an issue retrieving the version information for the latest game on Itch or the local version info. The second has nothing to do with the splash screen as far as I can tell.