I started a really REALLY simple script for a simple game I'm making. For some reason, when I try to open the History tab, I get this error that I don't understand.
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/00gamemenu.rpy", line 173, in script
$ ui.interact()
File "renpy/common/00gamemenu.rpy", line 173, in <module>
$ ui.interact()
File "game/screens.rpy", line 883, in execute
screen history():
File "game/screens.rpy", line 883, in execute
screen history():
File "game/screens.rpy", line 890, in execute
use game_menu(_("History"), scroll=("vpgrid" if gui.history_height else "viewport"), yinitial=1.0):
File "game/screens.rpy", line 417, in execute
screen game_menu(title, scroll=None, yinitial=0.0):
File "game/screens.rpy", line 417, in execute
screen game_menu(title, scroll=None, yinitial=0.0):
File "game/screens.rpy", line 426, in execute
frame:
File "game/screens.rpy", line 429, in execute
hbox:
File "game/screens.rpy", line 435, in execute
frame:
File "game/screens.rpy", line 438, in execute
if scroll == "viewport":
File "game/screens.rpy", line 454, in execute
vpgrid:
File "game/screens.rpy", line 465, in execute
transclude
File "game/screens.rpy", line 890, in execute
use game_menu(_("History"), scroll=("vpgrid" if gui.history_height else "viewport"), yinitial=1.0):
File "game/screens.rpy", line 894, in execute
for h in _history_list:
File "game/screens.rpy", line 896, in execute
window:
File "game/screens.rpy", line 899, in execute
has fixed:
File "game/screens.rpy", line 913, in execute
text what
NameError: Name 'Today is a great day~' is not defined.
Code: Select all
"[[{i}Today is a great day~{/i}]"
Also, I have not tampered with the screen.rpy and I don't even know where this fabled 00gamemenu.rpy is. I kinda wish I could fix this thing before I keep going just to make sure my stuff is cleaned and all. When I check with "Check Script (Lint), it does not come up with anything bad.
ps: My Ren'Py is up to date. I've tested on 2 computers; windows 7 and windows 10. (The windows 10 one is up to date for sure the other one is probably screwed.)