Please, a litlle help will be really appreciated
The error happens when :
> left click the square in menu to make a regular save.
> click the quick save
> press the quick save shortcut
> Also sometime when the player stay afk but the game is still running
More over, I've notice those kind of line don't work anymore in my game (it was working before):
Now it's now working but this is not triggering the error.
Code: Select all
python:
if not renpy.game.after_rollback:
renpy.loadsave.force_autosave(True)Code: Select all
$ renpy.loadsave.force_autosave(True)This is the error :
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/00action_file.rpy", line 382, in __call__
renpy.save(fn, extra_info=save_name)
Exception: Could not pickle <module 'time' (built-in)>. (perhaps renpy.game.log.log[66].stores[u'store']['time'] = <module 'time' (built-in)>)
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/common/_layout/screen_load_save.rpym", line 35, in script
$ ui.interact()
File "renpy/ast.py", line 928, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 2245, 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 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/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 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 273, in event
rv = d.event(ev, x - xo, y - yo, st)
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/00action_file.rpy", line 382, in __call__
renpy.save(fn, extra_info=save_name)
File "renpy/loadsave.py", line 420, in save
reraise(t, e, tb)
File "renpy/loadsave.py", line 401, in save
dump((roots, renpy.game.log), logf)
File "renpy/loadsave.py", line 49, in dump
cPickle.dump(o, f, cPickle.HIGHEST_PROTOCOL)
File "renpy/python.py", line 2342, in module_pickle
raise Exception("Could not pickle {!r}.".format(module))
Exception: Could not pickle <module 'time' (built-in)>. (perhaps renpy.game.log.log[66].stores[u'store']['time'] = <module 'time' (built-in)>)
Windows-8.1-6.3.9600
Ren'Py 7.4.11.2266
Apocalypse Lovers 1.16
Sat Jul 30 19:21:03 2022
