I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/00action_file.rpy", line 372, in __call__
renpy.save(fn, extra_info=save_name)
PicklingError: Can't pickle <type 'code'>: attribute lookup __builtin__.code failed
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/common/_layout/screen_load_save.rpym", line 35, in script
$ ui.interact()
File "renpy/ast.py", line 908, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 2104, in py_exec_bytecode
exec(bytecode, globals, locals)
File "renpy/common/_layout/screen_load_save.rpym", line 35, in <module>
$ ui.interact()
File "renpy/ui.py", line 298, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "renpy/display/core.py", line 2885, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
File "renpy/display/core.py", line 3679, in interact_core
rv = root_widget.event(ev, x, y, 0)
File "renpy/display/layout.py", line 1004, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/transition.py", line 48, in event
return self.new_widget.event(ev, x, y, st) # E1101
File "renpy/display/layout.py", line 1004, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/layout.py", line 1004, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/screen.py", line 720, in event
rv = self.child.event(ev, x, y, st)
File "renpy/display/layout.py", line 1004, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/layout.py", line 245, in event
rv = d.event(ev, x - xo, y - yo, st)
File "renpy/display/layout.py", line 1004, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/layout.py", line 1004, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/behavior.py", line 969, in event
return handle_click(self.clicked)
File "renpy/display/behavior.py", line 904, in handle_click
rv = run(action)
File "renpy/display/behavior.py", line 316, in run
new_rv = run(i, *args, **kwargs)
File "renpy/display/behavior.py", line 323, in run
return action(*args, **kwargs)
File "renpy/common/00action_file.rpy", line 372, in __call__
renpy.save(fn, extra_info=save_name)
File "renpy/loadsave.py", line 413, in save
reraise(t, e, tb)
File "renpy/loadsave.py", line 399, in save
dump((roots, renpy.game.log), logf)
File "renpy/loadsave.py", line 49, in dump
cPickle.dump(o, f, cPickle.HIGHEST_PROTOCOL)
PicklingError: Can't pickle <type 'code'>: attribute lookup __builtin__.code failed