I'm sorry, but an uncaught exception occurred.

irawaltrip

New Member
Feb 16, 2019
2
0
I'm sorry, but an uncaught exception occurred.

While running game code:
ScriptError: Name (u'D:\\MEGAsync Downloads\\badbobbysaga-0.11a-pc/game/D.S.Mod_v0.3.1_Bad Brother Saga.rpy', 1546706760, 0) is defined twice, at game/226984_D.S.Mod_v0.3.1_Bad_Brother_Saga (3).rpyc:8 and game/226984_D.S.Mod_v0.3.1_Bad_Brother_Saga (6).rpyc:8.

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

Full traceback:
File "C:\Users\Ira\Downloads\badbobbysaga-010-pc\badbobbysaga-0.10-pc\renpy\bootstrap.py", line 306, in bootstrap
renpy.main.main()
File "C:\Users\Ira\Downloads\badbobbysaga-010-pc\badbobbysaga-0.10-pc\renpy\main.py", line 357, in main
renpy.game.script.load_script() # sets renpy.game.script.
File "C:\Users\Ira\Downloads\badbobbysaga-010-pc\badbobbysaga-0.10-pc\renpy\script.py", line 266, in load_script
self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
File "C:\Users\Ira\Downloads\badbobbysaga-010-pc\badbobbysaga-0.10-pc\renpy\script.py", line 757, in load_appropriate_file
self.finish_load(stmts, initcode, filename=lastfn)
File "C:\Users\Ira\Downloads\badbobbysaga-010-pc\badbobbysaga-0.10-pc\renpy\script.py", line 423, in finish_load
bad_node.filename, bad_node.linenumber))
ScriptError: Name (u'D:\\MEGAsync Downloads\\badbobbysaga-0.11a-pc/game/D.S.Mod_v0.3.1_Bad Brother Saga.rpy', 1546706760, 0) is defined twice, at game/226984_D.S.Mod_v0.3.1_Bad_Brother_Saga (3).rpyc:8 and game/226984_D.S.Mod_v0.3.1_Bad_Brother_Saga (6).rpyc:8.

Windows-8-6.2.9200
Ren'Py 6.99.14.3.3347

Tue Feb 19 09:21:04 2019
 

Porcus Dev

Engaged Member
Game Developer
Oct 12, 2017
2,582
4,705
Seems that you have two files:

226984_D.S.Mod_v0.3.1_Bad_Brother_Saga (3)
and
226984_D.S.Mod_v0.3.1_Bad_Brother_Saga (6)

And some variable is duplicated in these files... and seems that you can have multiples copies of the same files (renamed as (1), (2), (3), etc...)

If you have the "normal" file, I supose its called: 226984_D.S.Mod_v0.3.1_Bad_Brother_Saga, keep it and delete the others with the numbers at the end and try to run the game.

If you only have these two files (...(3) and ...(6)), delete one or change the extension (from .rpyc to .tpycback, for exemple), and try.