"Could not find return label" error on reloading
Posted: Tue Oct 14, 2014 4:33 pm
Okay... so if I change text in a say statement like so:
to
...And save it, sometimes it doesn't reload automatically. When this happens and I press shift-R to reload it, I get this:
It seems to happen only after I update text, but it doesn't happen every time... and it occasionally happens with an autoreload. It doesn't appear to happen with images, even though I reload many more times when tweaking LiveComposites. When it comes up, the only option seems to be to close out and launch again.
Anyone know what this is about? The return label is definitely there, a few lines down...
Thanks!
Code: Select all
nar "Lorem ipsum blah blah blah"
Code: Select all
nar "Something else here."
Code: Select all
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'\Sun Labyrinth(OL)\\TESTS/game/script.rpy', 1413316876, 6).
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/common/00start.rpy", line 81, in script
return
File "\Desktop\renpy-6.18.2-sdk\renpy\ast.py", line 1328, in execute
next_node(renpy.game.context().lookup_return(pop=True))
File "\Desktop\renpy-6.18.2-sdk\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'\Sun Labyrinth(OL)\\TESTS/game/script.rpy', 1413316876, 6).
Windows-7-6.1.7601-SP1
Ren'Py 6.18.2.729
TESTS 0.0
Anyone know what this is about? The return label is definitely there, a few lines down...
Thanks!