kyouryuukunn / renpy-ActionEditor3

125 stars 13 forks source link

Error with Action editor when trying to SAVE/LOAD #12

Closed thedozo closed 1 year ago

thedozo commented 1 year ago

I don't have action editor open when I'm trying to save, load or even reload the code, but this error shows up when I do:

[code] I'm sorry, but an uncaught exception occurred.

While running game code: File "renpy/common/00action_file.rpy", line 383, in call renpy.save(fn, extra_info=save_name) AttributeError: Can't pickle local object 'open_action_editor..'

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

Full traceback: File "renpy/common/_layout/screen_load_save.rpym", line 35, in script $ ui.interact() File "D:\renpy-8.0.3-sdk\renpy\ast.py", line 1131, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "D:\renpy-8.0.3-sdk\renpy\python.py", line 1061, in py_exec_bytecode exec(bytecode, globals, locals) File "renpy/common/_layout/screen_load_save.rpym", line 35, in $ ui.interact() File "D:\renpy-8.0.3-sdk\renpy\ui.py", line 299, in interact rv = renpy.game.interface.interact(roll_forward=roll_forward, kwargs) File "D:\renpy-8.0.3-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, pause_modal=pause_modal, kwargs) # type: ignore File "D:\renpy-8.0.3-sdk\renpy\display\core.py", line 4258, in interact_core rv = root_widget.event(ev, x, y, 0) File "D:\renpy-8.0.3-sdk\renpy\display\layout.py", line 1175, in event rv = i.event(ev, x - xo, y - yo, cst) File "D:\renpy-8.0.3-sdk\renpy\display\transition.py", line 53, in event return self.new_widget.event(ev, x, y, st) # E1101 File "D:\renpy-8.0.3-sdk\renpy\display\layout.py", line 1175, in event rv = i.event(ev, x - xo, y - yo, cst) File "D:\renpy-8.0.3-sdk\renpy\display\layout.py", line 1175, in event rv = i.event(ev, x - xo, y - yo, cst) File "D:\renpy-8.0.3-sdk\renpy\display\screen.py", line 743, in event rv = self.child.event(ev, x, y, st) File "D:\renpy-8.0.3-sdk\renpy\display\layout.py", line 1175, in event rv = i.event(ev, x - xo, y - yo, cst) File "D:\renpy-8.0.3-sdk\renpy\display\layout.py", line 1399, in event rv = super(Window, self).event(ev, x, y, st) File "D:\renpy-8.0.3-sdk\renpy\display\layout.py", line 279, in event rv = d.event(ev, x - xo, y - yo, st) File "D:\renpy-8.0.3-sdk\renpy\display\layout.py", line 1175, in event rv = i.event(ev, x - xo, y - yo, cst) File "D:\renpy-8.0.3-sdk\renpy\display\layout.py", line 1175, in event rv = i.event(ev, x - xo, y - yo, cst) File "D:\renpy-8.0.3-sdk\renpy\display\behavior.py", line 1073, in event return handle_click(self.clicked) File "D:\renpy-8.0.3-sdk\renpy\display\behavior.py", line 1008, in handle_click rv = run(action) File "D:\renpy-8.0.3-sdk\renpy\display\behavior.py", line 322, in run new_rv = run(i, *args, *kwargs) File "D:\renpy-8.0.3-sdk\renpy\display\behavior.py", line 329, in run return action(args, **kwargs) File "renpy/common/00action_file.rpy", line 383, in call renpy.save(fn, extra_info=save_name) File "D:\renpy-8.0.3-sdk\renpy\loadsave.py", line 403, in save reraise(t, e, tb) File "/home/tom/ab/renpy-build/tmp/install.linux-x8664/lib/python3.9/site-packages/future/utils/init.py", line 441, in raise File "D:\renpy-8.0.3-sdk\renpy\loadsave.py", line 389, in save dump((roots, renpy.game.log), logf) File "D:\renpy-8.0.3-sdk\renpy\compat\pickle.py", line 103, in dump pickle.dump(o, f, pickle.HIGHEST_PROTOCOL if highest else PROTOCOL) AttributeError: Can't pickle local object 'open_action_editor..'

Windows-10-10.0.15063 AMD64 Ren'Py 8.0.3.22090809 BETA 0.45 Tue Jan 10 09:24:15 2023 [/code]

Any insight?

thedozo commented 1 year ago

I am using Action Editor 3 and Ren'py 8, by the way.

kyouryuukunn commented 1 year ago

I fixed this. https://github.com/kyouryuukunn/renpy-ActionEditor3/releases/tag/231216