Game fails to detect the start label

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
Nikso
Newbie
Posts: 3
Joined: Thu Feb 13, 2020 4:19 pm
Contact:

Game fails to detect the start label

#1 Post by Nikso »

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00start.rpy", line 282, in script
    python:
ScriptError: could not find label 'start'.
But there is the start label, and it gets picked up, but after building distributions it doesn't.

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Game fails to detect the start label

#2 Post by Imperf3kt »

Your error likely has nothing to do with a missing start label, it's just being picked up as the error, but is unrelated.

What happens when you delete persistent data and force a recompile before trying to launch your game?
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

Nikso
Newbie
Posts: 3
Joined: Thu Feb 13, 2020 4:19 pm
Contact:

Re: Game fails to detect the start label

#3 Post by Nikso »

Still shows the error

User avatar
Alex
Lemma-Class Veteran
Posts: 3093
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Game fails to detect the start label

#4 Post by Alex »

In what script file you have this 'start' label? Are you sure this file is in your distribution?
If game works fine from launcher, try to rebuild distribution.

Nikso
Newbie
Posts: 3
Joined: Thu Feb 13, 2020 4:19 pm
Contact:

Re: Game fails to detect the start label

#5 Post by Nikso »

Could it be the rpa files what is messing with the build?

User avatar
Remix
Eileen-Class Veteran
Posts: 1628
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: Game fails to detect the start label

#6 Post by Remix »

Depends if you are telling the rpa archives to not include the file with label start: in it...
What archiving settings are you using?
Frameworks & Scriptlets:

User avatar
Alex
Lemma-Class Veteran
Posts: 3093
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Game fails to detect the start label

#7 Post by Alex »

Check the archive options in options.rpy to see what files are archived and what are not. This might be that your script file with start label not included in distribution somehow... Or I don't know what else...
(edit: I'm sloooow...)

Post Reply

Who is online

Users browsing this forum: Bing [Bot], decocloud, Google [Bot]