GNU bug report logs -
#42125
Python mode load failing due to some issue with tramp
Previous Next
Reported by: esr <at> thyrsus.com (Eric S. Raymond)
Date: Mon, 29 Jun 2020 14:49:02 UTC
Severity: normal
Tags: moreinfo, unreproducible
Found in version 26.3
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42125 in the body.
You can then email your comments to 42125 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#42125
; Package
emacs
.
(Mon, 29 Jun 2020 14:49:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
esr <at> thyrsus.com (Eric S. Raymond)
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 29 Jun 2020 14:49:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Package: emacs
Version: 26.3
Python mode load is failing due to some issue with tramp. Likely a
loaddefs issue or something similar. To reproduce, simply visit
a file with a .py extension.
Stack trace:
Debugger entered--Lisp error: (void-variable tramp-default-user-alist)
(member x tramp-default-user-alist)
(if (member x tramp-default-user-alist) tramp-default-user-alist (setq tramp-default-user-alist (cons x tramp-default-user-alist)))
(let* ((x (cons (concat "\\`" (regexp-opt (quote ("su" "sudo" "doas" "ksu"))) "\\'") (quote (nil "root"))))) (if (member x tramp-default-user-alist) tramp-default-user-alist (setq tramp-default-user-alist (cons x tramp-default-user-alist))))
eval-buffer(#<buffer *load*-849947> nil "/usr/share/emacs/26.3/lisp/net/tramp-sh.el" nil t) ; Reading at buffer position 15068
load-with-code-conversion("/usr/share/emacs/26.3/lisp/net/tramp-sh.el" "/usr/share/emacs/26.3/lisp/net/tramp-sh.el" nil t)
require(tramp-sh)
eval-buffer(#<buffer *load*> nil "/usr/share/emacs/26.3/lisp/progmodes/python.el" nil t) ; Reading at buffer position 12340
load-with-code-conversion("/usr/share/emacs/26.3/lisp/progmodes/python.el" "/usr/share/emacs/26.3/lisp/progmodes/python.el" nil t)
python-mode()
set-auto-mode-0(python-mode nil)
set-auto-mode()
normal-mode(t)
after-find-file(nil t)
find-file-noselect-1(#<buffer irkerhook.py> "~/WWW/irker/irkerhook.py" nil nil "~/public_html/irker/irkerhook.py" (5771543 66307))
find-file-noselect("~/WWW/irker/irkerhook.py" nil nil t)
find-file("~/WWW/irker/irkerhook.py" t)
funcall-interactively(find-file "~/WWW/irker/irkerhook.py" t)
call-interactively(find-file nil nil)
command-execute(find-file)
There's a workaround: deleting (require 'tramp-sh) from early in
python.el. Of course this disables some remote features.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
-- Benjamin Franklin, Historical Review of Pennsylvania, 1759.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#42125
; Package
emacs
.
(Mon, 29 Jun 2020 15:05:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 42125 <at> debbugs.gnu.org (full text, mbox):
> From: esr <at> thyrsus.com (Eric S. Raymond)
> Date: Mon, 29 Jun 2020 10:48:17 -0400 (EDT)
>
> Package: emacs
> Version: 26.3
>
> Python mode load is failing due to some issue with tramp. Likely a
> loaddefs issue or something similar. To reproduce, simply visit
> a file with a .py extension.
>
> Stack trace:
>
> Debugger entered--Lisp error: (void-variable tramp-default-user-alist)
> (member x tramp-default-user-alist)
I cannot reproduce this, FWIW. Is it possible that some file in your
~/.emacs.d directory (or some other init-related feature) gets in the
way?
P.S. Did you try this in "emacs -Q"?
Added tag(s) unreproducible.
Request was from
Stefan Kangas <stefan <at> marxist.se>
to
control <at> debbugs.gnu.org
.
(Thu, 13 Aug 2020 00:41:03 GMT)
Full text and
rfc822 format available.
Added tag(s) moreinfo.
Request was from
Stefan Kangas <stefan <at> marxist.se>
to
control <at> debbugs.gnu.org
.
(Thu, 13 Aug 2020 16:35:02 GMT)
Full text and
rfc822 format available.
Reply sent
to
Stefan Kangas <stefan <at> marxist.se>
:
You have taken responsibility.
(Sun, 18 Oct 2020 01:40:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
esr <at> thyrsus.com (Eric S. Raymond)
:
bug acknowledged by developer.
(Sun, 18 Oct 2020 01:40:04 GMT)
Full text and
rfc822 format available.
Message #17 received at 42125-done <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: esr <at> thyrsus.com (Eric S. Raymond)
>> Date: Mon, 29 Jun 2020 10:48:17 -0400 (EDT)
>>
>> Package: emacs
>> Version: 26.3
>>
>> Python mode load is failing due to some issue with tramp. Likely a
>> loaddefs issue or something similar. To reproduce, simply visit
>> a file with a .py extension.
>>
>> Stack trace:
>>
>> Debugger entered--Lisp error: (void-variable tramp-default-user-alist)
>> (member x tramp-default-user-alist)
>
> I cannot reproduce this, FWIW. Is it possible that some file in your
> ~/.emacs.d directory (or some other init-related feature) gets in the
> way?
>
> P.S. Did you try this in "emacs -Q"?
More information was requested, but none was given within 15 weeks, so
I'm closing this bug.
If this is still an issue, please reply to this email (use "Reply to
all" in your email client) and we can reopen the bug report.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 15 Nov 2020 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 156 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.