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

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
rebellare
Newbie
Posts: 9
Joined: Mon Nov 06, 2017 9:34 am
Contact:

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

#1 Post by rebellare » Fri Jan 05, 2018 11:27 am

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.

nature1996
Newbie
Posts: 20
Joined: Wed Jun 21, 2017 10:35 am
Contact:

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

#2 Post by nature1996 » 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.

User avatar
Remix
Miko-Class Veteran
Posts: 993
Joined: Tue May 30, 2017 6:10 am
Completed: None... yet (as I'm still looking for an artist)
Projects: An un-named anime based trainer game
Contact:

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

#3 Post by Remix » Mon Jan 08, 2018 11:44 am

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
Mad Scientist Todo List:
  • Finish Improved Event Handler
  • Implement DragonBones animation as a Creator Defined Container
  • Finish Catmull-Rom Spline pathing
  • Finish Bitmask collision and rebound vector system
  • Develop time based building mechanic
  • Others
  • *Find a superb artist and actually write a game*

Post Reply

Who is online

Users browsing this forum: Remix