Monika-After-Story / MonikaModDev

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

I'm sorry, but an uncaught exception occurred. #5780

Closed RyRyWasTaken closed 4 years ago

RyRyWasTaken commented 4 years ago

when I opened it, it showed me this

I'm sorry, but an uncaught exception occurred.

While running game code: File "game/testcases/Backgrounds/game/dev/test_bwswap.rpy", line 70, in script init -1 python: File "game/testcases/Backgrounds/game/dev/test_bwswap.rpy", line 72, in mas_background_test = MASBackground( NameError: name 'MASBackground' is not defined

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

Full traceback: File "D:\Games\oiubgaerijbagqewVRolkjbgae$RVkjvb nfw4eARJBOLK\steamapps\common\Doki Doki Literature Club\renpy\bootstrap.py", line 295, in bootstrap renpy.main.main() File "D:\Games\oiubgaerijbagqewVRolkjbgae$RVkjvb nfw4eARJBOLK\steamapps\common\Doki Doki Literature Club\renpy\main.py", line 419, in main game.context().run(node) File "game/testcases/Backgrounds/game/dev/test_bwswap.rpy", line 70, in script init -1 python: File "D:\Games\oiubgaerijbagqewVRolkjbgae$RVkjvb nfw4eARJBOLK\steamapps\common\Doki Doki Literature Club\renpy\ast.py", line 814, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "D:\Games\oiubgaerijbagqewVRolkjbgae$RVkjvb nfw4eARJBOLK\steamapps\common\Doki Doki Literature Club\renpy\python.py", line 1719, in py_exec_bytecode exec bytecode in globals, locals File "game/testcases/Backgrounds/game/dev/test_bwswap.rpy", line 72, in mas_background_test = MASBackground( NameError: name 'MASBackground' is not defined

Windows-8-6.2.9200 Ren'Py 6.99.12.4.2187

multimokia commented 4 years ago

Why do you have dev files installed? Especially a test case dev file

RyRyWasTaken commented 4 years ago

Why do you have dev files installed? Especially a test case dev file

wait what do you mean?

multimokia commented 4 years ago
While running game code:
File "game/testcases/Backgrounds/game/dev/test_bwswap.rpy", line 70, in script
init -1 python:
File "game/testcases/Backgrounds/game/dev/test_bwswap.rpy", line 72, in
mas_background_test = MASBackground(
NameError: name 'MASBackground' is not defined

These files are not shipped with the mod by default, nor the standard repository version of the mod. You have to go out of your way to put these into your install.

This leads me to believe you installed the source code version of MAS and copied every folder over.

Can you send a screenshot of your /game folder, please?

RyRyWasTaken commented 4 years ago
While running game code:
File "game/testcases/Backgrounds/game/dev/test_bwswap.rpy", line 70, in script
init -1 python:
File "game/testcases/Backgrounds/game/dev/test_bwswap.rpy", line 72, in
mas_background_test = MASBackground(
NameError: name 'MASBackground' is not defined

These files are not shipped with the mod by default, nor the standard repository version of the mod. You have to go out of your way to put these into your install.

This leads me to believe you installed the source code version of MAS and copied every folder over.

Can you send a screenshot of your /game folder, please?

b262b20daa4ec5660ed0b91ed550cf45

multimokia commented 4 years ago

Yeah you installed the source code. You're going to need to make a new MAS install.

Get a fresh copy of DDLC from here and use this link to get the proper mod.

Extract the contents of that zip to the /game folder of the new DDLC install. You won't need the old one anymore (Also you'll be able to use the in-game updater since it's not in a steam install location)

Additionally, your progress with Monika will not be lost.

RyRyWasTaken commented 4 years ago

now it works 😅 thanks