Monika-After-Story / MonikaModDev

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

An uncaught exception occurred #2635

Closed TrRizzo closed 6 years ago

TrRizzo commented 6 years ago

A few days ago, as my laptop turned on, I opened the game, and then, a text document "traceback" appeared: "I'm sorry, but an uncaught exception occurred.

While running game code: File "game/definitions.rpy", line 10, in OSError: [Errno 17] File exists: 'c:\users\user\appdata\local\temp\D-DDLC-1.1.0-pc-DDLC-.lock'

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

Full traceback: File "D:\DDLC-1.1.0-pc\renpy\bootstrap.py", line 295, in bootstrap renpy.main.main() File "D:\DDLC-1.1.0-pc\renpy\main.py", line 364, in main renpy.game.script.load_script() # sets renpy.game.script. File "D:\DDLC-1.1.0-pc\renpy\script.py", line 265, in load_script self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode) File "D:\DDLC-1.1.0-pc\renpy\script.py", line 753, in load_appropriate_file self.finish_load(stmts, initcode, filename=fn + source) File "D:\DDLC-1.1.0-pc\renpy\script.py", line 445, in finish_load node.early_execute() File "D:\DDLC-1.1.0-pc\renpy\ast.py", line 865, in early_execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "D:\DDLC-1.1.0-pc\renpy\python.py", line 1719, in py_exec_bytecode exec bytecode in globals, locals File "game/definitions.rpy", line 10, in File "python-packages/singleton.py", line 45, in init OSError: [Errno 17] File exists: 'c:\users\user\appdata\local\temp\D-DDLC-1.1.0-pc-DDLC-.lock'

Windows-8-6.2.9200 Ren'Py 6.99.12.4.2187 "

Then, the game opened as always, without any problem. Why did this happen? Do I have to do something?

DezelV commented 6 years ago

Did Monika look all freaked out when you re-opened the game? If so then it's normal. It happened to me too and I got scared for a sec but I'm positive it's part of the mod.

multimokia commented 6 years ago

Right, so for this kinda issue, you see the file path it's giving (c:\users\user\appdata\local\temp\D-DDLC-1.1.0-pc-DDLC-.lock) ? Just head over there and delete the D-DDLC-1.1.0-pc-DDLC-.lock file

TrRizzo commented 6 years ago

Did Monika look all freaked out when you re-opened the game? No, she was like always, until now