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.
-
felisselita
- Newbie
- Posts: 16
- Joined: Thu Jul 21, 2011 12:26 am
- Completed: "Starstorm", a BL visual novel game
- Tumblr: felisselita
- Deviantart: felisselita
- itch: felis-selita
-
Contact:
#1
Post
by felisselita » Wed Aug 06, 2014 11:26 pm
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 3449, in script
File "game/script.rpy", line 3449, in script
ScriptError: could not find label '(u'C:\\SELMA\\~CAMPURAN~\\renpy-6.17.6-sdk\\Starstorm/game/script.rpy', 1406243234, 17)'.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 3449, in script
File "C:\SELMA\~CAMPURAN~\renpy-6.17.6-sdk\renpy\ast.py", line 1286, in execute
next_node(renpy.game.context().lookup_return(pop=True))
File "game/script.rpy", line 3449, in script
File "C:\SELMA\~CAMPURAN~\renpy-6.17.6-sdk\renpy\script.py", line 549, in lookup
raise ScriptError("could not find label '%s'." % str(label))
ScriptError: could not find label '(u'C:\\SELMA\\~CAMPURAN~\\renpy-6.17.6-sdk\\Starstorm/game/script.rpy', 1406243234, 17)'.
Windows-7-6.1.7601-SP1
Ren'Py 6.17.6.512
Starstorm 0.0
That is the traceback that comes up. Basically I put 'return' in the end of the script, but somehow instead of returning/ending to main menu, this error comes up. I'm sorry if this has been asked before, I really don't know what's the name of this error and have no idea how to look for it here.
Can anyone help me? Thank you very much.

-
Rietr
- Newbie
- Posts: 8
- Joined: Sat Jun 28, 2014 1:15 pm
-
Contact:
#2
Post
by Rietr » Sun Aug 10, 2014 6:09 pm
May I suggest posting (part of) your script?
Without that it's really hard to troubleshoot this problem.
-
xela
- Lemma-Class Veteran
- Posts: 2481
- Joined: Sun Sep 18, 2011 10:13 am
-
Contact:
#3
Post
by xela » Sun Aug 10, 2014 6:25 pm
This usually means that one of your files can no longer be parsed. Delete all .rpyc files and try again, if the error persists, we'll need to see the relevant code..
Like what we're doing? Support us at:

-
felisselita
- Newbie
- Posts: 16
- Joined: Thu Jul 21, 2011 12:26 am
- Completed: "Starstorm", a BL visual novel game
- Tumblr: felisselita
- Deviantart: felisselita
- itch: felis-selita
-
Contact:
#4
Post
by felisselita » Sat Aug 16, 2014 8:16 am
@Rietr and @Xela: Thank you for your help. I also thought of posting the script but it was very long and I didn't know which part to post. But I have tried deleting the .rpyc files and running it again, and now all the code work well. Thank you again for your help, have a nice day

Users browsing this forum: Google [Bot]