Hey, does anyone have an error with the save files? i mean when i try to save my game, i get an error "cannot pickle "weckref object".
I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/00action_file.rpy", line 414, in __call__
renpy.save(fn, extra_info=save_name)
TypeError: cannot pickle 'weakref' object
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "v1/scene1.rpyc", line 365, in script
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\ast.py", line 2557, in execute
Say.execute(self)
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\ast.py", line 615, in execute
renpy.exports.say(who, what, *args, **kwargs)
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\exports.py", line 1493, in say
who(what, *args, **kwargs)
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\character.py", line 1391, in __call__
self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, **display_args)
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\character.py", line 1042, in do_display
display_say(who,
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\character.py", line 738, in display_say
rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward)
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\ui.py", line 301, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\display\core.py", line 2165, 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:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\display\core.py", line 3197, in interact_core
rv = root_widget.event(ev, x, y, 0)
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\display\layout.py", line 1202, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\display\layout.py", line 1202, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\display\layout.py", line 1202, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\display\screen.py", line 793, in event
rv = self.child.event(ev, x, y, st)
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\display\layout.py", line 1202, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\display\layout.py", line 1202, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\display\behavior.py", line 1174, in event
return handle_click(self.clicked)
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\display\behavior.py", line 1095, in handle_click
rv = run(action)
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\display\behavior.py", line 388, in run
new_rv = run(i, *args, **kwargs)
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\display\behavior.py", line 395, in run
return action(*args, **kwargs)
File "renpy/common/00action_file.rpy", line 414, in __call__
renpy.save(fn, extra_info=save_name)
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\loadsave.py", line 431, in save
reraise(t, e, tb)
File "lib/python3.9/future/utils/__init__.py", line 444, in raise_
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\loadsave.py", line 417, in save
dump((roots, renpy.game.log), logf)
File "C:\Users\Saul_\OneDrive\Escritorio\CollegeKings2-4.0.0-pc-compressed\CollegeKings2-4.0.0-pc-compressed\renpy\compat\pickle.py", line 103, in dump
pickle.dump(o, f, pickle.HIGHEST_PROTOCOL if highest else PROTOCOL)
TypeError: cannot pickle 'weakref' object