Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Ok this was bizarre and worrisome. An error pop up... while i was trying to save.


[code]

I'm sorry, but an uncaught exception occurred.

While running game code:

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

    $ ui.interact()

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

    $ ui.interact()

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

    renpy.save(fn, extra_info=save_name)

TypeError: cannot pickle 'odict_keys' object (perhaps renpy.game.log.log[61].objects[1][0]._cache['stories'][('all', 1)]['getting_started_male'].steps['eat'].start[0] = odict_keys([]))

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

Full traceback:

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

    $ ui.interact()

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\ast.py", line 1138, in execute

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\python.py", line 1122, in py_exec_bytecode

    exec(bytecode, globals, locals)

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

    $ ui.interact()

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\ui.py", line 299, in interact

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\core.py", line 3582, 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 "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\core.py", line 4543, in interact_core

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\layout.py", line 1179, in event

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\layout.py", line 1179, in event

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\layout.py", line 1179, in event

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\screen.py", line 770, in event

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\layout.py", line 1179, in event

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\layout.py", line 1403, in event

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\layout.py", line 281, in event

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\layout.py", line 1179, in event

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\behavior.py", line 1142, in event

    return handle_click(self.clicked)

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\behavior.py", line 1075, in handle_click

    rv = run(action)

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\behavior.py", line 372, in run

    new_rv = run(i, *args, **kwargs)

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\behavior.py", line 379, in run

    return action(*args, **kwargs)

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

    renpy.save(fn, extra_info=save_name)

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\loadsave.py", line 432, in save

    reraise(t, e, tb)

  File "/home/tom/ab/renpy-build-fix/tmp/install.linux-x86_64/lib/python3.9/site-packages/future/utils/__init__.py", line 444, in raise_

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\loadsave.py", line 413, in save

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\compat\pickle.py", line 103, in dump

    pickle.dump(o, f, pickle.HIGHEST_PROTOCOL if highest else PROTOCOL)

TypeError: cannot pickle 'odict_keys' object (perhaps renpy.game.log.log[61].objects[1][0]._cache['stories'][('all', 1)]['getting_started_male'].steps['eat'].start[0] = odict_keys([]))

Windows-10-10.0.19041 AMD64

Ren'Py 8.1.3.23091805

Love & Sex : Second Base - 23.12.0 23.12.0

Mon Jan 29 02:20:17 2024

[/code]

Did you try to save in the middle of an event? 

It happens sometimes, we're trying to fix this, but it's random so, hard to fix.
Your feedback will add more data to this issue.

Thanks

(1 edit)

Yep, it was when Mike kissed palla for the first time in "Palla discusses the nightclub".

Thanks for telling, and glad to be of help.

Got the same problem again. In a different event with Anna.

[code]

I'm sorry, but an uncaught exception occurred.

While running game code:

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

    $ ui.interact()

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

    $ ui.interact()

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

    renpy.save(fn, extra_info=save_name)

TypeError: cannot pickle 'odict_keys' object (perhaps renpy.game.log.log[109].objects[3][0]._cache['stories'][('all', 1)]['getting_started_male'].steps['eat'].start[0] = odict_keys([]))

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

Full traceback:

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

    $ ui.interact()

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\ast.py", line 1138, in execute

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\python.py", line 1122, in py_exec_bytecode

    exec(bytecode, globals, locals)

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

    $ ui.interact()

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\ui.py", line 299, in interact

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\core.py", line 3582, 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 "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\core.py", line 4543, in interact_core

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\layout.py", line 1179, in event

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\layout.py", line 1179, in event

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\layout.py", line 1179, in event

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\screen.py", line 770, in event

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\layout.py", line 1179, in event

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\layout.py", line 1403, in event

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\layout.py", line 281, in event

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\layout.py", line 1179, in event

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\behavior.py", line 1142, in event

    return handle_click(self.clicked)

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\behavior.py", line 1075, in handle_click

    rv = run(action)

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\behavior.py", line 372, in run

    new_rv = run(i, *args, **kwargs)

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\display\behavior.py", line 379, in run

    return action(*args, **kwargs)

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

    renpy.save(fn, extra_info=save_name)

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\loadsave.py", line 432, in save

    reraise(t, e, tb)

  File "/home/tom/ab/renpy-build-fix/tmp/install.linux-x86_64/lib/python3.9/site-packages/future/utils/__init__.py", line 444, in raise_

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\loadsave.py", line 413, in save

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

  File "C:\Program Files (x86)\Steam\steamapps\common\Love & Sex Second Base\renpy\compat\pickle.py", line 103, in dump

    pickle.dump(o, f, pickle.HIGHEST_PROTOCOL if highest else PROTOCOL)

TypeError: cannot pickle 'odict_keys' object (perhaps renpy.game.log.log[109].objects[3][0]._cache['stories'][('all', 1)]['getting_started_male'].steps['eat'].start[0] = odict_keys([]))

Windows-10-10.0.19041 AMD64

Ren'Py 8.1.3.23091805

Love & Sex : Second Base - 23.12.0 23.12.0

Wed Jan 31 02:19:46 2024

[/code]

I just saw your game version. We pushed fixes in v24.1.x
Can you update to the latest version?

If you still have the issue, I'll dig deeper.

Well thats strange. i play the steam version, and no new updates have been shown on my galery.

Steam says i am fully updated.

During monthly updates, there's usually around one week delay between the monthly release on Patreon/itchio/steam (beta branch) and Gog/steam (main branch), it allow us to push bug fixes.