No module named 'renpy.display.scenelists'
Posted: Fri Apr 19, 2024 9:58 am
Hello,
When attempting to launch the project on Mac through Steam, an error occurs. It doesn't happen immediately, but after the splash screen. On Windows, the project launches and functions normally.
I want to clarify that instead of the main menu, I'm using the following construction:
The idea is that the player plays without saves, and in some cases, they have the option to "exit the game" - in this case, upon the next launch, the game will start from a special label.
How can I fix this?
When attempting to launch the project on Mac through Steam, an error occurs. It doesn't happen immediately, but after the splash screen. On Windows, the project launches and functions normally.
I want to clarify that instead of the main menu, I'm using the following construction:
Code: Select all
label main_menu:
if persistent.story_progress is not None:
if persistent.unlog_label is None:
$ FileLoad (1, confirm = False, page = "auto", newest = True)()
else:
$ Start("re_log")()
$ Start()()
label re_log:
$ act2_loop_visited = persistent.unlog_visited
$ lbl = persistent.unlog_label
$ persistent.unlog_visited = None
$ persistent.unlog_label = None
jump expression lbl
How can I fix this?
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 7, in <module>
File "renpy/common/00action_file.rpy", line 479, in __call__
renpy.load(fn)
ModuleNotFoundError: No module named 'renpy.display.scenelists'
— Full Traceback —----------------------------------------------------------
Full traceback:
File "script.rpyc", line 7, in script
File "/Users/tim/Library/Application Support/Steam/steamapps/common/Altushka dlya skufa/renpy/ast.py", line 1138, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/Users/tim/Library/Application Support/Steam/steamapps/common/Altushka dlya skufa/renpy/python.py", line 1122, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/script.rpy", line 7, in <module>
File "renpy/common/00action_file.rpy", line 479, in __call__
renpy.load(fn)
File "/Users/tim/Library/Application Support/Steam/steamapps/common/Altushka dlya skufa/renpy/loadsave.py", line 815, in load
roots, log = loads(log_data)
File "/Users/tim/Library/Application Support/Steam/steamapps/common/Altushka dlya skufa/renpy/compat/pickle.py", line 100, in loads
return load(io.BytesIO(s))
File "/Users/tim/Library/Application Support/Steam/steamapps/common/Altushka dlya skufa/renpy/compat/pickle.py", line 97, in load
return up.load()
File "/Users/tim/Library/Application Support/Steam/steamapps/common/Altushka dlya skufa/renpy/compat/pickle.py", line 93, in find_class
return super().find_class(module, name)
ModuleNotFoundError: No module named 'renpy.display.scenelists'
macOS-14.3-arm64-arm-64bit arm64
Ren'Py 8.1.3.23091805
Altushka dlya skufa 0.9.4
Fri Apr 19 17:11:31 2024