Page 1 of 1

Uncaught exception occured (000atl defined twice) HELP PLS!

Posted: Fri Jan 05, 2018 11:27 am
by rebellare
I've been browsing for a solution for over an hour and nothing. Can someone please just say what is happening here. Everything I tried just resulted the same way.
Heres the rundown:
I'm sorry, but an uncaught exception occurred.

While running game code:
ScriptError: Name (u'/home/tom/ab/renpy/renpy/common/000atl.rpy', 1480466919, 25) is defined twice, at renpy/common/000atl.rpy:25 and renpy/common/000atl.rpy:25.

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

Full traceback:
File "D:\RENPY Deploy\My_Sister_Mia_RENPY-Early_Access_v0.1-dists\My_Sister_Mia_RENPY-Early_Access_v0.1-win\renpy\bootstrap.py", line 295, in bootstrap
renpy.main.main()
File "D:\RENPY Deploy\My_Sister_Mia_RENPY-Early_Access_v0.1-dists\My_Sister_Mia_RENPY-Early_Access_v0.1-win\renpy\main.py", line 364, in main
renpy.game.script.load_script() # sets renpy.game.script.
File "D:\RENPY Deploy\My_Sister_Mia_RENPY-Early_Access_v0.1-dists\My_Sister_Mia_RENPY-Early_Access_v0.1-win\renpy\script.py", line 265, in load_script
self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
File "D:\RENPY Deploy\My_Sister_Mia_RENPY-Early_Access_v0.1-dists\My_Sister_Mia_RENPY-Early_Access_v0.1-win\renpy\script.py", line 753, in load_appropriate_file
self.finish_load(stmts, initcode, filename=fn + source)
File "D:\RENPY Deploy\My_Sister_Mia_RENPY-Early_Access_v0.1-dists\My_Sister_Mia_RENPY-Early_Access_v0.1-win\renpy\script.py", line 419, in finish_load
bad_node.filename, bad_node.linenumber))
ScriptError: Name (u'/home/tom/ab/renpy/renpy/common/000atl.rpy', 1480466919, 25) is defined twice, at renpy/common/000atl.rpy:25 and renpy/common/000atl.rpy:25.

Re: Uncaught exception occured (000atl defined twice) HELP PLS!

Posted: Mon Jan 08, 2018 3:49 am
by nature1996
I have a question: why are all your file in python, and not in ren'py (in .py rather than in .rpy for your script and .rpyc for the compiled executable)?

If this is not voluntary, then it could explain why ren'py doesn't know what to do with the function in the file, especially if you used ren'py function, which doesn't work in python.

Re: Uncaught exception occured (000atl defined twice) HELP PLS!

Posted: Mon Jan 08, 2018 11:44 am
by Remix
nature1996 wrote:
Mon Jan 08, 2018 3:49 am
I have a question: why are all your file in python, and not in ren'py (in .py rather than in .rpy for your script and .rpyc for the compiled executable)?

If this is not voluntary, then it could explain why ren'py doesn't know what to do with the function in the file, especially if you used ren'py function, which doesn't work in python.
Different script file... the one his error references is the python file in the ren'py source.

As to the error, it might be similar to the Exception has occurred in 00start.rpy one which was resolved by deleting any compiled files ( the .rpyc and .pyc ) before the build.
Failing that, perhaps check that you have not redefined _warper or _warpers anywhere in the script