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

crash on create new project #44

Closed
fake-fur opened this Issue Sep 6, 2016 · 6 comments

Comments

Projects
None yet
3 participants
@fake-fur
Copy link

fake-fur commented Sep 6, 2016

hi

i git cloned and installed the dependencies on debian stretch running gnome 3.20

every time i try to create a new project the software crashes out with some kind of template error

`Traceback (most recent call last):
File "/home/lauren/manuskript/bin/../manuskript/ui/welcome.py", line 159, in createFile
self.loadDefaultDatas()
File "/home/lauren/manuskript/bin/../manuskript/ui/welcome.py", line 344, in loadDefaultDatas
t = [i for i in self.templates() if i[0] == self.template[0]]
File "/home/lauren/manuskript/bin/../manuskript/ui/welcome.py", line 344, in
t = [i for i in self.templates() if i[0] == self.template[0]]
IndexError: list index out of range
Fatal Python error: Aborted

Current thread 0x00007ffad5fb3700 (most recent call first):
File "/home/lauren/manuskript/bin/../manuskript/main.py", line 72 in launch
File "/home/lauren/manuskript/bin/../manuskript/main.py", line 63 in run
File "./manuskript", line 13 in
Aborted
`

@wmww

This comment has been minimized.

Copy link
Contributor

wmww commented Sep 9, 2016

I'm having the same issue.

@wmww

This comment has been minimized.

Copy link
Contributor

wmww commented Sep 9, 2016

@fake-fur I've figured something out. If you just hit create, or you select a template and then click create it crashes when you save. However, if you double click on a template the UI slightly changes and then it successfully saves without crashing.

before properly selecting template (it will now crash if you try to create and save):

bad

after double clicking on 'Empty fiction' (it will now work):

good

@olivierkes olivierkes added the bug label Sep 21, 2016

@olivierkes olivierkes added this to the 0.4.0 milestone Sep 21, 2016

@olivierkes

This comment has been minimized.

Copy link
Owner

olivierkes commented Sep 21, 2016

Thanks for pointing that. I guess Qt's signals for "activate" work differently on gnome or kde. I need to investigate that.

@olivierkes

This comment has been minimized.

Copy link
Owner

olivierkes commented Sep 21, 2016

Can you try the develop version now?

@wmww

This comment has been minimized.

Copy link
Contributor

wmww commented Sep 21, 2016

@olivierkes I just tested from develop branch. It now works as it should. Single click selects template and it doesn't crash even if you don't select anything. Thanks.

@olivierkes

This comment has been minimized.

Copy link
Owner

olivierkes commented Sep 21, 2016

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.