[Resolved] Exception has occurred in 00start.rpy

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
+lemon+
Newbie
Posts: 1
Joined: Sun Jan 07, 2018 12:45 am
Contact:

[Resolved] Exception has occurred in 00start.rpy

#1 Post by +lemon+ » Sun Jan 07, 2018 1:26 am

I'm new to using Ren'Py, and I encountered this error and I don't understand what I did wrong.
I'm sorry, but an uncaught exception occurred.

While running game code:
File "renpy/common/00start.rpy", line 120, in script
return
Exception: Could not find return label (u'C:\\Users\\Karl\\OneDrive\\Documents\\Project VN/game/script.rpy', 1515302056, 12).

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

Full traceback:
File "renpy/common/00start.rpy", line 120, in script
return
File "C:\Users\Karl\Documents\Coding\renpy-6.99.13-sdk\renpy\ast.py", line 1400, in execute
next_node(renpy.game.context().lookup_return(pop=True))
File "C:\Users\Karl\Documents\Coding\renpy-6.99.13-sdk\renpy\execution.py", line 586, in lookup_return
raise Exception("Could not find return label {!r}.".format(self.return_stack[-1]))
Exception: Could not find return label (u'C:\\Users\\Karl\\OneDrive\\Documents\\Project VN/game/script.rpy', 1515302056, 12).

Windows-8-6.2.9200
Ren'Py 6.99.13.2919
Project VN 1.0
[/code]
Could somebody please explain why this occurred and how to fix it?
Last edited by +lemon+ on Sun Jan 07, 2018 6:09 pm, edited 1 time in total.

User avatar
nature1996
Regular
Posts: 62
Joined: Wed Jun 21, 2017 10:35 am
Contact:

Re: Exception has occurred in 00start.rpy

#2 Post by nature1996 » Sun Jan 07, 2018 2:19 am

I believe this is a general response when ren'py doesn't recognize a line of code. From the error, it is probably from a line in your scrip.rpy, probably from a label call. It is hard to tell without looking at the code itself, but I would look at your label name to make sure they are all the same, and available. There other file in the message are basically where ren'py goes to execute function, at least from what I understand.

Hope that can help
Je parle aussi français

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: Exception has occurred in 00start.rpy

#3 Post by PyTom » Sun Jan 07, 2018 2:22 am

This is similar to the sort of error you'd get if your script has changed to the point Ren'Py can't figure out how to load a save. (Like when you move the place you saved to a a different file or delete the .rpycs.)
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

Post Reply

Who is online

Users browsing this forum: No registered users