I don't know why this happens. I don't do anything differently, it just shows up. The only way I've found to continue is to uninstall and reinstall renpy again. Then it works, even though all the text and images I use in the new file are the same. I really don't want to have to do this every time, and it just happened again, so is there any way to fix this?I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/00start.rpy", line 81, in script
return
Exception: Could not find return label (u'/Users/j****l*****/Downloads/renpy-6.18.3-sdk 2/A&D/game/script.rpy', 1417824423, 179).
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/common/00start.rpy", line 81, in script
return
File "/Users/j****l****/Downloads/renpy-6.18.3-sdk 2/renpy/ast.py", line 1331, in execute
next_node(renpy.game.context().lookup_return(pop=True))
File "/Users/j****l****/Downloads/renpy-6.18.3-sdk 2/renpy/execution.py", line 391, in lookup_return
raise Exception("Could not find return label {!r}.".format(self.return_stack[-1]))
Exception: Could not find return label (u'/Users/j****l****/Downloads/renpy-6.18.3-sdk 2/A&D/game/script.rpy', 1417824423, 179).
Darwin-10.8.0-i386-64bit
Ren'Py 6.18.3.761
A&D 0.0
Line 81, could not find return label
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.
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.
Line 81, could not find return label
I've just started using ren'py and I feel like I'm getting the hang of it. However, about three different times now, I have saved my Editra script file and this error will pop up when I reload my game.
- 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: Line 81, could not find return label
If it happens again, please send me the game, including the saves directory. I'd like to see what's going on here.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
Re: Line 81, could not find return label
It happens to me all the time too... I just turn it off and come back the next day and it's fine. It's really weird.PyTom wrote:If it happens again, please send me the game, including the saves directory. I'd like to see what's going on here.
-
Nova Alamak
- Regular
- Posts: 71
- Joined: Sun Jun 08, 2014 1:45 pm
- Contact:
Re: Line 81, could not find return label
Having the same problem but it does not go away as the second poster said. I tried making a return statement on other lines in other labels and they worked, so I'm puzzled as to why the particular one I'm having this same error on is any different.
EDIT: On a second look, the exception also doesn't use a folder location that exists on my computer:
tom/ab/renpy etc. is a totally foreign location. Does that mean anything?
EDIT: On a second look, the exception also doesn't use a folder location that exists on my computer:
Code: Select all
Exception: Could not find return label (u'/home/tom/ab/renpy/renpy/common/00console.rpy', 1395985268, 60).Who is online
Users browsing this forum: Google [Bot]