dash-docs-el / helm-dash

Browse Dash docsets inside emacs
510 stars 59 forks source link

Mac gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly terminated. #24

Closed ksjogo closed 10 years ago

ksjogo commented 10 years ago

I tried to install the Common Lisp and the CoffeeScript docs on Mac OS X 10.8. Both failed with this error message

gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly terminated.

Afterwards calling helm-dash will result in

esqlite--error: esqlite: "unable to open database \"~/.docsets/Common_Lisp.docset/Contents/Resources/docSet.dsidx\": unable to open database file
"
areina commented 10 years ago

Hi @ksjogo.

What is the name of the docset that you have in helm-dash-common-docsets? I guess that you are loading "Common_Lisp" but it should be "Common Lisp". Could you try this change and call helm-dash again, please?

Thanks!

ksjogo commented 10 years ago

This happens with every docset I call from helm-dash-install-docset.

areina commented 10 years ago

This:

gnutls.c: 0 fatal error: The TLS connection was non-properly terminated.

is a error related to docsets url and ssl stuff but it doesn't affect the helm-dash behaviour. Your second error:

esqlite--error: esqlite: "unable to open database \"~/.docsets/Common_Lisp.docset/Contents/Resources/docSet.dsidx\": unable to open database file"

is the problem, but I think that you could solve it changing the name of the Common Lisp docset. You should call helm-dash-reset-connections after that.

deftsp commented 10 years ago

gnutls.c: 0 fatal error: The TLS connection was non-properly terminated. I have this problem too. On OS X 10.9.

I have installed Haskell and Go docset . "~/.docsets/Haskell.docset" is 473M, seems ok. (setq helm-dash-common-docsets '("Go" "Haskell")) M-x helm-dash, type something but nothing show up.

deftsp commented 10 years ago

No. but the file ~/.docsets/Common\ Lisp.docset/Contents/Resources/docSet.dsidx exist. On Jan 17, 2014, at 8:23 AM, Raimon Grau notifications@github.com wrote:

@deftsp , does the file ~/.docsets/Common_Lisp.docset/Contents/Resources/docSet.dsidx exist?

— Reply to this email directly or view it on GitHub.

areina commented 10 years ago

Hi,

please, mac users, could you try to use the 'sqlite-cmd-with-shell-commands' branch?

Thanks!

deftsp commented 10 years ago

I have tried. helm-dash works now.
But gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly terminated. still there.

Thanks.

kidd commented 10 years ago

The error there happens sometimes (don't know the reason), but the file itself is downloaded anyway, so I don't think it's a big issue.... I'd be better if we knew how to fix it, obviously, but not a major issue AFAIK.

Could you confirm that the file gets downloaded for you? (check in ~/.docsets ) Thanks

deftsp commented 10 years ago

Yes, the file was dowloaded successfully.

gavenkoa commented 9 years ago

Have same error on Debian Sid. After some time Emacs crashed.

Updating libgnutls packages fix error:

$ tail /var/log/apt/history.log
Start-Date: 2015-02-19  19:00:54
Upgrade: libgnutls-deb0-28:i386 (3.3.8-3, 3.3.8-5), libgnutls26:i386 (2.12.20-1, 2.12.23-18), libgnutls-openssl27:i386 (2.12.20-1, 3.3.8-5)
End-Date: 2015-02-19  19:01:00
E3D3 commented 9 years ago

Same issue on Manjaro Linux: gnutls.c: 0 fatal error: The TLS connection was non-properly terminated. The files are not downloaded.

Update 4 sept 2015: Issue is solved after an update.