Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(3 edits)

I got this error when I tried to save the game:


I'm sorry, but an uncaught exception occurred.

While running game code:

  File "renpy/common/00gamemenu.rpy", line 170, in script

    $ ui.interact()

  File "renpy/common/00gamemenu.rpy", line 170, in <module>

    $ ui.interact()

  File "renpy/common/00action_file.rpy", line 397, in __call__

    renpy.save(fn, extra_info=save_name)

PicklingError: Can't pickle <class 'store.KonamiListener'>: attribute lookup store.KonamiListener failed

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

Full traceback:

  File "renpy/common/00gamemenu.rpy", line 170, in script

    $ ui.interact()

  File "renpy/ast.py", line 1138, in execute

    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)

  File "renpy/python.py", line 1122, in py_exec_bytecode

    exec(bytecode, globals, locals)

  File "renpy/common/00gamemenu.rpy", line 170, in <module>

    $ ui.interact()

  File "renpy/ui.py", line 299, in interact

    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)

  File "renpy/display/core.py", line 3579, in interact

    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore

  File "renpy/display/core.py", line 4540, in interact_core

    rv = root_widget.event(ev, x, y, 0)

  File "renpy/display/layout.py", line 1177, in event

    rv = i.event(ev, x - xo, y - yo, cst)

  File "renpy/display/transition.py", line 53, in event

    return self.new_widget.event(ev, x, y, st) # E1101

  File "renpy/display/layout.py", line 1177, in event

    rv = i.event(ev, x - xo, y - yo, cst)

  File "renpy/display/layout.py", line 1177, in event

    rv = i.event(ev, x - xo, y - yo, cst)

  File "renpy/display/screen.py", line 770, in event

    rv = self.child.event(ev, x, y, st)

  File "renpy/display/layout.py", line 1177, in event

    rv = i.event(ev, x - xo, y - yo, cst)

  File "renpy/display/layout.py", line 1401, in event

    rv = super(Window, self).event(ev, x, y, st)

  File "renpy/display/layout.py", line 279, in event

    rv = d.event(ev, x - xo, y - yo, st)

  File "renpy/display/layout.py", line 1177, in event

    rv = i.event(ev, x - xo, y - yo, cst)

  File "renpy/display/layout.py", line 1401, in event

    rv = super(Window, self).event(ev, x, y, st)

  File "renpy/display/layout.py", line 279, in event

    rv = d.event(ev, x - xo, y - yo, st)

  File "renpy/display/layout.py", line 1177, in event

    rv = i.event(ev, x - xo, y - yo, cst)

  File "renpy/display/layout.py", line 279, in event

    rv = d.event(ev, x - xo, y - yo, st)

  File "renpy/display/behavior.py", line 1138, in event

    return handle_click(self.clicked)

  File "renpy/display/behavior.py", line 1071, in handle_click

    rv = run(action)

  File "renpy/display/behavior.py", line 375, in run

    return action(*args, **kwargs)

  File "renpy/common/00action_file.rpy", line 397, in __call__

    renpy.save(fn, extra_info=save_name)

  File "renpy/loadsave.py", line 427, in save

    reraise(t, e, tb)

  File "renpy/loadsave.py", line 413, in save

    dump((roots, renpy.game.log), logf)

  File "renpy/compat/pickle.py", line 51, in dump

    cPickle.dump(o, f, PROTOCOL)

PicklingError: Can't pickle <class 'store.KonamiListener'>: attribute lookup store.KonamiListener failed

Windows-10-10.0.19041 AMD64

Ren'Py 7.6.1.23060707

Ikimashou! 7.05

Thu Aug 10 17:39:05 2023

Ah geez, another one… I am familiar with this bug, it stems from the game being unable to save the state of the keybinds.


haven't really gotten a good opportunity to replicate this bug, but thanks for reaffirming that it exists within the code.

will be squashing it soon 🐞

I have to ask, were you able to successfully save the game at any other point in time?  Or was this a hard error and you weren't able to save no matter what? 

Hard error, I wasn’t able to save or quicksave at all

I isolated the bug and removed the "konami listener", thanks for letting me know!

I'll be pushing out a new version of the game with the bugfix. If you're still looking to read further into the story and be able to save your game, feel free to download the new version!  will let you know once it's out.