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

story line feature crashing #620

Closed
mxamber opened this issue Aug 26, 2019 · 12 comments
Closed

story line feature crashing #620

mxamber opened this issue Aug 26, 2019 · 12 comments
Milestone

Comments

@mxamber
Copy link

mxamber commented Aug 26, 2019

I was going to play around with the story line feature but found it blank, despite having multiple plots set up. It merely shows a blank white area at the bottom, touching either the refresh button or the scale slider immediately crashes the program. I found someone describing a similar issue on the website. Upon crash, after I pressed the refresh button, the console printed the following error:

Traceback (most recent call last):
File "manuskript\ui\views\storylineView.py", line 224, in refresh
File "manuskript\ui\views\storylineView.py", line 184, in listItems
File "manuskript\models\eferences.py", line 503, in tooltip
ValueError: expected '}' before end of string

The same happened upon moving the slider, giving the same error. I was using Manuskript 0.9.0. on Windows 7.

@gedakc
Copy link
Collaborator

gedakc commented Aug 26, 2019

Please provide the whole console log including the line where manuskript.exe is started.

Also check the Help -> About menu and provide the Software Versions in Use.

@mxamber
Copy link
Author

mxamber commented Aug 26, 2019

Please provide the whole console log including the line where manuskript.exe is started.

I tried to (manuskript.exe > log_plot.txt) but the resulting log file is empty. The console window closes too fast for me to read what it's saying. Everything prior to the crash reads as follows:

Debug: Web rendering engine used: QWebView
Running manuskript version 0.9.0.
Found translation in settings:
Loaded translation from system locale: manuskript_de_DE.qm.
Loading: path/to/my/project
Detected file format version: 1. Zip: True.
Projekt path/to/my/project geladen.

(the issue with no translation found and it loading default locale is described already in issue #619 )

Also check the Help -> About menu and provide the Software Versions in Use.

  • Manuskript 0.9.0.
  • Python 3.4.4.
  • PyQt 5.5.1
  • Qt 5.5.1

@gedakc
Copy link
Collaborator

gedakc commented Aug 26, 2019

To capture the entire log, open a command prompt, change into the directory containing manuskript.exe, and then run manuskript from there.

One tip for including log output is to enclose all of the lines between a set of three back-quotes:

E.g., ```

@mxamber
Copy link
Author

mxamber commented Aug 26, 2019

Debug: Web rendering engine used: QWebView
Running manuskript version 0.9.0.
Found translation in settings:
Loaded translation from system locale: manuskript_de_DE.qm.
Loading: path/to/project.msk
Detected file format version: 1. Zip: True.
Projekt path/to/project.msk geladen.
Traceback (most recent call last):
  File "manuskript\ui\views\storylineView.py", line 224, in refresh
  File "manuskript\ui\views\storylineView.py", line 184, in listItems
  File "manuskript\models\references.py", line 503, in tooltip
ValueError: expected '}' before end of string```

@gedakc
Copy link
Collaborator

gedakc commented Aug 27, 2019

I have been unable to recreate this issue when working with a project created from the novel template. For testing I used the manuskript-0.9.0-win32.zip package on Windows 7.

It is possible that the problem arises from something specific to your project. If you are open to sharing a copy of your project then that would help with troubleshooting this issue. Alternatively you might try to create a series of steps or a small sample project that also demonstrates the issue.

@mxamber
Copy link
Author

mxamber commented Aug 27, 2019

I opened the book-of-acts demo project that came with Manuskript and could recreate the issue. Same version (0.9.0. win32) as yours.

@gedakc
Copy link
Collaborator

gedakc commented Aug 27, 2019

The book-of-acts demo project opens and displays the storyline when I test.

Manuskript-Book-Of-Acts-Storyline-Window7

There might be something amiss with the Manuskript install on your computer. You might try deleting the Manuskript application (not your project), re-downloading Manuskript, and then re-installing Manuskript to see if that fixes the problem.

@mxamber
Copy link
Author

mxamber commented Aug 27, 2019

There might be something amiss with the Manuskript install on your computer. You might try deleting the Manuskript application (not your project), re-downloading Manuskript, and then re-installing Manuskript to see if that fixes the problem.

Issue persists. I screenrecorded it but for whatever reason YouTube won't finish processing the video :/

@mxamber
Copy link
Author

mxamber commented Aug 27, 2019

@gedakc
Copy link
Collaborator

gedakc commented Aug 27, 2019

Aha! I finally reproduced the crash. The problem appears to be specific to the German translation, and occurred when I set the language to "Deutsch".

When run directly from the git develop branch then the problem does not occur.

We are working towards a 0.10.0 release that will include all of the enhancements currently in the develop branch, but we have some more work to do before it will be ready.

In the meantime, you might consider:

  • Not using the Story line feature yet
  • Selecting a different language translation (removing the manuskript_de.qm and manuskript_de.ts files from the i18n folder to default to English)
  • Run Manuskript from Source Code on Windows and select the develop branch

Please let us know how you make out.

@gedakc gedakc added this to the 0.10.0 milestone Aug 27, 2019
@gedakc
Copy link
Collaborator

gedakc commented Aug 27, 2019

'Labeling this as a duplicate of PR #566.

@gedakc gedakc closed this as completed Aug 27, 2019
@mxamber
Copy link
Author

mxamber commented Aug 28, 2019

In the meantime, you might consider:

  • Not using the Story line feature yet
  • Selecting a different language translation (removing the manuskript_de.qm and manuskript_de.ts files from the i18n folder to default to English)
  • Run Manuskript from Source Code on Windows and select the develop branch

Please let us know how you make out.

I went with not using the story line feature. Since it's to do with the German translation, which I already had another issue with (#619), I decided to just keep things as they are for now.

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

2 participants