--bug report follows this line--

I've tried tu, su, sudu, multiu/telnet/sudo and of all these
connection methods, only tu seems to work.  This is a new (to me)
machine, so it is possible that I'm doing something wacky.

Here is the output after toggle-debug-on-error for one of the failing
methods:

Signaling: (error "Couldn't find exit status of `ls -d /'")
  signal(error ("Couldn't find exit status of `ls -d /'"))
  error("Couldn't find exit status of `%s'" "ls -d /")
  tramp-send-command-and-check(nil "sudu" "nobody" "localhost" "ls -d /")
  tramp-handle-file-exists-p("/r@sudu:nobody@localhost:/")
  tramp-find-file-exists-command(nil "sudu" "nobody" "localhost")
  tramp-post-connection(nil "sudu" "nobody" "localhost")
  tramp-open-connection-su(nil "sudu" "nobody" "localhost")
  tramp-maybe-open-connection(nil "sudu" "nobody" "localhost")
  tramp-send-command(nil "sudu" "nobody" "localhost" "( cd /etc ; echo 
tramp_exit_status $? )")
  tramp-send-command-and-check(nil "sudu" "nobody" "localhost" "cd /etc" t)
  tramp-handle-file-directory-p("/r@sudu:nobody@localhost:/etc")
  apply(tramp-handle-file-directory-p "/r@sudu:nobody@localhost:/etc")
  tramp-file-name-handler(file-directory-p "/r@sudu:nobody@localhost:/etc")
  file-directory-p("/r@sudu:nobody@localhost:/etc")
  find-file-noselect("/r@sudu:nobody@localhost:/etc" nil nil 1)
  find-file("/r@sudu:nobody@localhost:/etc" 1)
* call-interactively(find-file)
  recursive-edit()
  byte-code("Æ!ˆÇÈ ˆÉÇ!ˆpÊËÌ ˆ+ebˆÍ ˆ`ÎÏ!ˆÐyˆ`|ˆÑ ˆ
@Ò>ƒNÓcˆ
@Ô=ƒ«ÕÖÊ\"ˆ×Ð!ˆØcˆÙyˆ‚«
@Ú=ƒsÛcˆ
A@%Ü%p\"ˆÝcˆ×Ð!ˆÞcˆÙyˆ‚«
@ß=ƒŠàcˆÜ
A@p\"ˆÝcˆ‚«
@Ê=ƒ—ácˆ‚«Ü
@Ç=ƒ¤
A‚¥
p\"ˆÝcˆâã!ˆÊÇÊ&âã!ˆŠä ˆ,LJ" [debugger-buffer 
buffer-read-only print-length print-escape-newlines standard-output debugger-args 
pop-to-buffer nil erase-buffer set-buffer-multibyte t 50 backtrace debugger-mode 
search-forward "\n  debug(" 1 debugger-reenable (lambda debug) "Entering:\n" debug 
backtrace-debug 3 delete-char 42 0 exit "Return value: " prin1 10 32 error "Signaling: 
" "Beginning evaluation of function call form:\n" message "" recursive-edit 
debugger-value inhibit-trace] 3)
  debug(error (error "Couldn't find exit status of `ls -d /'"))
  signal(error ("Couldn't find exit status of `ls -d /'"))
  error("Couldn't find exit status of `%s'" "ls -d /")
  tramp-send-command-and-check(nil "sudu" "uucp" "localhost" "ls -d /")
  tramp-handle-file-exists-p("/r@sudu:uucp@localhost:/")
  tramp-find-file-exists-command(nil "sudu" "uucp" "localhost")
  tramp-post-connection(nil "sudu" "uucp" "localhost")
  tramp-open-connection-su(nil "sudu" "uucp" "localhost")
  tramp-maybe-open-connection(nil "sudu" "uucp" "localhost")
  tramp-send-command(nil "sudu" "uucp" "localhost" "( cd /etc ; echo tramp_exit_status 
$? )")
  tramp-send-command-and-check(nil "sudu" "uucp" "localhost" "cd /etc" t)
  tramp-handle-file-directory-p("/r@sudu:uucp@localhost:/etc")
  apply(tramp-handle-file-directory-p "/r@sudu:uucp@localhost:/etc")
  tramp-file-name-handler(file-directory-p "/r@sudu:uucp@localhost:/etc")
  file-directory-p("/r@sudu:uucp@localhost:/etc")
  find-file-noselect("/r@sudu:uucp@localhost:/etc" nil nil 1)
  find-file("/r@sudu:uucp@localhost:/etc" 1)
* call-interactively(find-file)

Here is the output of the debug buffer for one of the failing methods:

[nobody@backup5 /tmp]$ $ exec /bin/sh
$ $ $ foo
bar
$ $ $ $ $ PS1='
/////
'; PS2=''; PS3=''
$ echo ~root
~root
$ test -x /bin/ksh ; echo tramp_exit_status $?
tramp_exit_status 0
$ PS1='$ ' ; exec /bin/ksh
$ $ echo hello
$ ls -d / ; echo tramp_exit_status $?
hello



Emacs  : GNU Emacs 20.7.2 (sparc-sun-solaris2.6, X toolkit)
 of Wed Jan 10 2001 on backup5
Package: tramp ($Id: tramp.el,v 1.436 2000/12/15 23:36:40 grossjoh Exp $)

current state:
==============
(setq
 tramp-ls-command nil
 tramp-test-groks-nt nil
 tramp-file-exists-command nil
 tramp-current-method nil
 tramp-current-user nil
 tramp-current-host nil
 tramp-auto-save-directory nil
 tramp-default-method "rcp"
 tramp-rsh-end-of-line "\n"
 tramp-remote-path '("/bin" "/usr/bin" "/usr/sbin" "/usr/local/bin"
                     "/usr/ccs/bin" "/local/bin" "/local/freeware/bin"
                     "/local/gnu/bin" "/usr/freeware/bin" "/usr/pkg/bin")
 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.\\|Name or 
service not known\\).*$"
 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]*[#$%>] *"
 backup-by-copying nil
 backup-by-copying-when-linked nil
 backup-by-copying-when-mismatch nil
 )

Reply via email to