[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp (2.5.1-pre master/09f17ac4752e18bf834d2f20ceef561cc516d917); t

From: Michael Albinus
Subject: Re: tramp (2.5.1-pre master/09f17ac4752e18bf834d2f20ceef561cc516d917); tramp asks for credentials: sometimes but not always
Date: Thu, 24 Jun 2021 18:50:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Steingold <> writes:

Hi Sam,

> When I edit a remote file using tramp, `compile` works when called directly.
> But when called from `elpy-check`, it asks for credentials (login 
> id/password).
> (
> I load `tramp-sh` as source, set `debug-on-quit` to t and hit C-g when 
> prompted for login:

It looks like elpy-check uses the remote file name in its compilation
call, see

>   start-file-process-shell-command("compilation" #<killed buffer> 
> "~/.virtualenvs/myself/bin/pylint --reports=n /scp\\...")
>   compilation-start("~/.virtualenvs/myself/bin/pylint --reports=n /scp\\..." 
> nil)
>   compile("~/.virtualenvs/myself/bin/pylint --reports=n /scp\\...")
>   elpy-check(nil)
>   funcall-interactively(elpy-check nil)
>   call-interactively(elpy-check nil nil)
>   command-execute(elpy-check)

> I also see a bunch of messages like these:
> File is missing: Setting current directory No such file or directory 
> /scp:fence:/srv/data/home/s/sds/python/
> File is missing: Setting current directory No such file or directory 
> /scp:fence:/srv/data/home/s/sds/

Hmm, no idea what's up here. Could you pls run the test again, with
tramp-verbose set to 10? We'll get backtraces then for every error, in
the Tramp traces.

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]