Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Aci-yt opened this issue May 2, 2018 · 10 comments
Open

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

Aci-yt opened this issue May 2, 2018 · 10 comments

Comments

@Aci-yt
Copy link

Aci-yt commented May 2, 2018

So I unzipped the folder, put all the files into my /game folder and this comes up whenever I launch the game. I tried this on a fresh installation and am pretty sure I did everything correct :/

While running game code:
ScriptError: Name (u'C:\Users\Skull\Desktop\All\Not Games\DDLC Project\project dir\DDLCtVN/game/mod_assets/MonikaSittingExpressions/monika_sitting_expressions.rpy', 1518666830, 0) is defined twice, at game/mod_assets/MonikaSittingExpressions/monika_sitting_expressions.rpy:5 and game/mod_assets/MonikaSittingExpressions/monika_sitting_expressions.rpy:5.

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

Full traceback:
File "I:\Steam\steamapps\common\Doki Doki Literature Club\renpy\bootstrap.py", line 295, in bootstrap
renpy.main.main()
File "I:\Steam\steamapps\common\Doki Doki Literature Club\renpy\main.py", line 364, in main
renpy.game.script.load_script() # sets renpy.game.script.
File "I:\Steam\steamapps\common\Doki Doki Literature Club\renpy\script.py", line 265, in load_script
self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
File "I:\Steam\steamapps\common\Doki Doki Literature Club\renpy\script.py", line 753, in load_appropriate_file
self.finish_load(stmts, initcode, filename=fn + source)
File "I:\Steam\steamapps\common\Doki Doki Literature Club\renpy\script.py", line 419, in finish_load
bad_node.filename, bad_node.linenumber))
ScriptError: Name (u'C:\Users\Skull\Desktop\All\Not Games\DDLC Project\project dir\DDLCtVN/game/mod_assets/MonikaSittingExpressions/monika_sitting_expressions.rpy', 1518666830, 0) is defined twice, at game/mod_assets/MonikaSittingExpressions/monika_sitting_expressions.rpy:5 and game/mod_assets/MonikaSittingExpressions/monika_sitting_expressions.rpy:5.

Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187

Here's a picture of my /game folder:
https://imgur.com/a/5IgXv3C

@Zanther123
Copy link

Zanther123 commented May 8, 2018

Yeah i figured out your problem you put the original files in the game folder which is good but you pulled out the mod assets folder files and put them with the original files. what you need to do is just click and drag all the files from the mod folder into the game folder but do not go into any other folders all you do is just go into the DDLCtVN-master folder and thats it dont touch anything else in the DDLCtVN-master folder all you do is open it and dont do anything else and what you should see is the files of the mod and if you dont and there is just another DDLCtVN-master folder then click into that one and you should see the files. then go to the game folder and just highlight all the mod files into the game folder and that's it nothing else nothing more.

@Aci-yt
Copy link
Author

Aci-yt commented May 9, 2018

Alright, got a different error now :/
Here's the error and my folder:
https://imgur.com/a/2GAeTBh

@Aci-yt
Copy link
Author

Aci-yt commented May 9, 2018

Nevermind, I fixed it by deleting script2.rpy, but now a few minutes into playing this happens:
https://imgur.com/a/AMvKeeQ

@TurtleOverlordIV
Copy link

Welp, this is fun.

Full traceback:
File "lib/windows-i686/mods/script-poemgame.rpyc", line 1, in script
File "C:\Users\anon\Downloads\ddlc-win\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 "C:\Users\anon\Downloads\ddlc-win\DDLC-1.1.1-pc\renpy\python.py", line 1719, in py_exec_bytecode
exec bytecode in globals, locals
File "game/mods/script-poemgame.rpy", line 20, in
with renpy.file('mod_assets/poem-game_words.txt') as wordfile:
File "C:\Users\anon\Downloads\ddlc-win\DDLC-1.1.1-pc\renpy\exports.py", line 1980, in file
return renpy.loader.load(fn)
File "C:\Users\anon\Downloads\ddlc-win\DDLC-1.1.1-pc\renpy\loader.py", line 543, in load
raise IOError("Couldn't find file '%s'." % name)
IOError: Couldn't find file 'mod_assets/poem-game_words.txt'.

Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187

@MrGus47
Copy link

MrGus47 commented May 24, 2018

My problem is this after white the trird poem

I'm sorry, but an uncaught exception occurred.

While running game code:
   File "game / script-poemgame.rpy", line 349, in script
     return
Exception: Could not find return label (u'D: \ Documents \ DDLC \ DDLC / game / script.rpy ', 1475534846, 132).

  • Full Traceback ---------------------------------------------- --------------

Full traceback:
   File "game / script-poemgame.rpy", line 349, in script
     return
   File "C: \ Users \ LuizGustavo \ Desktop \ DDLC-1.1.0-pc \ renpy \ ast.py", line 1376, in execute
     next_node (renpy.game.context (). lookup_return (pop = True))
   File "C: \ Users \ LuizGustavo \ Desktop \ DDLC-1.1.0-pc \ renpy \ execution.py", line 552, in lookup_return
     raise Exception ("Could not find return label {! r}.") (self.return_stack [-1]))
Exception: Could not find return label (u'D: \ Documents \ DDLC \ DDLC / game / script.rpy ', 1475534846, 132).

Windows-7-6.1.7601-SP1
Ren'Py 6.99.12.4.2187
Doki Doki, The Normal VN! 1.4.9

Does anybody know how to solve this? please help me.

@miluxo
Copy link

miluxo commented Jun 13, 2020

I don't know if they are still helping but I have the same problem.

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/chess.rpy", line 394, in script
File "game/chess.rpy", line 456, in
NameError: name 'mas_games' is not defined

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

Full traceback:
File "C:\Users\luisg\OneDrive\Escritorio\ddlce\DDLC-1.1.1-pc - just monika\renpy\bootstrap.py", line 295, in bootstrap
renpy.main.main()
File "C:\Users\luisg\OneDrive\Escritorio\ddlce\DDLC-1.1.1-pc - just monika\renpy\main.py", line 419, in main
game.context().run(node)
File "game/chess.rpy", line 394, in script
File "C:\Users\luisg\OneDrive\Escritorio\ddlce\DDLC-1.1.1-pc - just monika\renpy\ast.py", line 814, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\luisg\OneDrive\Escritorio\ddlce\DDLC-1.1.1-pc - just monika\renpy\python.py", line 1719, in py_exec_bytecode
exec bytecode in globals, locals
File "game/chess.rpy", line 456, in
NameError: name 'mas_games' is not defined

Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187

@ggg007-beep
Copy link

[code]
I'm sorry, but an uncaught exception occurred.

While running game code:
ScriptError: could not find label 'day18_Back_home_kitchen'.

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

Full traceback:
File "script4.rpyc", line 3182, in script
File "C:\Users\HP\Downloads\A_Wife_And_Mother-0.100-pc\AWAM-0.100-pc\1 GAME FOLDER\renpy\ast.py", line 1697, in execute
rv = renpy.game.script.lookup(target)
File "C:\Users\HP\Downloads\A_Wife_And_Mother-0.100-pc\AWAM-0.100-pc\1 GAME FOLDER\renpy\script.py", line 898, in lookup
raise ScriptError("could not find label '%s'." % str(original))
ScriptError: could not find label 'day18_Back_home_kitchen'.

Windows-8-6.2.9200
Ren'Py 7.3.5.606
A Wife And Mother Vers. 0.100 0.100
Sun Sep 27 10:37:49 2020
[/code]

this is my issue is there a fix for this ??

@Zanther123
Copy link

Zanther123 commented Sep 27, 2020 via email

@DeDunot
Copy link

DeDunot commented Apr 28, 2021

anyone know how to solve this? Would really appreciate it.

I'm sorry, but an uncaught exception occurred.

Before loading the script.
error: Error -3 while decompressing data: unknown compression method

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

Full traceback:
File "/Users/RudSars/Desktop/BeingADIK.app/Contents/Resources/autorun/renpy/bootstrap.py", line 314, in bootstrap
renpy.main.main()
File "/Users/RudSars/Desktop/BeingADIK.app/Contents/Resources/autorun/renpy/main.py", line 308, in main
renpy.loader.index_archives()
File "/Users/RudSars/Desktop/BeingADIK.app/Contents/Resources/autorun/renpy/loader.py", line 136, in index_archives
index = loads(f.read().decode("zlib"))
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/encodings/zlib_codec.py", line 43, in zlib_decode
error: Error -3 while decompressing data: unknown compression method

Darwin-19.4.0-x86_64-i386-64bit
Ren'Py 7.3.2.320

Wed Apr 28 11:57:28 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants
@Aci-yt @Zanther123 @TurtleOverlordIV @MrGus47 @miluxo @ggg007-beep @DeDunot and others