help-gnu-emacs
[Top][All Lists]
Advanced

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

emacs tramp from Windows via plink - stopped working at version 24.3


From: Buchs, Kevin
Subject: emacs tramp from Windows via plink - stopped working at version 24.3
Date: Wed, 17 Apr 2013 11:22:32 -0500

I just had started making use of tramp for editing of remote files from
my MS Windows machine and then I upgraded emacs to 24.3 and it stopped
working. The ultimate message delivered when trying to open a file is:
"Couldn't find a proper `ls' command". This stackoverflow question
(http://stackoverflow.com/questions/15540223/emacs-24-3-for-windows-tram
p-byte-code-couldnt-find-a-proper-ls-command) addresses it, but it seems
the best answer given is to upgrade tramp. I was under the impression
that tramp was integrated with emacs. It seems there is a problem with
the insertion of a Windows drive letter into the remote file path.

I (setq tramp-verbose 10) and tried to open /home/user/iter.sh. Here is
the last section of the debug output (the full output is available upon
request):

11:02:22.316000 tramp-get-connection-property (7) # process-buffer nil
11:02:22.317000 tramp-set-file-property (8) # c:/home/user/iter.sh
file-directory-p nil
11:02:22.317000 tramp-get-file-property (8) # c:/home/user/iter.sh
file-truename undef
11:02:22.318000 tramp-sh-handle-file-truename (4) # Finding true name
for `/plink:user@machine:c:/home/user/iter.sh'
11:02:22.318000 tramp-get-connection-property (7) # readlink nil
11:02:22.318000 tramp-get-connection-property (7) # perl nil
11:02:22.318000 tramp-sh-handle-file-truename (5) # Check /c:
11:02:22.318000 tramp-get-file-property (8) # c:/c:
file-attributes-integer undef
11:02:22.319000 tramp-get-connection-property (7) # stat nil
11:02:22.319000 tramp-get-connection-property (7) # perl nil
11:02:22.319000 tramp-do-file-attributes-with-ls (5) # file attributes
with ls: c:/c:
11:02:22.319000 tramp-get-connection-property (7) # file-exists test -e
11:02:22.319000 tramp-get-connection-property (7) # test test
11:02:22.319000 tramp-get-connection-property (7) # ls undef
11:02:22.319000 tramp-get-ls-command (5) # Finding a suitable `ls'
command
11:02:22.320000 tramp-get-connection-property (7) # remote-path nil
11:02:22.320000 tramp-get-connection-property (7) # remote-path nil
11:02:22.320000 tramp-get-connection-property (7) # remote-path nil
11:02:22.320000 tramp-get-ls-command (1) # File error: Couldn't find a
proper `ls' command

The last comment at stackoverflow asks about filing a bug report.
Perhaps this has already been done.

Kevin Buchs | Senior Engineer | SPPDG | 507-538-5459 |
buchs.kevin@mayo.edu
Mayo Clinic | 200 First Street SW | Rochester, MN 55905 |
http://www.mayo.edu



reply via email to

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