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

Uncaught Exception #59

Closed ckvignesh closed 2 years ago

ckvignesh commented 2 years ago

What bug did you encounter?

I'm sorry, but an uncaught exception occurred.

While running game code: File "game/script.rpy", line 1334, in script "(Well, this is the reality of navigating the stress of applying to jobs, waiting for application follow-up, going to interviews, waiting for interview follow-up, and {b}Repeat{/b}.)" File "game/scripts/calendar.rpy", line 50, in execute screen calendar_screen(): File "game/scripts/calendar.rpy", line 50, in execute screen calendar_screen(): File "game/scripts/calendar.rpy", line 53, in execute if calendar_enabled: File "game/scripts/calendar.rpy", line 54, in execute frame: File "game/scripts/calendar.rpy", line 60, in execute hbox: File "game/scripts/calendar.rpy", line 63, in execute text calendar.get_month_string(): File "game/scripts/calendar.rpy", line 63, in text calendar.get_month_string(): File "game/scripts/calendar.rpy", line 43, in get_month_string return self.month_names[self.month] IndexError: list index out of range

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

Full traceback: File "game/script.rpy", line 1334, in script "(Well, this is the reality of navigating the stress of applying to jobs, waiting for application follow-up, going to interviews, waiting for interview follow-up, and {b}Repeat{/b}.)" File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/ast.py", line 716, in execute renpy.exports.say(who, what, *args, *kwargs) File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/exports.py", line 1417, in say who(what, args, kwargs) File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/character.py", line 1223, in call self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, display_args) File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/character.py", line 875, in do_display display_args) File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/character.py", line 621, in display_say rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward) File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/ui.py", line 298, in interact rv = renpy.game.interface.interact(roll_forward=roll_forward, kwargs) File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/display/core.py", line 3276, in interact repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, kwargs) File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/display/core.py", line 3694, in interact_core root_widget.visit_all(lambda i : i.per_interact()) File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/display/core.py", line 568, in visit_all d.visit_all(callback, seen) File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/display/core.py", line 568, in visit_all d.visit_all(callback, seen) File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/display/core.py", line 568, in visit_all d.visit_all(callback, seen) File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/display/screen.py", line 432, in visit_all callback(self) File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/display/core.py", line 3694, in root_widget.visit_all(lambda i : i.per_interact()) File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/display/screen.py", line 443, in per_interact self.update() File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/display/screen.py", line 631, in update self.screen.function(self.scope) File "game/scripts/calendar.rpy", line 50, in execute screen calendar_screen(): File "game/scripts/calendar.rpy", line 50, in execute screen calendar_screen(): File "game/scripts/calendar.rpy", line 53, in execute if calendar_enabled: File "game/scripts/calendar.rpy", line 54, in execute frame: File "game/scripts/calendar.rpy", line 60, in execute hbox: File "game/scripts/calendar.rpy", line 63, in execute text calendar.get_month_string(): File "game/scripts/calendar.rpy", line 63, in text calendar.get_month_string(): File "game/scripts/calendar.rpy", line 43, in get_month_string return self.month_names[self.month] File "/home/ckvignesh/Vignesh/LearnToCodeRPG-1.0-linux/renpy/python.py", line 992, in getitem rv = list.getitem(self, index) IndexError: list index out of range

Linux-5.11.0-46-generic-x86_64-with-debian-bullseye-sid Ren'Py 7.4.8.1895 Learn to Code RPG 1.0 Mon Jan 17 20:48:24 2022

Steps to Reproduce

It occurred at the ending of the day in the game.

Screenshots

image image

Additional Information

No response

RuolinZheng08 commented 2 years ago

I think this was fixed a while ago in 9cf71ad614ade30d298edcc6f9b897b09ced30c9 and the itch build has been updated. Please feel free to reopen the issue if the problem persists in the newest build.