sunaku/dasht

dasht : Error: file is encrypted or is not a database

netei opened this issue · 6 comments

netei commented

After installing the Javascript docset ( dasht-docsets-install javascript)

I get the following error any time I run dasht (the error shows during 20ms, than my browser is launched as expected, but nothing in the Javascript docset can be loaded).

Do you know how I could inspect this ?

netei commented

sqlite3 ~/.local/share/dasht/docsets/JavaScript.docset/Contents/Resources/docSet.dsidx ".tables"

gives :

Error: file is encrypted or is not a database

Do you know where I can contact the person that uploaded that docset, to tell him that it is corrupted ?

netei commented

Yes I tried to remove the docset and install it again.

The size of the file is 339968 bytes

Running :

$ ls -l ~/.local/share/dasht/docsets/JavaScript.docset/Contents/Resources/docSet.dsidx
-rw-r--r-- 1 hipped Domain Users 339968 Apr  4 05:15 /home/ldap/hipped/.local/share/dasht/docsets/JavaScript.docset/Contents/Resources/docSet.dsidx

On Fri, 15 Apr 2016 00:03:02 -0700, netei wrote:

Yes I tried to remove the docset and install it again.

Did you run dasht-docsets-remove -f "^javascript$" to remove it?
Or did you manually delete the extracted docset (which isn't enough)?

Try running these commands to make sure it's reinstalled properly:

dasht-docsets-remove -f "^javascript$"
dasht-docsets-install -f "^javascript$"

The size of the file is 339968 bytes

It's larger (1593344 bytes) and newer (Apr 14 10:13) on my system.

Indeed, it seems fixed now. You can close it now