While running game code:
File "renpy/common/00gamemenu.rpy", line 173, in script
$ ui.interact()
File "renpy/common/00gamemenu.rpy", line 173, in <module>
$ ui.interact()
File "renpy/common/00action_file.rpy", line 372, in __call__
renpy.save(fn, extra_info=save_name)
PicklingError: Can't pickle <type 'code'>: it's not found as __builtin__.code
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/common/00gamemenu.rpy", line 173, in script
$ ui.interact()
File "renpy/ast.py", line 913, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 2111, in py_exec_bytecode
exec(bytecode, globals, locals)
File "renpy/common/00gamemenu.rpy", line 173, 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 2978, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
File "renpy/display/core.py", line 3776, in interact_core
rv = root_widget.event(ev, x, y, 0)
File "renpy/display/layout.py", line 1027, 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 1027, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/layout.py", line 1027, 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 1027, 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 1027, 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 1027, 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/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 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 51, in dump
pickle.dump(o, f, pickle.HIGHEST_PROTOCOL)
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 1376, in dump
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 224, in dump
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 286, in save
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 554, in save_tuple
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 286, in save
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 655, in save_dict
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 687, in _batch_setitems
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 331, in save
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 422, in save_reduce
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 687, in _batch_setitems
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 286, in save
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 655, in save_dict
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 692, in _batch_setitems
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 331, in save
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 425, in save_reduce
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 286, in save
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 655, in save_dict
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 687, in _batch_setitems
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 331, in save
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 425, in save_reduce
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 286, in save
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 655, in save_dict
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 687, in _batch_setitems
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 331, in save
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 425, in save_reduce
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 286, in save
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 655, in save_dict
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 687, in _batch_setitems
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 286, in save
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 606, in save_list
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 639, in _batch_appends
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 331, in save
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 425, in save_reduce
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 286, in save
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 655, in save_dict
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 687, in _batch_setitems
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 331, in save
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 396, in save_reduce
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 286, in save
File "/home/tom/ab/renpy-build/tmp/install.android-x86_64/lib/python2.7/pickle.py", line 754, in save_global
PicklingError: Can't pickle <type 'code'>: it's not found as __builtin__.code