Sorry, I'm a bit new to Ren'py. Do you mean defining something which references itself? Also, I'm running into this one now too. It occurs when I use interactive director for a few minutes, then is fine once I restart the game.
Code: Select all
I'm sorry, but an uncaught exception occurred.
While parsing game/script2.rpy.
File "game/script2.rpy", line 240, in script
m 'Are you kidding? I might be over that stuff, but hot guys are hot guys.'
File "renpy/common/00director.rpy", line 1308, in event
rv = self.child.event(ev, x, y, st)
File "renpy/common/00director.rpy", line 1077, in __call__
update_ast()
File "renpy/common/00director.rpy", line 457, in update_ast
renpy.scriptedit.add_to_ast_before(statement, state.filename, linenumber)
ScriptError: could not find label '(u'game/script2.rpy', 1645167482, 8)'.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script2.rpy", line 240, in script
m 'Are you kidding? I might be over that stuff, but hot guys are hot guys.'
File "renpy/ast.py", line 721, in execute
renpy.exports.say(who, what, *args, **kwargs)
File "renpy/exports.py", line 1419, in say
who(what, *args, **kwargs)
File "renpy/character.py", line 1249, in __call__
self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, **display_args)
File "renpy/character.py", line 901, in do_display
**display_args)
File "renpy/character.py", line 647, in display_say
rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward)
File "renpy/ui.py", line 298, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "renpy/display/core.py", line 3325, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
File "renpy/display/core.py", line 4160, in interact_core
rv = root_widget.event(ev, x, y, 0)
File "renpy/display/layout.py", line 1102, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/layout.py", line 1102, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/layout.py", line 1102, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/screen.py", line 727, in event
rv = self.child.event(ev, x, y, st)
File "renpy/display/layout.py", line 1102, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/common/00director.rpy", line 1308, in event
rv = self.child.event(ev, x, y, st)
File "renpy/display/layout.py", line 1323, in event
rv = super(Window, self).event(ev, x, y, st)
File "renpy/display/layout.py", line 273, in event
rv = d.event(ev, x - xo, y - yo, st)
File "renpy/display/layout.py", line 1102, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/layout.py", line 1102, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/layout.py", line 1323, in event
rv = super(Window, self).event(ev, x, y, st)
File "renpy/display/layout.py", line 273, in event
rv = d.event(ev, x - xo, y - yo, st)
File "renpy/display/layout.py", line 273, in event
rv = d.event(ev, x - xo, y - yo, st)
File "renpy/display/viewport.py", line 299, in event
rv = super(Viewport, self).event(ev, x, y, st)
File "renpy/display/layout.py", line 273, in event
rv = d.event(ev, x - xo, y - yo, st)
File "renpy/display/layout.py", line 1102, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/behavior.py", line 983, in event
return handle_click(self.clicked)
File "renpy/display/behavior.py", line 918, in handle_click
rv = run(action)
File "renpy/display/behavior.py", line 330, in run
return action(*args, **kwargs)
File "renpy/common/00director.rpy", line 1077, in __call__
update_ast()
File "renpy/common/00director.rpy", line 457, in update_ast
renpy.scriptedit.add_to_ast_before(statement, state.filename, linenumber)
File "renpy/scriptedit.py", line 359, in add_to_ast_before
renpy.game.log.replace_node(old, block[0])
File "renpy/python.py", line 1705, in replace_node
i.context.replace_node(old, new)
File "renpy/execution.py", line 334, in replace_one
n = renpy.game.script.lookup(name)
File "renpy/script.py", line 918, in lookup
raise ScriptError("could not find label '%s'." % str(original))
ScriptError: could not find label '(u'game/script2.rpy', 1645167482, 8)'.
Windows-10-10.0.19041
Ren'Py 7.4.11.2266
Heart of Spades 1.0
Fri Feb 18 15:04:41 2022