-
Notifications
You must be signed in to change notification settings - Fork 8
Large stories don't always export #10
Comments
Any news ? |
@calebebrim My project's solution has been to switch to the Twison format, which seems to work for larger stories. |
Will improve the tests and try to find out what is going on this weekend. Sorry about that! |
Hey ! do you have any new infos ? :) |
@kevinbravo Have you considered using twinejson-cli? It offers different (simpler) functionality but it is lacking testers. This project is quite old, but pull requests are welcome. I can't work on this issue right now. |
@cauli thank you, I'll try twinejson-cli and let you know. I'll still check it and hope I can use it ! |
@kevinbravo If I added the attributes functionality to |
The true story is that this project is too old and I'm not proud of the code. |
@cauli I'm going to take some time to test my story with twinejson-cli and see if it could work with attributes, but I think it would definitely do the trick :) I'm currently using SwiftyJson (Swift library) and parsing this kind of json: https://api.myjson.com/bins/iu503 I'm building a game which looks like life line (https://itunes.apple.com/app/lifeline/id982354972) Anyway, I use the attributes to say who is writing the messages, if the message is a text, a picture, etc.. also if the message is going to be displayed after specific delay. When the app is in beta, I'll show you, I'm sure you'll be proud about the work we achieved with your script ahah ;)
I understand, I'm still using Twine 2.0.11 for this project. I'll let you know when I tried CLI version. |
@kevinbravo Thanks for sharing this! I really bumps up my motivation to keep creating stuff like this This time I'll try to do a better job :) Would you mind me sending me some sample stories from your application that are not currently working via email ([email protected])? I promise I'll take care to not commit or use any of them. I'll use it just to create similar test cases (w/o any sensitive information) to make sure stories like yours works as expected. |
@cauli no problem, sure, I trust you :) I just sent you an example. You can use it as an example, no sensitive information in it ! |
I'm trying to export a story with 89 passages and 149 links.
With TwineJson installed, I press "Play" and it opens the TwineJson download page. However, the JSON text on the page is blank, and nothing gets downloaded.
It looks like this error is getting raised in the Javascript:
And it looks like this error might occur because we run out of memory: nodejs/node-v0.x-archive#14170
Is there a different route you could take instead of
stringify
? Something that doesn't prevent the file from downloading if it runs out of memory?Also, thanks for developing this!!
The text was updated successfully, but these errors were encountered: