Hi,
unfortunately I think this is probably not a bug, but a configuration
problem. Anyway,
Local Machine: GNU Emacs 20.6.1 (alphaev6-dec-osf4.0e, X toolkit)
Remote Machine: GNU Emacs 20.3.1 (i636-pc-linux-gnu, X toolkit) (Redhat 6.1)
On both machines, I added to .emacs
(add-to-list 'load-path "~/emacs/tramp/lisp/")
(require 'ange-ftp)
(require 'tramp)
(setq tramp-default-method "scp")
from the command line, scp works well both ways.
Using
C-x C-f /r:<USER>@<REMOTE>:~/.emacs
I get the following error message: Wrong type argument: listp, perl:
Debugging output (M-x toggle-debug-on-error) is
Signaling: (wrong-type-argument listp perl:)
tramp-handle-file-attributes-with-perl(nil "scp" "<USER>" "<REMOTE>" "/home" nil)
tramp-handle-file-attributes("/r@scp:<USER>@<REMOTE>:/home")
tramp-handle-file-symlink-p("/r@scp:<USER>@<REMOTE>:/home")
apply(tramp-handle-file-symlink-p "/r@scp:<USER>@<REMOTE>:/home")
tramp-file-name-handler(file-symlink-p "/r@scp:<USER>@<REMOTE>:/home")
file-symlink-p("/r@scp:<USER>@<REMOTE>:/home")
file-truename("/r@scp:<USER>@<REMOTE>:/home" (97) (nil))
file-truename("/r@scp:<USER>@<REMOTE>:/home/<USER>" (97) (nil))
file-truename("/r@scp:<USER>@<REMOTE>:/home/<USER>/.emacs")
apply(file-truename "/r@scp:<USER>@<REMOTE>:/home/<USER>/.emacs")
tramp-run-real-handler(file-truename ("/r@scp:<USER>@<REMOTE>:/home/<USER>/.emacs"))
tramp-file-name-handler(file-truename "/r@scp:<USER>@<REMOTE>:/home/<USER>/.emacs")
file-truename("/r@scp:<USER>@<REMOTE>:/home/<USER>/.emacs")
find-file-noselect("/r:<USER>@<REMOTE>:~/.emacs" nil nil 1)
find-file("/r:<USER>@<REMOTE>:~/.emacs" 1)
call-interactively(find-file)
If I do the same thing from Remote to Local it works perfectly.
Doing it from Host1.Local to Host2.Local, it works perfectly.
Doing it from Host1.Remote to Host2.Remote, it fails with the above
error.
<tab> filecompletion after C-x C-f however works fine in any case.
I tried playing around with different 'tramp-remote-path' settings
(including/excluding the perl path) without any change.
I looked through the tramp mailing list without getting any clue, so
I would appreciate any hints.
Thanks and best wishes,
Alexander
Enter your bug report in this message, including as much detail as you
possibly can about the problem, what you did to cause it and what the local
and remote machines are.
If you can give a simple set of instructions to make this bug happen reliably,
please include those. Thank you for helping kill bugs in TRAMP.
Emacs : GNU Emacs 20.6.1 (alphaev6-dec-osf4.0e, X toolkit)
of Fri Apr 7 2000 on omega.sst.ph.ic.ac.uk
Package: tramp ($Id: tramp.el,v 1.393 2000/06/06 12:58:27 grossjoh Exp $)
current state:
==============
(setq
tramp-ls-command nil
tramp-current-method nil
tramp-current-user nil
tramp-current-host nil
tramp-auto-save-directory nil
tramp-default-method "scp"
tramp-rsh-end-of-line "\n"
tramp-remote-path '("/bin" "/usr/bin" "/usr/sbin")
tramp-login-prompt-regexp ".*ogin: *$"
tramp-password-prompt-regexp "^.*\\([pP]assword\\|passphrase.*\\): ? *$"
tramp-wrong-passwd-regexp "^.*\\(Permission denied.\\|Login [Ii]ncorrect\\|Received
signal [0-9]+\\|Connection \\(refused\\|closed\\)\\|Sorry, try again.\\).*$"
tramp-temp-name-prefix "tramp."
tramp-file-name-structure
'("\\`/r\\(@\\([a-z0-9]+\\)\\)?:\\(\\([a-z0-9_#]+\\)@\\)?\\([a-z0-9.-]+\\):\\(.*\\)\\'"
2 4 5 6)
tramp-file-name-regexp "\\`/r[@:]"
tramp-make-tramp-file-format "/r@%m:%u@%h:%p"
tramp-end-of-output "/////"
shell-prompt-pattern "^[^#$%>\n]*[#$%>] *"
)