City of Broken Dreamers final version save problem

tunahan43

Newbie
Dec 5, 2023
88
33
I'm sorry, but an uncaught exception occurred.

While running game code:
File "renpy/common/00action_file.rpy", line 397, in __call__
renpy.save(fn, extra_info=save_name)
Exception: To be persisted, <Character: u'[pf]'> must support equality comparison.

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

Full traceback:
File "renpy/common/_layout/screen_load_save.rpym", line 35, 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/_layout/screen_load_save.rpym", line 35, 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 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 "renpy/display/core.py", line 4543, in interact_core
rv = root_widget.event(ev, x, y, 0)
File "renpy/display/layout.py", line 1179, 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 1179, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/layout.py", line 1179, 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 1179, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/layout.py", line 1403, in event
rv = super(Window, self).event(ev, x, y, st)
File "renpy/display/layout.py", line 281, in event
rv = d.event(ev, x - xo, y - yo, st)
File "renpy/display/layout.py", line 1179, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/layout.py", line 1403, in event
rv = super(Window, self).event(ev, x, y, st)
File "renpy/display/layout.py", line 281, in event
rv = d.event(ev, x - xo, y - yo, st)
File "renpy/display/layout.py", line 1179, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "renpy/display/layout.py", line 281, in event
rv = d.event(ev, x - xo, y - yo, st)
File "renpy/display/behavior.py", line 1142, in event
return handle_click(self.clicked)
File "renpy/display/behavior.py", line 1075, in handle_click
rv = run(action)
File "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 "renpy/loadsave.py", line 401, in save
renpy.persistent.update()
File "renpy/persistent.py", line 374, in update
need_save = find_changes()
File "renpy/persistent.py", line 184, in find_changes
backup[f] = safe_deepcopy(new)
File "renpy/persistent.py", line 142, in safe_deepcopy
raise Exception("To be persisted, %r must support equality comparison." % o)
Exception: To be persisted, <Character: u'[pf]'> must support equality comparison.

Windows-10-10.0.19041 AMD64
Ren'Py 7.6.3.23091805
City of Broken Dreamers Final
Fri Jul 12 18:05:48 2024
I saved the game 5 or 6 times but then I got this error. I thought it was related to the name, I opened a new save. I used the original names, still the same.
Why does this happen? How can I fix it? Additionally, please tell me what the quick save button is. ?
 
Last edited:

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
11,082
16,522
I saved the game 5 or 6 times but then I got this error. I thought it was related to the name, I opened a new save. I used the original names, still the same.
Why does this happen? How can I fix it? Additionally, please tell me what the quick save button is. ?
Hmmm, ok...

To fix it, do not use the replay, at least not before you finished the chapter 2.

There's a bug there, that change the value of the character. I don't see why it lead to that error but, unless you use some mod, it is the only point that can trigger it.


Edit: Adding a precision.
 
Last edited: