Andrealphus
Issue after Zenpy translation - Crash when entering Settings menu
I used Zenpy to translate the game, and the main menu works fine, but when I enter the
Settings menu, the game crashes with this error:
```
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/gui/screens.rpy", line 1151, in execute
File "game/gui/screens.rpy", line 1151, in execute
File "game/gui/screens.rpy", line 1155, in execute
File "game/gui/screens.rpy", line 524, in execute
File "game/gui/screens.rpy", line 524, in execute
File "game/gui/screens.rpy", line 534, in execute
File "game/gui/screens.rpy", line 537, in execute
File "game/gui/screens.rpy", line 543, in execute
File "game/gui/screens.rpy", line 546, in execute
File "game/gui/screens.rpy", line 548, in execute
File "game/gui/screens.rpy", line 561, in execute
File "game/gui/screens.rpy", line 562, in execute
File "game/gui/screens.rpy", line 1155, in execute
File "game/gui/screens.rpy", line 1157, in execute
File "game/gui/screens.rpy", line 1213, in execute
File "game/gui/screens.rpy", line 1217, in execute
File "game/gui/screens.rpy", line 1248, in execute
File "game/gui/screens.rpy", line 1253, in execute
File "game/gui/screens.rpy", line 1255, in execute
File "game/gui/screens.rpy", line 1255, in <module>
KeyError: 'tr_zenpy'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
python hide:
File "E:\Renpy\My Demonic Romance 0.19.3\renpy\ast.py", line 834, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "E:\Renpy\My Demonic Romance 0.19.3\renpy\python.py", line 1184, in py_exec_bytecode
exec(bytecode, globals, locals)
File "renpy/common/_layout/screen_main_menu.rpym", line 28, in <module>
python hide:
File "renpy/common/_layout/screen_main_menu.rpym", line 35, in _execute_python_hide
ui.interact()
File "E:\Renpy\My Demonic Romance 0.19.3\renpy\ui.py", line 301, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "E:\Renpy\My Demonic Romance 0.19.3\renpy\display\core.py", line 2218, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
File "E:\Renpy\My Demonic Romance 0.19.3\renpy\display\core.py", line 2748, in interact_core
root_widget.visit_all(lambda d : d.per_interact())
File "E:\Renpy\My Demonic Romance 0.19.3\renpy\display\displayable.py", line 434, in visit_all
d.visit_all(callback, seen)
File "E:\Renpy\My Demonic Romance 0.19.3\renpy\display\displayable.py", line 434, in visit_all
d.visit_all(callback, seen)
File "E:\Renpy\My Demonic Romance 0.19.3\renpy\display\displayable.py", line 434, in visit_all
d.visit_all(callback, seen)
[Previous line repeated 1 more time]
File "E:\Renpy\My Demonic Romance 0.19.3\renpy\display\screen.py", line 480, in visit_all
callback(self)
File "E:\Renpy\My Demonic Romance 0.19.3\renpy\display\core.py", line 2748, in <lambda>
root_widget.visit_all(lambda d : d.per_interact())
File "E:\Renpy\My Demonic Romance 0.19.3\renpy\display\screen.py", line 491, in per_interact
self.update()
File "E:\Renpy\My Demonic Romance 0.19.3\renpy\display\screen.py", line 700, in update
self.screen.function(**self.scope)
File "game/gui/screens.rpy", line 1151, in execute
File "game/gui/screens.rpy", line 1151, in execute
File "game/gui/screens.rpy", line 1155, in execute
File "game/gui/screens.rpy", line 524, in execute
File "game/gui/screens.rpy", line 524, in execute
File "game/gui/screens.rpy", line 534, in execute
File "game/gui/screens.rpy", line 537, in execute
File "game/gui/screens.rpy", line 543, in execute
File "game/gui/screens.rpy", line 546, in execute
File "game/gui/screens.rpy", line 548, in execute
File "game/gui/screens.rpy", line 561, in execute
File "game/gui/screens.rpy", line 562, in execute
File "game/gui/screens.rpy", line 1155, in execute
File "game/gui/screens.rpy", line 1157, in execute
File "game/gui/screens.rpy", line 1213, in execute
File "game/gui/screens.rpy", line 1217, in execute
File "game/gui/screens.rpy", line 1248, in execute
File "game/gui/screens.rpy", line 1253, in execute
File "game/gui/screens.rpy", line 1255, in execute
File "game/gui/screens.rpy", line 1255, in <module>
KeyError: 'tr_zenpy'
Windows-10-10.0.26100 AMD64
Ren'Py 8.3.6.25022803
My Demonic Romance - Market 0.19.3
Sun May 25 18:43:32 2025
```