0 votes
asked by (120 points)

I have trouble with opening my files for Twine 1.4.2. I receive a notification telling me that there is an error opening the file.

Twine Error Traceback (most recent call last)
File "app.py", line 103,in  open
File "pickle.pyo", line 1378, in load
File "pickle.pyo", line 858, in load
KeyError: '\x00'

Can someone help me trying to open the file or retrieve the text? It isn't important if I get the story itself but just the text. I have had several files with this issue occur. Any help is appreciated.

2 Answers

0 votes
answered by (8.6k points)

Hey Steve.  Might be best to submit a bug report for this.


0 votes
answered by (131k points)

As explained in the following two links found on the Old Forums Archive (link in sidebar), that error generally indicates there is a possible corruption in your story project TWS file.

An error occurred while opening your game
Error: story won't open

The articles list some possible solutions, including restoring from either a backup (**) or a generated Story HTML file.

(**) You are creating regular backups of your story project I hope, it is a practice all developers should follow. 

Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.