Page 1 of 1

[Solved] Help ! Shift + R (reloading the game) doesn't work

Posted: Wed Jun 09, 2021 1:09 pm
by Elsa Kisiel
Hello,

I often used shift + r in the past, but, for a unknow reason, it doesn't work anymore. I do not remember making any change in the files mentioned in the traceback so I'm really confused.

I hope someone can help !

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00keymap.rpy", line 463, in script
    python hide:
  File "renpy/common/00keymap.rpy", line 463, in <module>
    python hide:
  File "renpy/common/00keymap.rpy", line 482, in _execute_python_hide
    renpy.save("_reload-1", "reload save game")
PicklingError: Can't pickle <class 'store.Skip'>: it's not the same object as store.Skip

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

Full traceback:
  File "renpy/common/00keymap.rpy", line 463, in script
    python hide:
  File "C:\Users\elsak\Desktop\renpy-7.1.3-sdk/renpy/ast.py", line 922, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\elsak\Desktop\renpy-7.1.3-sdk/renpy/python.py", line 2218, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "renpy/common/00keymap.rpy", line 463, in <module>
    python hide:
  File "renpy/common/00keymap.rpy", line 482, in _execute_python_hide
    renpy.save("_reload-1", "reload save game")
  File "C:\Users\elsak\Desktop\renpy-7.1.3-sdk/renpy/loadsave.py", line 415, in save
    reraise(t, e, tb)
  File "C:\Users\elsak\Desktop\renpy-7.1.3-sdk/renpy/loadsave.py", line 401, in save
    dump((roots, renpy.game.log), logf)
  File "C:\Users\elsak\Desktop\renpy-7.1.3-sdk/renpy/loadsave.py", line 49, in dump
    cPickle.dump(o, f, cPickle.HIGHEST_PROTOCOL)
PicklingError: Can't pickle <class 'store.Skip'>: it's not the same object as store.Skip

Windows-10-10.0.19041
Ren'Py 7.4.5.1648
Home Spatial Home 1.0
Wed Jun  9 19:02:36 2021

Re: Help ! Shift + R (reloading the game) doesn't work

Posted: Sat Jun 12, 2021 1:01 pm
by PyTom
My guess is that you named something Skip, and that's conflicting with the Skip class built into Ren'Py.

Re: Help ! Shift + R (reloading the game) doesn't work

Posted: Sat Jun 12, 2021 3:35 pm
by Elsa Kisiel
Ooh ! That was it ! Thank you a lot ! :D