1. Chris Klimas
  2. twinejs
  3. Issues

Issues

Issue #314 new

2.1.0b5 - TypeError: Cannot set property 'id' of undefined

John Tapsell
created an issue

I have placed a static non-twine html file "startingpage.html" in the Documents/Twine/Stories folder. It has nothing to do with Twine, and in Twine 2.0 it's been absolutely fine.

But when I launch the new Twine 2.1.0b5 beta, I immediately get:

TypeError: Cannot set property 'id' of undefined at IMPORT_STORY (chrome-extension://jbeclgngiacjdjjokiegbkjcpibcdcic/twine.js:41:19603) at i.(anonymous function) (chrome-extension://jbeclgngiacjdjjokiegbkjcpibcdcic/twine.js:91:5845) at r.value (chrome-extension://jbeclgngiacjdjjokiegbkjcpibcdcic/twine.js:91:4841) at dispatch (chrome-extension://jbeclgngiacjdjjokiegbkjcpibcdcic/twine.js:91:4102) at importStory (chrome-extension://jbeclgngiacjdjjokiegbkjcpibcdcic/twine.js:9:25334) at chrome-extension://jbeclgngiacjdjjokiegbkjcpibcdcic/twine.js:48:10972 at chrome-extension://jbeclgngiacjdjjokiegbkjcpibcdcic/twine.js:48:10861 at Object.loadAll (chrome-extension://jbeclgngiacjdjjokiegbkjcpibcdcic/twine.js:48:11018) at chrome-extension://jbeclgngiacjdjjokiegbkjcpibcdcic/twine.js:60:31781 at Object.init (chrome-extension://jbeclgngiacjdjjokiegbkjcpibcdcic/twine.js:61:11)

At a guess, I moved the static html file out of the way, and that resolved the problem.

Comments (3)

  1. Chris Klimas repo owner

    Are you comfortable uploading this file?

    If not, could you do a quick text search to see if it contains <tw-storydata> or <tw-passage> anywhere in it? The reason I ask is I tried saving the Google home page's HTML into the Stories folder as an experiment, and I don't get an error message, so I am wondering if there's something specific about this file that's throwing off Twine.

  2. Ferry Bryan Joseph

    This happened to me as well while working on a Twine file. I still don't know why the specific file does not work like the other twine files, after sending it to a different document location which led to the others working fine in both the recent beta and the original twine program, but I assume it was a large file that got corrupted.

  3. Log in to comment