all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Buchs, Kevin" <buchs.kevin@mayo.edu>
To: <help-gnu-emacs@gnu.org>
Subject: emacs tramp from Windows via plink - stopped working at version 24.3
Date: Wed, 17 Apr 2013 11:22:32 -0500	[thread overview]
Message-ID: <F326B9A37B353A449FC7A09B36835F82012F51D3@MACE.sppdg.ad> (raw)

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	other threads:[~2013-04-17 16:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-17 16:22 Buchs, Kevin [this message]
2013-04-17 20:56 ` emacs tramp from Windows via plink - stopped working at version 24.3 Michael Albinus
2013-04-17 21:15   ` Buchs, Kevin

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

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

  git send-email \
    --in-reply-to=F326B9A37B353A449FC7A09B36835F82012F51D3@MACE.sppdg.ad \
    --to=buchs.kevin@mayo.edu \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.