[SOLVED] I can't start exe file what i built

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
godlex
Newbie
Posts: 6
Joined: Tue Feb 09, 2021 11:44 pm
Contact:

[SOLVED] I can't start exe file what i built

#1 Post by godlex » Sun Jun 12, 2022 12:22 pm

I built my game. but when i start the game, I faced error bellow

please help me... thanks


I'm sorry, but an uncaught exception occurred.

While running game code:
ScriptError: Name (u'renpy/common/000atl.rpy', 1631219226, 13) is defined twice, at renpy/common/000atl.rpy:25 and /renpy/common/000atl.rpyc:25.

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

Full traceback:
File "renpy/bootstrap.py", line 331, in bootstrap
renpy.main.main()
File "renpy/main.py", line 492, in main
renpy.game.script.load_script() # sets renpy.game.script.
File "renpy/script.py", line 283, in load_script
self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
File "renpy/script.py", line 797, in load_appropriate_file
self.finish_load(stmts, initcode, filename=lastfn)
File "renpy/script.py", line 473, in finish_load
check_name(node)
File "renpy/script.py", line 452, in check_name
bad_node.filename, bad_node.linenumber))
ScriptError: Name (u'renpy/common/000atl.rpy', 1631219226, 13) is defined twice, at renpy/common/000atl.rpy:25 and /renpy/common/000atl.rpyc:25.

Windows-10-10.0.19041
Ren'Py 7.4.11.2266
Eulalia_ 1.0
Mon Jun 13 01:14:51 2022
Last edited by godlex on Sat Jun 18, 2022 11:22 pm, edited 1 time in total.

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: I can't start exe file what i built

#2 Post by PyTom » Sun Jun 12, 2022 7:56 pm

This probablyt means that there is a second copy of Ren'Py inside your game, and that's being packaged, causing this crash.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

godlex
Newbie
Posts: 6
Joined: Tue Feb 09, 2021 11:44 pm
Contact:

Re: I can't start exe file what i built

#3 Post by godlex » Mon Jun 13, 2022 1:33 pm

PyTom wrote:
Sun Jun 12, 2022 7:56 pm
This probablyt means that there is a second copy of Ren'Py inside your game, and that's being packaged, causing this crash.
Sorry.. what is meaning of 'second copy of Ren'Py' ?

I cannot find copy of Ren'Py inside my game.

I attached the image of project structure.
Is it something wrong?
Please help. I can't not understand why occured error.


I'm sorry, but an uncaught exception occurred.




While running game code:
ScriptError: Name (u'renpy/common/000atl.rpy', 1631219226, 13) is defined twice, at renpy/common/000atl.rpy:25 and /renpy/common/000atl.rpyc:25.

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

Full traceback:
File "renpy/bootstrap.py", line 331, in bootstrap
renpy.main.main()
File "renpy/main.py", line 492, in main
renpy.game.script.load_script() # sets renpy.game.script.
File "renpy/script.py", line 283, in load_script
self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
File "renpy/script.py", line 797, in load_appropriate_file
self.finish_load(stmts, initcode, filename=lastfn)
File "renpy/script.py", line 473, in finish_load
check_name(node)
File "renpy/script.py", line 452, in check_name
bad_node.filename, bad_node.linenumber))
ScriptError: Name (u'renpy/common/000atl.rpy', 1631219226, 13) is defined twice, at renpy/common/000atl.rpy:25 and /renpy/common/000atl.rpyc:25.

Windows-10-10.0.19041
Ren'Py 7.4.11.2266
Eulalia_ 1.0
Tue Jun 14 03:51:43 2022

godlex
Newbie
Posts: 6
Joined: Tue Feb 09, 2021 11:44 pm
Contact:

Re: [SOLVED] I can't start exe file what i built

#4 Post by godlex » Sat Jun 18, 2022 11:23 pm

Do not use Underbar in the project name. :(

Post Reply

Who is online

Users browsing this forum: No registered users