irmen / Tale

Interactive fiction (text adventure) and Mud framework
http://tale.readthedocs.io/
GNU Lesser General Public License v3.0
145 stars 35 forks source link

Loading saves in example games causes a stack trace #33

Closed itsbirdseed closed 6 years ago

itsbirdseed commented 6 years ago

Loading a previously saved game gives you an error and dumps you in limbo. It looks like the problem cropped up with 0a78d4a821d7da405bf5335ba3741757f0b593fe.

Here's the stack trace from Zed is Me.

irmen commented 6 years ago

When you say "previously saved game" is that a save game from an older version of Tale, or a savegame you created with the exact same tale version?

itsbirdseed commented 6 years ago

Yes, both latest. It should be reproducible by starting a new game, immediately saving and quitting, and opening and loading again. I originally tried this on my linux machine, so I installed the newest version of python on windows just to be sure and got the same result. Let me know if there's anything else you need to know.

irmen commented 6 years ago

Thanks for the clarification. I'll look into it.

edit: was caused by storing multiple copies of the Player object in the savegame file. This has been fixed