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 when there is a leftover docset directory #788

Closed
Hibou57 opened this issue Oct 4, 2017 · 7 comments
Closed

Crash when there is a leftover docset directory #788

Hibou57 opened this issue Oct 4, 2017 · 7 comments

Comments

@Hibou57
Copy link

Hibou57 commented Oct 4, 2017

I updated all installed docsets. The next time I restarted Zeal it was from command line, which allowed me to notice this message:

Could not load docset from '/home/<user>/.local/share/Zeal/Zeal/docsets/Python_3.docset'. Reinstall the docset.

But when I did so, I get this:

[1]    10547 segmentation fault (core dumped)  zeal

Using 0.4.0 on Ubuntu Xenial (16.04) 32 bits.

@Hibou57
Copy link
Author

Hibou57 commented Oct 4, 2017

I checked after removal of the old Python_3.docset directory, I can reinstall it without any crash, so that’s something which was in this directory which made Zeal crash. I made a back-up of that broken directory before removing it : see the attached archive below.

Python_3.docset.tar.gz

@trollixx
Copy link
Member

trollixx commented Oct 5, 2017

I can reproduce the crash, thanks for reporting, and the corrupted directory sample!

@duytrung
Copy link

duytrung commented Oct 5, 2017

I dont know why updating this docset causes error:

image

@trollixx
Copy link
Member

trollixx commented Oct 5, 2017

@duytrung Your problem is unrelated to this ticket, see #775.

@trollixx trollixx added this to the 0.5.0 milestone Oct 7, 2017
@trollixx trollixx changed the title Crash when (re)installing Python 3 docset Crash when there is a leftover docset directory Oct 7, 2017
@bytesnz
Copy link

bytesnz commented Oct 16, 2017

Another corrupted docset if you need it. Have been trying to download docsets over a really bad internet connection, which has lead to a lot of failed downloads and possibly the corrupt docsets (was downloading with an older version of Zeal [0.3,1 from the ubuntu repositories]), which has been a pain with a docset as big as the Javascript one. Might try manually downloading them from the server (https://github.com/Kapeli/feeds has the list of feeds for anyone looking for it) and then putting it in the correct place.

JavaScript.docset_broken.zip

@trollixx
Copy link
Member

@bytesnz thanks! I've narrowed it down, the fix is coming.

@lock
Copy link

lock bot commented Sep 16, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Sep 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

4 participants