Try to load game but get "uncaught exception"
Posted: Tue Nov 26, 2019 8:03 pm
Hi people,
I have just added content to a game I am working on. The game has behaved well until today when I hit load. Rather than it starting the game, I got the following message:
I'm sorry, but an uncaught exception occurred.
After initialization, but before game start.
File "renpy/common/00voice.rpy", line 360, in voice_interact
if _menu:
NameError: global name '_menu' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\home\game version 211119\renpy-6.99.12.3-sdk\renpy\bootstrap.py", line 295, in bootstrap
renpy.main.main()
File "C:\home\game version 211119\renpy-6.99.12.3-sdk\renpy\main.py", line 430, in main
renpy.game.script.report_duplicate_labels()
File "C:\home\game version 211119\renpy-6.99.12.3-sdk\renpy\script.py", line 890, in report_duplicate_labels
if renpy.parser.report_parse_errors():
File "C:\home\game version 211119\renpy-6.99.12.3-sdk\renpy\parser.py", line 2543, in report_parse_errors
renpy.display.error.report_parse_errors(full_text, error_fn)
File "C:\home\game version 211119\renpy-6.99.12.3-sdk\renpy\display\error.py", line 179, in report_parse_errors
error_fn=error_fn,
File "C:\home\game version 211119\renpy-6.99.12.3-sdk\renpy\game.py", line 280, in invoke_in_new_context
return callable(*args, **kwargs)
File "C:\home\game version 211119\renpy-6.99.12.3-sdk\renpy\display\error.py", line 43, in call_exception_screen
return renpy.ui.interact(mouse="screen", type="screen", suppress_overlay=True, suppress_underlay=True)
File "C:\home\game version 211119\renpy-6.99.12.3-sdk\renpy\ui.py", line 285, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "C:\home\game version 211119\renpy-6.99.12.3-sdk\renpy\display\core.py", line 2519, in interact
i()
File "renpy/common/00voice.rpy", line 360, in voice_interact
if _menu:
NameError: global name '_menu' is not defined
Windows-7-6.1.7601-SP1
Ren'Py 6.99.12.4.2187
New game II 0.10
I rebooted and the same thing happened. I have no idea what else to do to fix this! I am not using the latest version of Ren’py but this has not caused me any difficulties before.
I would be very grateful for any advice that more experienced developers can can give me.
I have just added content to a game I am working on. The game has behaved well until today when I hit load. Rather than it starting the game, I got the following message:
I'm sorry, but an uncaught exception occurred.
After initialization, but before game start.
File "renpy/common/00voice.rpy", line 360, in voice_interact
if _menu:
NameError: global name '_menu' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\home\game version 211119\renpy-6.99.12.3-sdk\renpy\bootstrap.py", line 295, in bootstrap
renpy.main.main()
File "C:\home\game version 211119\renpy-6.99.12.3-sdk\renpy\main.py", line 430, in main
renpy.game.script.report_duplicate_labels()
File "C:\home\game version 211119\renpy-6.99.12.3-sdk\renpy\script.py", line 890, in report_duplicate_labels
if renpy.parser.report_parse_errors():
File "C:\home\game version 211119\renpy-6.99.12.3-sdk\renpy\parser.py", line 2543, in report_parse_errors
renpy.display.error.report_parse_errors(full_text, error_fn)
File "C:\home\game version 211119\renpy-6.99.12.3-sdk\renpy\display\error.py", line 179, in report_parse_errors
error_fn=error_fn,
File "C:\home\game version 211119\renpy-6.99.12.3-sdk\renpy\game.py", line 280, in invoke_in_new_context
return callable(*args, **kwargs)
File "C:\home\game version 211119\renpy-6.99.12.3-sdk\renpy\display\error.py", line 43, in call_exception_screen
return renpy.ui.interact(mouse="screen", type="screen", suppress_overlay=True, suppress_underlay=True)
File "C:\home\game version 211119\renpy-6.99.12.3-sdk\renpy\ui.py", line 285, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "C:\home\game version 211119\renpy-6.99.12.3-sdk\renpy\display\core.py", line 2519, in interact
i()
File "renpy/common/00voice.rpy", line 360, in voice_interact
if _menu:
NameError: global name '_menu' is not defined
Windows-7-6.1.7601-SP1
Ren'Py 6.99.12.4.2187
New game II 0.10
I rebooted and the same thing happened. I have no idea what else to do to fix this! I am not using the latest version of Ren’py but this has not caused me any difficulties before.
I would be very grateful for any advice that more experienced developers can can give me.