From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Hadsell Newsgroups: gmane.emacs.bugs Subject: Can't visit directory using TRAMP Date: Fri, 29 Jun 2007 20:04:28 -0400 Message-ID: <46859E0C.8020507@mtdiablo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1183188181 12998 80.91.229.12 (30 Jun 2007 07:23:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Jun 2007 07:23:01 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 30 09:22:54 2007 Return-path: Envelope-to: geb-bug-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 1I4XI2-0002U8-SU for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Jun 2007 09:22:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I4XHX-0005Fz-Bq for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Jun 2007 03:22:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I4QS6-0003Cr-Fi for bug-gnu-emacs@gnu.org; Fri, 29 Jun 2007 20:04:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I4QS3-00034m-2z for bug-gnu-emacs@gnu.org; Fri, 29 Jun 2007 20:04:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I4QS2-00034e-TU for bug-gnu-emacs@gnu.org; Fri, 29 Jun 2007 20:04:34 -0400 Original-Received: from [207.254.32.13] (helo=mail.value.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I4QS2-0003jB-6W for bug-gnu-emacs@gnu.org; Fri, 29 Jun 2007 20:04:34 -0400 Original-Received: from [127.0.0.1] (134.152.161.66.DED-DSL.fuse.net [66.161.152.134] (may be forged)) (authenticated) by mail.value.net (8.11.6/8.11.6) with ESMTP id l5U12Ue07766 for ; Fri, 29 Jun 2007 18:02:30 -0700 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070604 Thunderbird/2.0.0.4 Mnenhy/0.7.5.666 X-detected-kernel: Linux 2.4-2.6 X-Mailman-Approved-At: Sat, 30 Jun 2007 03:21:39 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16030 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I attempt to visit a remote directory using TRAMP with the "plink" method and dired, and get a (repeatable) error. The target system is GNU/Linux, CentOS 4.4 (equivalent to RHEL4). The version of PuTTY I'm using is 0.60. This same installation of emacs and PuTTY can successfully visit a remote directory on a Red Hat 7.3 system. Both systems have: alias ls='ls --color=tty' With debug-on-error set, I receive the following backtrace: ,---- | Debugger entered--Lisp error: (error "Format specifier doesn't match argument type") | format(" %-8d" "al") | ls-lisp-format("." (t 9 al users (18053 34063) (16508 26097) (18053 16924) 4096 "drwxr-xr-x" nil 3855200 (-1 0)) 4096 (97 108) nil (18053 37612 574000)) | ls-lisp-insert-directory("/plink:al@fibonacci.pacengr.com:/home/al/build/scarab-1.0-b19/" (97 108) nil nil t) | insert-directory("/plink:al@fibonacci.pacengr.com:/home/al/build/scarab-1.0-b19/" "--dired -al" nil t) | apply(insert-directory ("/plink:al@fibonacci.pacengr.com:/home/al/build/scarab-1.0-b19/" "--dired -al" nil t)) | tramp-run-real-handler(insert-directory ("/plink:al@fibonacci.pacengr.com:/home/al/build/scarab-1.0-b19/" "--dired -al" nil t)) | tramp-handle-insert-directory("/plink:al@fibonacci.pacengr.com:/home/al/build/scarab-1.0-b19/" "--dired -al" nil t) | apply(tramp-handle-insert-directory ("/plink:al@fibonacci.pacengr.com:/home/al/build/scarab-1.0-b19/" "--dired -al" nil t)) | tramp-sh-file-name-handler(insert-directory "/plink:al@fibonacci.pacengr.com:/home/al/build/scarab-1.0-b19/" "--dired -al" nil t) | apply(tramp-sh-file-name-handler insert-directory ("/plink:al@fibonacci.pacengr.com:/home/al/build/scarab-1.0-b19/" "--dired -al" nil t)) | tramp-file-name-handler(insert-directory "/plink:al@fibonacci.pacengr.com:/home/al/build/scarab-1.0-b19/" "--dired -al" nil t) | insert-directory("/plink:al@fibonacci.pacengr.com:/home/al/build/scarab-1.0-b19/" "--dired -al" nil t) | dired-insert-directory("/plink:al@fibonacci.pacengr.com:/home/al/build/scarab-1.0-b19/" "-al" nil nil t) | dired-readin-insert() | dired-readin() | dired-internal-noselect("/plink:al@fibonacci.pacengr.com:/home/al/build/scarab-1.0-b19/" nil) | dired-noselect("/plink:al@fibonacci.pacengr.com:/home/al/build/scarab-1.0-b19") | run-hook-with-args-until-success(dired-noselect "/plink:al@fibonacci.pacengr.com:/home/al/build/scarab-1.0-b19") | find-file-noselect("/plink:al@fibonacci.pacengr.com:/home/al/build/scarab-1.0-b19" nil nil t) | find-file("/plink:al@fibonacci.pacengr.com:/home/al/build/scarab-1.0-b19" t) | call-interactively(find-file) `---- This is the contents of the buffer *tramp/plink al@fibonacci.pacengr.com* when the error occurs: ,---- | ( | ("." ("`.'") 9 al users 1183157333.0 1081894385.0 1183138332.0 4096 "drwxr-xr-x" t 3855200 -1) | (".." ("`..'") 7 al users 1183146348.0 1183138332.0 1183138332.0 4096 "drwxr-xr-x" t 3637309 -1) | ("build" ("`build'") 2 al users 1183138332.0 1183138332.0 1183138332.0 4096 "drwxr-xr-x" t 4130476 -1) | ("extensions" ("`extensions'") 6 al users 1183138332.0 1183138332.0 1183138332.0 4096 "drwxr-xr-x" t 4130477 -1) | ("KNOWN_ISSUES.txt" ("`KNOWN_ISSUES.txt'") 1 al users 1183138332.0 1066383862.0 1183138332.0 1308 "-rw-r--r--" t 3855201 -1) | ("lib" ("`lib'") 2 al users 1183138332.0 1183138332.0 1183138332.0 4096 "drwxr-xr-x" t 4130482 -1) | ("LICENSE.txt" ("`LICENSE.txt'") 1 al users 1183138332.0 1044256467.0 1183138332.0 2321 "-rw-r--r--" t 3855202 -1) | ("maven.xml" ("`maven.xml'") 1 al users 1183138332.0 1081368921.0 1183138332.0 8215 "-rw-r--r--" t 3855203 -1) | ("MIGRATION-README.txt" ("`MIGRATION-README.txt'") 1 al users 1183138332.0 1081890824.0 1183138332.0 8414 "-rw-r--r--" t 3855204 -1) | ("PostgreSQL.txt" ("`PostgreSQL.txt'") 1 al users 1183144693.0 1079193264.0 1183138332.0 2288 "-rw-r--r--" t 3855205 -1) | ("project.properties" ("`project.properties'") 1 al users 1183138332.0 1076499042.0 1183138332.0 1199 "-rw-r--r--" t 3855206 -1) | ("project.xml" ("`project.xml'") 1 al users 1183138332.0 1081893446.0 1183138332.0 17814 "-rw-r--r--" t 3855207 -1) | ("project.xml.bak" ("`project.xml.bak'") 1 al users 1183138332.0 1081625838.0 1183138332.0 17810 "-rw-r--r--" t 3855208 -1) | ("QUICKSTART.txt" ("`QUICKSTART.txt'") 1 al users 1183138332.0 1081890824.0 1183138332.0 4116 "-rw-r--r--" t 3855209 -1) | ("README.txt" ("`README.txt'") 1 al users 1183146916.0 1081890824.0 1183138332.0 26140 "-rw-r--r--" t 3855210 -1) | ("src" ("`src'") 8 al users 1183138332.0 1081894382.0 1183138332.0 4096 "drwxr-xr-x" t 4130483 -1) | ("tomcat" ("`tomcat'") 9 al users 1183138332.0 1081894383.0 1183138332.0 4096 "drwxr-xr-x" t 4147408 -1) | ("WIN32.txt" ("`WIN32.txt'") 1 al users 1183138332.0 1012936435.0 1183138332.0 1554 "-rw-r--r--" t 3855211 -1) | ("www" ("`www'") 3 al users 1183138332.0 1081894379.0 1183138332.0 4096 "drwxr-xr-x" t 4147419 -1) | ("xdocs" ("`xdocs'") 7 al users 1183138332.0 1183138332.0 1183138332.0 4096 "drwxr-xr-x" t 4147453 -1) | ) `---- In GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on RELEASE Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: C locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Summary Minor modes in effect: shell-dirtrack-mode: t show-paren-mode: t encoded-kbd-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ' t SPC v i s i t SPC a SPC d i r e t c t o r y SPC u s i n g SPC T R A M P C-g C-x b C-x 1 q M-g C-x b * m a C-y C-SPC C-w C-x C-f . s i g n - u C-x K C-x I . S I G s s i g - u s e C-SPC C-w C-k C-k C-k C-k C-k C-k C-k C-k C-k C-x k y e s M-x d e b u g - o n - C-g M-x s e t - v a r d e b u g - o n - e r r o r t C-x C-f p l i n k : / a l @ f i b o n a c c i . p a c e n g r . c o m : / h o m e / a l / b u i l d / s c a r a b - 1 0 . 0 - b 1 9 C-SPC w C-x o M-x r e p o r t - < return> Recent messages: Tramp: Waiting 60s for local shell to come up... Tramp: Sending command `plink fibonacci.pacengr.com -l al -ssh || exit' Tramp: Waiting for prompts from remote shell Tramp: Waiting 60s for prompt from remote shell on host fibonacci.pacengr.com Tramp: Found remote shell prompt on `fibonacci.pacengr.com' Tramp: Waiting 30s for remote `/bin/sh' to come up... Loading dired...done Loading debug...done Entering debugger... Mark set -- Alan Hadsell -- Alan Hadsell Principal Consultant Chouinard & Myhre Cell: +1 513 509 0868 =
Alan Hadsell <Alan.Hadsell@cm-inc.com>
Principal Consultant
Chouinard & Myhre
Cell: +1 513 509 0868