[Bug 1530667] Re: Loading pylint.elc causes emacs24 to hang for a VERY LONG TIME at startup
I would guess that this is because pylint.el includes: (require 'tramp) and that this is more a problem with Tramp startup, than with pylint. I've had slow Tramp startup problems in other contexts unrelated to python. Possibly relevant references: https://magit.vc/manual/magit/Emacs-245-hangs-when-loading- Magit.html#Emacs-245-hangs-when-loading-Magit, which includes: > You can work around the problem by setting tramp-ssh-controlmaster- options. Changing your DNS server (e.g. to Google’s 8.8.8.8) may also be sufficient to work around the issue. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20015 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1530667 Title: Loading pylint.elc causes emacs24 to hang for a VERY LONG TIME at startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pylint/+bug/1530667/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1530667] Re: Loading pylint.elc causes emacs24 to hang for a VERY LONG TIME at startup
The workaround proposed in comment #6 does not solve the issue for me on Kubuntu xenial but removing: /etc/site-start.d/50pylint.el lets emacs start any python file instantly without hanging but (of course) with no pylint. This issue for me started out of nowhere, I haven't updated anything for a long time and all of a sudden trying to create a new python file takes forever. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1530667 Title: Loading pylint.elc causes emacs24 to hang for a VERY LONG TIME at startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pylint/+bug/1530667/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1530667] Re: Loading pylint.elc causes emacs24 to hang for a VERY LONG TIME at startup
I had the same issue in xenial and could resolve it. The problem occurs when pylint package was installed before emacs. The postinst script of pylint installs the pylint.el properly only if emacs has been installed. To workaround the problem, reconfigure pylint as: sudo dpkg-reconfigure pylint -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1530667 Title: Loading pylint.elc causes emacs24 to hang for a VERY LONG TIME at startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pylint/+bug/1530667/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1530667] Re: Loading pylint.elc causes emacs24 to hang for a VERY LONG TIME at startup
seeing this as well in xenial (16.04.3) when removing pylint I also see this msg when opening python file in emacs: File mode specification error: (file-error "Cannot open load file" "no such file or directory" "pylint") ... this however does not cause further lag/hang or something -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1530667 Title: Loading pylint.elc causes emacs24 to hang for a VERY LONG TIME at startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pylint/+bug/1530667/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1530667] Re: Loading pylint.elc causes emacs24 to hang for a VERY LONG TIME at startup
Bug is also in xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1530667 Title: Loading pylint.elc causes emacs24 to hang for a VERY LONG TIME at startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pylint/+bug/1530667/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1530667] Re: Loading pylint.elc causes emacs24 to hang for a VERY LONG TIME at startup
** Changed in: pylint (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1530667 Title: Loading pylint.elc causes emacs24 to hang for a VERY LONG TIME at startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pylint/+bug/1530667/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1530667] Re: Loading pylint.elc causes emacs24 to hang for a VERY LONG TIME at startup
I can confirm this bug affects me too on Wily. sudo apt-get remove --purge pylint is enough to get emacs to start up instantly. Whereas sudo apt-get install pylint Hangs for a very long time, and starting emacs after that hangs for a very long time - it shows `Loading pylint...` in the minibuffer while hanging. $ dpkg -l | egrep 'pylint|emacs' ii emacs 46.1 all GNU Emacs editor (metapackage) ii emacs24 24.5+1-1ubuntu2 amd64GNU Emacs editor (with GTK+ GUI support) ii emacs24-bin-common 24.5+1-1ubuntu2 amd64GNU Emacs editor's shared, architecture dependent files ii emacs24-common 24.5+1-1ubuntu2 all GNU Emacs editor's shared, architecture independent infrastructure ii emacs24-common-non-dfsg 24.4+1-2 all GNU Emacs common non-DFSG items, including the core documentation ii emacsen-common 2.0.8 all Common facilities for all emacsen ii maxima-emacs5.36.1-1 all Computer algebra system -- emacs interface ii pylint 1.3.1-3ubuntu1 all Python code static checker and UML diagram generator What I don't understand is that this combo has worked ever since I installed wily, and I haven't updated emacs or pylint for over a month. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1530667 Title: Loading pylint.elc causes emacs24 to hang for a VERY LONG TIME at startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pylint/+bug/1530667/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1530667] Re: Loading pylint.elc causes emacs24 to hang for a VERY LONG TIME at startup
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: pylint (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1530667 Title: Loading pylint.elc causes emacs24 to hang for a VERY LONG TIME at startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pylint/+bug/1530667/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs