From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: sunway Newsgroups: gmane.emacs.help Subject: Re: error when using tramp Date: Wed, 28 May 2008 00:50:23 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <5c1d39d4-9035-477f-8615-641c15a4889c@g16g2000pri.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1211964132 22192 80.91.229.12 (28 May 2008 08:42:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 May 2008 08:42:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 28 10:42:43 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K1HEx-0006hZ-7J for geh-help-gnu-emacs@m.gmane.org; Wed, 28 May 2008 10:42:35 +0200 Original-Received: from localhost ([127.0.0.1]:55172 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1HEB-0003mW-UO for geh-help-gnu-emacs@m.gmane.org; Wed, 28 May 2008 04:41:47 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!l17g2000pri.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 147 Original-NNTP-Posting-Host: 123.127.134.57 Original-X-Trace: posting.google.com 1211961024 13934 127.0.0.1 (28 May 2008 07:50:24 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 28 May 2008 07:50:24 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l17g2000pri.googlegroups.com; posting-host=123.127.134.57; posting-account=ngAdqwoAAAA0uK1OfC15kE5UvDiCOvxy User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.27 (X11; Linux i686; U; zh-cn),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 localhost.localdomain:8080 (squid/2.6.STABLE18) Original-Xref: news.stanford.edu gnu.emacs.help:158972 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:54336 Archived-At: On May 28, 3:25=A0pm, Michael Albinus wrote: > sunway writes: > > C-x C-f /ssh:host:1.cpp RET > > tramp-send-command-and-check: Couldn't find exit status of `test -e / > > home' > > That is a little bit short for a report. Which Tramp version are you > using? Which Emacs version? > > Could you, please, evaluate the following: > > (setq tramp-verbose 9 > =A0 =A0 =A0 tramp-debug-buffer t) > > Then rerun the test. There will be 2 buffers *tramp/ssh host* and > *debug tramp/ssh host*. Please provide the contents of them. > > Best regards, Michael. i'm using tramp cvs version and emacs 22.2.1 the debug output is below: 15:45:47 tramp-get-connection-property (7) # ~ /home/b/q/sunway_bupt 15:45:47 tramp-get-file-property (8) # /home/b/q/sunway_bupt/ last- completion (18493 3450 403249) 15:45:47 tramp-flush-file-property (8) # /home/b/q/sunway_bupt/ 15:45:47 tramp-get-file-property (8) # /home/b/q/sunway_bupt/ file- name-all-completions undef 15:45:47 tramp-get-connection-property (7) # process-name nil 15:45:47 tramp-get-connection-property (7) # last-cmd-time (18493 3451 255930) 15:45:47 tramp-get-connection-property (7) # process-name nil 15:45:47 tramp-get-connection-property (7) # remote-echo nil 15:45:47 tramp-send-command (6) # cd /home/b/q/sunway_bupt/ 2>/dev/ null; echo tramp_exit_status $? 15:45:47 tramp-get-connection-property (7) # process-name nil 15:45:47 tramp-get-connection-property (7) # chunksize 0 15:45:47 tramp-set-connection-property (7) # last-cmd-time (18493 3499 183623) 15:45:47 tramp-get-connection-property (7) # process-buffer nil 15:45:47 tramp-get-connection-property (7) # check-remote-echo nil 15:45:47 tramp-get-connection-property (7) # check-remote-echo nil 15:45:47 tramp-get-connection-property (7) # check-remote-echo nil 15:45:47 tramp-get-connection-property (7) # check-remote-echo nil 15:45:47 tramp-wait-for-regexp (6) # tramp_exit_status 0 ///13d98055bbed5628c7a8ebe1f2783b4a 15:45:47 tramp-get-connection-property (7) # process-buffer nil 15:45:47 tramp-get-connection-property (7) # ls /usr/xpg4/bin/ls 15:45:47 tramp-get-connection-property (7) # test test 15:45:47 tramp-get-connection-property (7) # process-name nil 15:45:47 tramp-get-connection-property (7) # last-cmd-time (18493 3499 183623) 15:45:47 tramp-get-connection-property (7) # process-name nil 15:45:47 tramp-get-connection-property (7) # remote-echo nil 15:45:47 tramp-send-command (6) # /usr/xpg4/bin/ls -ab 2>/dev/null | while read f; do if test -d "$f" 2>/dev/null; then echo "$f/"; else echo "$f"; fi; done 15:45:47 tramp-get-connection-property (7) # process-name nil 15:45:47 tramp-get-connection-property (7) # chunksize 0 15:45:47 tramp-set-connection-property (7) # last-cmd-time (18493 3499 199867) 15:45:47 tramp-get-connection-property (7) # process-buffer nil 15:45:47 tramp-get-connection-property (7) # check-remote-echo nil 15:45:47 tramp-get-connection-property (7) # check-remote-echo nil 15:45:47 tramp-get-connection-property (7) # check-remote-echo nil 15:45:47 tramp-get-connection-property (7) # check-remote-echo nil 15:45:47 tramp-get-connection-property (7) # check-remote-echo nil 15:45:47 tramp-get-connection-property (7) # check-remote-echo nil 15:45:47 tramp-get-connection-property (7) # check-remote-echo nil 15:45:47 tramp-get-connection-property (7) # check-remote-echo nil 15:45:47 tramp-get-connection-property (7) # check-remote-echo nil 15:45:47 tramp-get-connection-property (7) # check-remote-echo nil 15:45:47 tramp-get-connection-property (7) # check-remote-echo nil 15:45:47 tramp-get-connection-property (7) # check-remote-echo nil 15:45:47 tramp-get-connection-property (7) # check-remote-echo nil 15:45:47 tramp-get-connection-property (7) # check-remote-echo nil 15:45:47 tramp-get-connection-property (7) # check-remote-echo nil 15:45:47 tramp-get-connection-property (7) # check-remote-echo nil 15:45:47 tramp-wait-for-regexp (6) # =2E/ =2E./ =2EXauthority =2Ebash_history =2Ebash_profile =2Eemacs.d/ =2Egconf/ =2Egconfd/ =2Emailcap =2Emime.types =2Essh/ =2Estaroffice7/ =2Esunstudio/ =2Esunw/ =2Esversionrc =2Etramp_history 1.cpp bashrc t1000/ ///13d98055bbed5628c7a8ebe1f2783b4a 15:45:47 tramp-set-file-property (8) # /home/b/q/sunway_bupt/ last- completion (18493 3499 218099) 15:45:47 tramp-set-file-property (8) # /home/b/q/sunway_bupt/ file- name-all-completions (./ ../ .Xauthority .bash_history .bash_profile .emacs.d/ .gconf/ .gconfd/ .= mailcap .mime.types .ssh/ .staroffice7/ .sunstudio/ .sunw/ .sversionrc .tram= p_history 1.cpp bashrc t1000/) 15:45:49 tramp-get-connection-property (7) # ~ /home/b/q/sunway_bupt 15:45:49 tramp-get-file-property (8) # /home/b/q/sunway_bupt/1.cpp file-directory-p nil 15:45:49 tramp-get-file-property (8) # /home/b/q/sunway_bupt/1.cpp file-truename undef 15:45:49 tramp-handle-file-truename (4) # Finding true name for `/ ssh:sunway_bupt@solaris-edu.unix-center.net:/home/b/q/sunway_bupt/ 1.cpp' 15:45:49 tramp-handle-file-truename (5) # Check /home 15:45:49 tramp-get-file-property (8) # /home file-attributes-integer undef 15:45:49 tramp-get-file-property (8) # /home file-exists-p undef 15:45:49 tramp-get-connection-property (7) # file-exists test -e 15:45:49 tramp-get-connection-property (7) # process-name nil 15:45:49 tramp-get-connection-property (7) # last-cmd-time (18493 3499 199867) 15:45:49 tramp-get-connection-property (7) # process-name nil 15:45:49 tramp-get-connection-property (7) # remote-echo nil 15:45:49 tramp-send-command (6) # test -e /home 2>/dev/null; echo tramp_exit_status $? 15:45:49 tramp-get-connection-property (7) # process-name nil 15:45:49 tramp-get-connection-property (7) # chunksize 0 15:45:49 tramp-set-connection-property (7) # last-cmd-time (18493 3501 544275) 15:45:49 tramp-get-connection-property (7) # process-buffer nil 15:45:49 tramp-get-connection-property (7) # check-remote-echo nil 15:45:49 tramp-get-connection-property (7) # check-remote-echo nil 15:45:49 tramp-get-connection-property (7) # check-remote-echo nil 15:45:49 tramp-get-connection-property (7) # check-remote-echo nil 15:45:49 tramp-wait-for-regexp (6) # ///13d98055bbed5628c7a8ebe1f2783b4a 15:45:49 tramp-get-connection-property (7) # process-buffer nil 15:45:49 tramp-send-command-and-check (1) # File error: Couldn't find exit status of `test -e /home' 15:46:11 tramp-flush-file-property (8) # /