unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: dag via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: "Michael Albinus" <michael.albinus@gmx.de>
Cc: David@debbugs.gnu.org, Greene@debbugs.gnu.org,
	 via@debbugs.gnu.org, Bug@debbugs.gnu.org,
	 reports@debbugs.gnu.org, for@debbugs.gnu.org,
	 GNU@debbugs.gnu.org, Emacs@debbugs.gnu.org,
	46568@debbugs.gnu.org
Subject: bug#46568: 27.1; TRAMP: wrong-argument-type processp: nil on find-file
Date: Thu, 18 Feb 2021 12:20:35 -0600	[thread overview]
Message-ID: <f3584062-ef7c-438b-a6c1-2425cedbab45@victor> (raw)
In-Reply-To: <87tuqbu5px.fsf@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 3978 bytes --]

Hello Michael, emacs -Q does indeed make the problem go away. I eventually tracked it down to this line in my config: (add-to-list 'tramp-remote-path 'tramp-own-remote-path) When I commented that out, things started working, but of course then TRAMP couldn't find some remote executables (git for magit, for example). Curiously, swapping back to emacs 26 and then uncommenting that line kept things working. Which is odd because emacs 26 is where things started going wrong and I had upgraded to emacs 27 to see if it would be fixed. I had previously disabled some small packages in my config that I wasn't really using, but was still seeing failures until the line above was commented out. So I don't think those packages have anything to do with this. It's a mystery, but it's at least working now,
  for unknown reasons. As I noted in th bug report, things just stopped working without any config changes on my end, so I'm not sure what the cause was. Just as mysteriously, they're now working aga

in. David On 2021-02-16 14:18, Michael Albinus <michael.albinus@gmx.de> wrote: > > David Greene via "Bug reports for GNU Emacs, the Swiss army knife of > text editors" <bug-gnu-emacs@gnu.org> writes: > > Hi David, > > > I am getting the above error when doing a find-file in a vterm buffer > > with a remote shell. I have not changed anything recently in my config > > and I don't think the remote host has changed, but can't be sure since I > > don't control it. > > > > I have also seen a message about TRAMP not finding the command to check > > file existance. > > > > I have tried both 26.2 and 27.1 with no change in behavior. Previously > > I had ivy/counsel enabled but even after disabling it the error still > > occurs. > > Does this also happen if you start "emacs -Q"? > > > Here's a (sani
 tized) TRAMP debug log: > > > > backtrace() > > tramp-signal-hook-function(wrong-type-argument ("processp nil")) > > signal(wrong-type-argument ("processp nil")) > > tramp-maybe-open-connection((tra

mp-file-name #("ssh" 0 3 (tramp-default t)) "user" nil "host" nil "/path/user/src/project/README.md" nil)) > > tramp-send-command((tramp-file-name #("ssh" 0 3 (tramp-default t)) "user" nil "host" nil "/path/user/src/project/README.md" nil) "test 0 2>/dev/null; echo tramp_exit_status $?") > > tramp-send-command-and-check((tramp-file-name #("ssh" 0 3 (tramp-default t)) "user" nil "host" nil "/path/user/src/project/README.md" nil) "test 0") > > tramp-get-test-command((tramp-file-name #("ssh" 0 3 (tramp-default t)) "user" nil "host" nil "/path/user/src/project/README.md" nil)) > > tramp-run-test("-d" #("/ssh:user@host:/path/user/src/project/RE..." 1 4 (tramp-default t))) > > tramp-sh-handle-file-directory-p(#("/ssh:user@host:/path/user/src/project/RE..." 1 4 (tramp-default t))) > > apply(tramp
 -sh-handle-file-directory-p #("/ssh:user@host:/path/user/src/project/RE..." 1 4 (tramp-default t))) > > tramp-sh-file-name-handler(file-directory-p #("/ssh:user@host:/path/user/src/project/RE..." 1 

4 (tramp-default t))) > > apply(tramp-sh-file-name-handler file-directory-p #("/ssh:user@host:/path/user/src/project/RE..." 1 4 (tramp-default t))) > > tramp-file-name-handler(file-directory-p #("/ssh:user@host:/path/user/src/project/RE..." 1 4 (tramp-default t))) > > file-directory-p(#("/ssh:user@host:/path/user/src/project/RE..." 1 4 (tramp-default t))) > > find-file-noselect(#("/ssh:user@host:/path/user/src/project/RE..." 1 4 (tramp-default t)) nil nil t) > > find-file(#("/ssh:user@host:/path/user/src/project/RE..." 1 4 (tramp-default t)) t) > > funcall-interactively(find-file #("/ssh:user@host:/path/user/src/project/RE..." 1 4 (tramp-default t)) t) > > call-interactively(find-file nil nil) > > command-execute(find-file) > > That doesn't tell too much. If the test above doesn't help, co
 uld you > please start > > # emacs -Q --eval '(setq tramp-verbose 6)' > > and rerun the test? There will be a Tramp debug buffer; pls show it. > > Best regards, Michael.

[-- Attachment #2: Type: text/html, Size: 4762 bytes --]

  reply	other threads:[~2021-02-18 18:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-16 19:28 bug#46568: 27.1; TRAMP: wrong-argument-type processp: nil on find-file David Greene via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-16 20:18 ` Michael Albinus
2021-02-18 18:20   ` dag via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-02-18 20:51     ` Michael Albinus
2021-02-19 16:00       ` dag via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-02-19 16:55         ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f3584062-ef7c-438b-a6c1-2425cedbab45@victor \
    --to=bug-gnu-emacs@gnu.org \
    --cc=46568@debbugs.gnu.org \
    --cc=Bug@debbugs.gnu.org \
    --cc=David@debbugs.gnu.org \
    --cc=Emacs@debbugs.gnu.org \
    --cc=GNU@debbugs.gnu.org \
    --cc=Greene@debbugs.gnu.org \
    --cc=dag@obbligato.org \
    --cc=for@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    --cc=reports@debbugs.gnu.org \
    --cc=via@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).