View Issue Details

IDCategoryLast Update
0001957Bug Report2019-11-18 15:29
ReporterFootspa 
SeverityminorReproducibilityrandom
Status resolvedResolutionfixed
Summary0001957: Saving File
DescriptionIm about to save my recent file with some low fps/lag after buying gasoline at consum-r

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

While running game code:
  File "renpy/common/00gamemenu.rpy", line 173, in <module>
  File "renpy/common/00action_file.rpy", line 364, in __call__
PicklingError: Can't pickle <type 'weakref'>: it's not found as __builtin__.weakref

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

Full traceback:
  File "00gamemenu.rpyc", line 173, in script
  File "/data/user/0/summer.time.saga/files/renpy/ast.py", line 862, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "/data/user/0/summer.time.saga/files/renpy/python.py", line 1912, in py_exec_bytecode
    exec bytecode in globals, locals
  File "renpy/common/00gamemenu.rpy", line 173, in <module>
  File "/data/user/0/summer.time.saga/files/renpy/ui.py", line 287, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "/data/user/0/summer.time.saga/files/renpy/display/core.py", line 2649, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
  File "/data/user/0/summer.time.saga/files/renpy/display/core.py", line 3451, in interact_core
    rv = root_widget.event(ev, x, y, 0)
  File "/data/user/0/summer.time.saga/files/renpy/display/layout.py", line 992, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "/data/user/0/summer.time.saga/files/renpy/display/layout.py", line 992, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "/data/user/0/summer.time.saga/files/renpy/display/layout.py", line 992, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "/data/user/0/summer.time.saga/files/renpy/display/screen.py", line 697, in event
    rv = self.child.event(ev, x, y, st)
  File "/data/user/0/summer.time.saga/files/renpy/display/layout.py", line 992, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "/data/user/0/summer.time.saga/files/renpy/display/layout.py", line 239, in event
    rv = d.event(ev, x - xo, y - yo, st)
  File "/data/user/0/summer.time.saga/files/renpy/display/layout.py", line 992, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "/data/user/0/summer.time.saga/files/renpy/display/layout.py", line 992, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "/data/user/0/summer.time.saga/files/renpy/display/behavior.py", line 863, in event
    return handle_click(self.clicked)
  File "/data/user/0/summer.time.saga/files/renpy/display/behavior.py", line 841, in handle_click
    rv = run(action)
  File "/data/user/0/summer.time.saga/files/renpy/display/behavior.py", line 308, in run
    new_rv = run(i, *args, **kwargs)
  File "/data/user/0/summer.time.saga/files/renpy/display/behavior.py", line 315, in run
    return action(*args, **kwargs)
  File "renpy/common/00action_file.rpy", line 364, in __call__
  File "/data/user/0/summer.time.saga/files/renpy/loadsave.py", line 402, in save
    dump((roots, renpy.game.log), logf)
  File "/data/user/0/summer.time.saga/files/renpy/loadsave.py", line 48, in dump
    pickle.dump(o, f, pickle.HIGHEST_PROTOCOL)
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 1370, in dump
    Pickler(file, protocol).dump(obj)
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 224, in dump
    self.save(obj)
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 286, in save
    f(self, obj) # Call unbound method with explicit self
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 548, in save_tuple
    save(element)
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 331, in save
    self.save_reduce(obj=obj, *rv)
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 419, in save_reduce
    save(state)
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 286, in save
    f(self, obj) # Call unbound method with explicit self
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 649, in save_dict
    self._batch_setitems(obj.iteritems())
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 681, in _batch_setitems
    save(v)
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 286, in save
    f(self, obj) # Call unbound method with explicit self
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 600, in save_list
    self._batch_appends(iter(obj))
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 633, in _batch_appends
    save(x)
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 331, in save
    self.save_reduce(obj=obj, *rv)
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 419, in save_reduce
    save(state)
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 286, in save
    f(self, obj) # Call unbound method with explicit self
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 649, in save_dict
    self._batch_setitems(obj.iteritems())
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 681, in _batch_setitems
    save(v)
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 286, in save
    f(self, obj) # Call unbound method with explicit self
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 600, in save_list
    self._batch_appends(iter(obj))
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 633, in _batch_appends
    save(x)
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 286, in save
    f(self, obj) # Call unbound method with explicit self
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 548, in save_tuple
    save(element)
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 331, in save
    self.save_reduce(obj=obj, *rv)
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 413, in save_reduce
    self._batch_appends(listitems)
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 633, in _batch_appends
    save(x)
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 331, in save
    self.save_reduce(obj=obj, *rv)
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 396, in save_reduce
    save(cls)
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 286, in save
    f(self, obj) # Call unbound method with explicit self
  File "/data/user/0/summer.time.saga/files/lib/python2.7/pickle.py", line 748, in save_global
    (obj, module, name))
PicklingError: Can't pickle <type 'weakref'>: it's not found as __builtin__.weakref

[/code]
Platform/OSAndroid
Version0.18.6

Activities

Casiope

Casiope

2019-06-06 17:58

updater   ~0002714

When exactly did this bug happen? Could you precise the time of day, and the quest you were doing? Thank you.
Casiope

Casiope

2019-06-08 10:36

updater   ~0002724

I'm not able to reproduce this bug. Need more details on when and where it happens. And having the last save will be appreciated.
mil578

mil578

2019-06-14 23:37

updater   ~0002807

Please update this with a save within the next 3 days. We need examples of this error to try to fix it, and the save file is what we need.
Casiope

Casiope

2019-07-10 15:29

updater   ~0002885

I experienced this bug in Diane's route (with cheat mode), but it's impossible to save (hence the bug) and it's also impossible to reproduce even by repeating each step. It is not linked to a specific object or place. But I was able to fix the bug by changing the location. So I guess loading a new game screen make the bug passed out.
Casiope

Casiope

2019-11-18 15:29

updater   ~0003682

This bug should have been fixed in version 0.19. Feel free to reopen if you experienced it again.

Issue History

Date Modified Username Field Change
2019-06-06 12:55 Footspa New Issue
2019-06-06 17:58 Casiope Note Added: 0002714
2019-06-08 10:36 Casiope Note Added: 0002724
2019-06-14 23:37 mil578 Note Added: 0002807
2019-07-10 15:29 Casiope Note Added: 0002885
2019-11-18 15:29 Casiope Status new => resolved
2019-11-18 15:29 Casiope Resolution open => fixed
2019-11-18 15:29 Casiope Note Added: 0003682