-
-
Notifications
You must be signed in to change notification settings - Fork 389
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
Helm is hanging forever on Emacs 24.5.1 on Archlinux and others when loading tramp #1000
Comments
Don't think this is related to helm but to the emacs version builded by Archlinux. |
I ran |
jeroen tiebout notifications@github.com writes:
Perhaps try to reinstall completely helm. Thierry |
It was fixed, no change after reinstall. |
Toggling |
I haven't completely solved the issue, but I have an update: Helm is working, but is taking around 250 seconds for the initial load (I was killing it when it didn't load within 5s). |
FWIW, and I hope this isn't taken as noise, Helm works as expected on Emacs 24.5.1 on Fedora 21. |
Came across a similar problem and in my case it was caused by tramp, which Helm loads. See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20015 (fix: http://lists.gnu.org/archive/html/emacs-diffs/2015-03/msg00137.html) |
@bard Thanks! Tramp timing out on connections seems to be the issue. |
@oppenlander try |
This happens also on Debian, with Emacs 24.5, and also there |
Please report this bug on emacs-bug, as it is a tramp bug not helm. |
I would do that, but I can reproduce this bug only through helm (just issue |
Mosè Giordano notifications@github.com writes:
So turn on tramp-verbose to 6 and look at the tramp debug buffer to see This is not reproductible here on Xubuntu-14.04 (which is similar to Also have you compiled your emacs yourself or using the one bundled by Did you try to reproduce from ./emacs-helm.sh ? Thierry |
In my case, the delay was caused by a VPN client using a different DNS server while trying to solve the host provided by tramp (host.does.not.exist). Mapping host.does.not.exist to 127.0.0.1 fixed the issue for me. |
With the following init file (setq package-enable-at-startup nil)
(package-initialize)
(setq tramp-verbose 6)
(require 'helm)
(require 'helm-config)
(helm-mode 1) Emacs takes 135 seconds to start (source: As suggested by @fvaresi, mapping host.does.not.exist to 127.0.0.1 fixes the issue for me too. For what is worth, before mapping
Actually, I cannot reproduce the problem from another place with a different Internet connection (that's why I delayed replying), I have to check what happens with ping there.
I use the Emacs package provided by Debian repository.
Yes, same very looong startup. |
Ok, I'm persuaded it's a problem with tramp (or my ISP actually): when it tries to evaluate |
In my case, the problem was T-Mobile's DNS. I hate that some companies do this, but they hijack non-existent url's. I was getting a 301 on non-existent hosts. Editing my |
See discussion here: https://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00251.html |
So to resume, to fix this issue, you have to switch to emacs-25 or use the last version of tramp, or modify |
There seems to be an issue between helm and the specific version of emacs used by Arch. This commit adds a patch that should resolve the issue. When Emacs 25 is available we should remove the patch and see if the issue still exists. See: emacs-helm/helm#1000
@giordano You can set the
|
Can someone experimenting this issue could set tramp-verbose to 6 and send here the relevant tramp debug buffer ? Thanks. |
Can someone with some in-depth-knowledge explain to me why (potentially long running) networking runs in the main/ui thread? |
Andreas Bergmeier <notifications@github.com> writes:
Can someone with some in-depth-knowledge explain to me why
(potentially long running) networking runs in the main/ui thread?
Helm is NOT doing or attempting any network connections, but tramp does
to setup its options when loading (which is wrong and had been fixed in
emacs-25.1).
IOW when helm load, it requires tramp which initialize a remote
connection.
Hope that's clear that helm is NOT doing or attempting any network
connections.
…--
Thierry
Gpg Key fingerprint = 6CEC 7081 AB33 E251 4AB8 5FC2 28D1 7F53 59F2 9997
|
Emacs hangs when a helm command is issued until the command is canceled (hitting
C-g
) in Emacs, version 24.5.1, on Archlinux.I've also tried using the
emacs-helm.sh
script, with the same result: Emacs starts, than hangs until I issueC-g
.Installing through MELPA and through the git method in the README results in the same thing.
The text was updated successfully, but these errors were encountered: