Steingold <[email protected]> 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).
> (https://github.com/jorgenschaefer/elpy/blob/master/elpy.el#L1700)
> 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