Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS] Pickled TWS contains improper story format name #185

Open
tmedwards opened this issue Jan 27, 2017 · 1 comment
Open

[macOS] Pickled TWS contains improper story format name #185

tmedwards opened this issue Jan 27, 2017 · 1 comment
Assignees

Comments

@tmedwards
Copy link
Contributor

Under macOS, at least, the story format/header name within the pickled TWS inexplicably ends with .py.

For example:

  • A Windows user installs SugarCube v2 to …\targets\sugarcube-2\. The pickled story format name is, as expected: sugarcube-2.
  • A macOS user installs SugarCube v2 to …/targets/sugarcube-2/. The pickled story format name is, inexplicably: sugarcube-2.py.

This breaks interoperability between OS versions.

ORIGINALLY FROM: Accessing Sugarcube story across Mac and Windows (twinery.org)

@TAG13
Copy link

TAG13 commented Jan 27, 2017

Here are example tws files for anyone to look at. The only difference is line 15, where the Mac version includes the .py extension and the Windows version does not. Simpy opening up the tws file in a text editor and making the appropriate change (depending on the OS) allows the previous problematic tws file to be opened in Twine.

TwineSugarcubeExamles.zip

@webbedspace webbedspace self-assigned this Feb 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants