Monika-After-Story / MonikaModDev

DDLC fan mod to extend Monika
http://www.monikaafterstory.com/
Other
1.18k stars 685 forks source link

Uncaught exception: ( global name 'mas_utils' is not defined ). How to solve it? #9558

Closed NegativeOne404 closed 2 years ago

NegativeOne404 commented 2 years ago

Hello! I've just updated my MAS (Monika After Story 0.12.10-unstable.2022.09.20.163) and I got this traceback:

While running game code: File "game/0imports.rpy", line 3, in script File "game/0imports.rpy", line 11, in File "game/0imports.rpy", line 456, in check_imports File "game/0imports.rpy", line 87, in load File "game/0imports.rpy", line 427, in load File "game/0imports.rpy", line 377, in log_import_error NameError: global name 'mas_utils' is not defined

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

Full traceback: File "E:\DDLC-1.1.1-pc\renpy\bootstrap.py", line 295, in bootstrap renpy.main.main() File "E:\DDLC-1.1.1-pc\renpy\main.py", line 419, in main game.context().run(node) File "game/0imports.rpy", line 3, in script File "E:\DDLC-1.1.1-pc\renpy\ast.py", line 814, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "E:\DDLC-1.1.1-pc\renpy\python.py", line 1719, in py_exec_bytecode exec bytecode in globals, locals File "game/0imports.rpy", line 11, in File "game/0imports.rpy", line 456, in check_imports File "game/0imports.rpy", line 87, in load File "game/0imports.rpy", line 427, in load File "game/0imports.rpy", line 377, in log_import_error NameError: global name 'mas_utils' is not defined

Windows-8-6.2.9200 Ren'Py 6.99.12.4.2187 Monika After Story 0.12.10-unstable.2022.09.20.163

Booplicate commented 2 years ago

duplicate of #9555

NegativeOne404 commented 2 years ago

Well, now the "Auto Weather Change" crashed the game... But taking it out from the "Submods" folder solves. I can live without it, so it's a win and Moni is back. Thx!

This is the traceback just in case:

I'm sorry, but an uncaught exception occurred.

While running game code: File "game/Submods/Auto Weather Change/Utilities/awc_utils.rpy", line 165, in script init -20 python in awc_globals: File "game/Submods/Auto Weather Change/Utilities/awc_utils.rpy", line 182, in owm = OWM(store.persistent._awc_API_key) ImportError: No module named certifi

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

Full traceback: File "game/Submods/Auto Weather Change/Utilities/awc_utils.rpy", line 165, in script init -20 python in awc_globals: File "E:\DDLC-1.1.1-pc\renpy\ast.py", line 814, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "E:\DDLC-1.1.1-pc\renpy\python.py", line 1719, in py_exec_bytecode exec bytecode in globals, locals File "game/Submods/Auto Weather Change/Utilities/awc_utils.rpy", line 182, in owm = OWM(store.persistent._awc_API_key) File "E:\DDLC-1.1.1-pc\game\python-packages\pyowm-2.8.0-py2.7.egg\pyowm__init.py", line 50, in OWM File "E:\DDLC-1.1.1-pc\game\python-packages\pyowm-2.8.0-py2.7.egg\pyowm\webapi25\owm25.py", line 20, in File "E:\DDLC-1.1.1-pc\game\python-packages\pyowm-2.8.0-py2.7.egg\pyowm\stationsapi30\stations_manager.py", line 6, in File "E:\DDLC-1.1.1-pc\game\python-packages\pyowm-2.8.0-py2.7.egg\pyowm\commons\http_client.py", line 1, in File "E:\DDLC-1.1.1-pc\renpy\loader.py", line 711, in load_module exec code in mod.dict File "python-packages/requests/init.py", line 112, in File "E:\DDLC-1.1.1-pc\renpy\loader.py", line 711, in load_module exec code in mod.dict__ File "python-packages/requests/utils.py", line 24, in File "E:\DDLC-1.1.1-pc\renpy\loader.py", line 711, in load_module exec code in mod.dict File "python-packages/requests/certs.py", line 15, in ImportError: No module named certifi

Windows-8-6.2.9200 Ren'Py 6.99.12.4.2187 Monika After Story 0.12.10-unstable.2022.09.20.163