0 votes
by (120 points)

Sorry, I posted this to GitHub but have gotten no response, so figured I'd bring it here in hopes of getting some help:

"After not using Twine for quite a while, I tried making a new story today only to get the error message:

An error occurred while saving your story.
Traceback (most recent call last):
File "storyframe.pyc", line 811, in save
IOError: [Errno 13] Permission denied: u'/Users/stephenfruchtman/moo?.tws'"

I downloaded 2.3.2 but when i opened it, received this message:
"A JavaScript error occurred in the main process
Uncaught Exception:
Error: Failed to get 'documents"'path
at backup (Applications/Twine.app/Contents/Resources/app.asar/src/electron/story-directory.js8)
at App.app.on (/Applications/Twine.app/Contents/Resources/app.asar/src/electron/index.js:89:2)
at App.emit (events.js:187:15)

Please advise. Thank you very much."

The bug was reported here:  https://github.com/klembot/twinejs/issues/568

Thank you very much.

1 Answer

0 votes
by (159k points)

The "Permission denied" related error is indicating that your Operating System denied the Twine 1.x applicaion access to the moo?.tws file, and there are any number of reasons why your OS would do that.

eg. you were logged in to your OS as a different user; the application wanted 'excusive' access and the file is already open; etc...

I suggest not storing your project files within a folder that is associated with a specific User Account, as this can cause issues if that user's security settings are changed for whatever reason or if you login using a different used account. You may want to create youe own project folder on your local C: drive and store your Twine 1.x project in that location instead.

Based on the error message the name of your project file seems to contain a question mark in it, using such characters in file names associated with programming is generally not a good idea because they can have special meaning. I suggest renaming your project file to moo.tws instead (after you have relocated it to your own folder), and then trying to open that file within the Twine 1.x application.