kyouryuukunn / renpy-ActionEditor3

125 stars 13 forks source link

Legacy gui issue #6

Closed wezuczek closed 2 years ago

wezuczek commented 2 years ago

Every time I try to set values using the old GUI I get this error:

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 1982, in script
  File "game/ActionEditor.rpy", line 2435, in open_action_editor
    renpy.call_screen("_new_action_editor")
  File "game/ActionEditor_screens.rpy", line 629, in execute
    screen _action_editor(tab="camera", layer="master", opened=0, time=0, page=0):
  File "game/ActionEditor_screens.rpy", line 629, in execute
    screen _action_editor(tab="camera", layer="master", opened=0, time=0, page=0):
  File "game/ActionEditor_screens.rpy", line 718, in execute
    frame:
  File "game/ActionEditor_screens.rpy", line 722, in execute
    has vbox
  File "game/ActionEditor_screens.rpy", line 766, in execute
    if tab == "camera":
  File "game/ActionEditor_screens.rpy", line 829, in execute
    for i, (props_set_name, props_set) in enumerate(props_sets):
  File "game/ActionEditor_screens.rpy", line 830, in execute
    if i == opened:
  File "game/ActionEditor_screens.rpy", line 832, in execute
    for p in _viewers.expand_props_set(props_set, (tag, layer), current_scene):
  File "game/ActionEditor_screens.rpy", line 832, in <module>
    for p in _viewers.expand_props_set(props_set, (tag, layer), current_scene):
NameError: name 'tag' is not defined

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

Full traceback:
  File "game/script.rpy", line 1982, in script
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\ast.py", line 921, in execute
    renpy.exports.say(who, what, *args, **kwargs)
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\exports.py", line 1373, in say
    who(what, *args, **kwargs)
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\character.py", line 1266, in __call__
    self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, **display_args)
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\character.py", line 927, in do_display
    display_say(who,
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\character.py", line 666, in display_say
    rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward)
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\ui.py", line 299, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\display\core.py", line 3377, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs) # type: ignore
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\display\core.py", line 4252, in interact_core
    rv = root_widget.event(ev, x, y, 0)
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\display\layout.py", line 1175, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\display\behavior.py", line 476, in event
    rv = run(action)
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\display\behavior.py", line 329, in run
    return action(*args, **kwargs)
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\game.py", line 286, in invoke_in_new_context
    return callable(*args, **kwargs)
  File "game/ActionEditor.rpy", line 2435, in open_action_editor
    renpy.call_screen("_new_action_editor")
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\exports.py", line 3161, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\ui.py", line 299, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\display\core.py", line 3377, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs) # type: ignore
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\display\core.py", line 3804, in interact_core
    root_widget.visit_all(lambda i : i.per_interact())
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\display\core.py", line 582, in visit_all
    d.visit_all(callback, seen)
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\display\core.py", line 582, in visit_all
    d.visit_all(callback, seen)
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\display\core.py", line 582, in visit_all
    d.visit_all(callback, seen)
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\display\screen.py", line 451, in visit_all
    callback(self)
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\display\core.py", line 3804, in <lambda>
    root_widget.visit_all(lambda i : i.per_interact())
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\display\screen.py", line 462, in per_interact
    self.update()
  File "C:\Program Files\renpy-7.4.11-sdk\renpy\display\screen.py", line 653, in update
    self.screen.function(**self.scope)
  File "game/ActionEditor_screens.rpy", line 629, in execute
    screen _action_editor(tab="camera", layer="master", opened=0, time=0, page=0):
  File "game/ActionEditor_screens.rpy", line 629, in execute
    screen _action_editor(tab="camera", layer="master", opened=0, time=0, page=0):
  File "game/ActionEditor_screens.rpy", line 718, in execute
    frame:
  File "game/ActionEditor_screens.rpy", line 722, in execute
    has vbox
  File "game/ActionEditor_screens.rpy", line 766, in execute
    if tab == "camera":
  File "game/ActionEditor_screens.rpy", line 829, in execute
    for i, (props_set_name, props_set) in enumerate(props_sets):
  File "game/ActionEditor_screens.rpy", line 830, in execute
    if i == opened:
  File "game/ActionEditor_screens.rpy", line 832, in execute
    for p in _viewers.expand_props_set(props_set, (tag, layer), current_scene):
  File "game/ActionEditor_screens.rpy", line 832, in <module>
    for p in _viewers.expand_props_set(props_set, (tag, layer), current_scene):
NameError: name 'tag' is not defined

Windows-10-10.0.19043 AMD64
Ren'Py 8.0.1.22070801
Tue Jul 19 18:59:33 2022
kyouryuukunn commented 2 years ago

fixed aeb53b1e40f6475e88079c27231555f7362576f7