* Can't visit directory using TRAMP
@ 2007-06-30 0:04 Alan Hadsell
2007-06-30 8:34 ` Michael Albinus
[not found] ` <mailman.2837.1183194740.32220.bug-gnu-emacs@gnu.org>
0 siblings, 2 replies; 3+ messages in thread
From: Alan Hadsell @ 2007-06-30 0:04 UTC (permalink / raw)
To: bug-gnu-emacs
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 <backspace> c
t o r y SPC u s i n g SPC T R A M P <return> C-g C-x
b <return> C-x 1 q M-g <up> <return> C-x b * <tab>
m a <tab> <return> C-y <S-down> <S-down> <S-down> <S-up>
<S-up> <S-up> <up> <up> C-SPC <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> C-w
<C-end> <up> <up> <up> <up> <up> <up> <up> <up> <up>
C-x C-f . s i g n <tab> - u <tab> <return> <prior>
C-x K <return> C-x I . S I G <backspace> <backspace>
s <backspace> <backspace> s i g <tab> - u s e <tab>
<return> <down> <down> <down> <C-right> <C-right> <C-right>
<C-right> <C-right> <left> <left> <left> <left> <left>
<right> <return> C-SPC <C-end> C-w <up> <up> <up> <up>
<up> <up> <up> <down> <down> <down> <C-right> <C-right>
<C-right> <C-left> <left> <left> <return> C-k C-k C-k
C-k C-k C-k C-k C-k C-k C-x k <return> y e s <return>
M-x d e b u g - o n - C-g M-x s e t - v a r <tab> <return>
d e b u g - o n - e r r o r <return> t <return> C-x
C-f p l i n k : <left> <left> <left> <left> <left>
<left> / <end> 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 <backspace> . 0 - b 1 9 <return> <up> C-SPC
<C-end> <escape> w C-x o M-x r e p o r t - <tab> <
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 <Alan.Hadsell@cm-inc.com>
Principal Consultant
Chouinard & Myhre
Cell: +1 513 509 0868
=
<pre>Alan Hadsell <Alan.Hadsell@cm-inc.com>
Principal Consultant
Chouinard & Myhre
Cell: +1 513 509 0868</pre>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Can't visit directory using TRAMP
2007-06-30 0:04 Can't visit directory using TRAMP Alan Hadsell
@ 2007-06-30 8:34 ` Michael Albinus
[not found] ` <mailman.2837.1183194740.32220.bug-gnu-emacs@gnu.org>
1 sibling, 0 replies; 3+ messages in thread
From: Michael Albinus @ 2007-06-30 8:34 UTC (permalink / raw)
To: Alan Hadsell; +Cc: bug-gnu-emacs
Alan Hadsell <ahadsell@mtdiablo.com> writes:
> 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)
You've said in the other message that you are running Tramp 2.1.5. In
the Changelog of Tramp, there is a correction in
tramp-handle-insert-directory wrt to ls-lisp. I don't remember the
details, but it might be worth to upgrade to Tramp 2.1.9, which
contains this fix.
> Alan Hadsell
Best regards, Michael.
^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <mailman.2837.1183194740.32220.bug-gnu-emacs@gnu.org>]
* Re: Can't visit directory using TRAMP
[not found] ` <mailman.2837.1183194740.32220.bug-gnu-emacs@gnu.org>
@ 2007-06-30 12:24 ` Alan Hadsell
0 siblings, 0 replies; 3+ messages in thread
From: Alan Hadsell @ 2007-06-30 12:24 UTC (permalink / raw)
To: gnu-emacs-bug
Michael Albinus <michael.albinus@gmx.de> writes:
[snip]
>
> You've said in the other message that you are running Tramp 2.1.5. In
> the Changelog of Tramp, there is a correction in
> tramp-handle-insert-directory wrt to ls-lisp. I don't remember the
> details, but it might be worth to upgrade to Tramp 2.1.9, which
> contains this fix.
>
Thanks for your help, Michael. This was a false alarm. I had an old,
partial copy of TRAMP in site-lisp, which was shadowing the new
version and causing this problem. It works fine now.
--
Alan Hadsell
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-06-30 12:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-30 0:04 Can't visit directory using TRAMP Alan Hadsell
2007-06-30 8:34 ` Michael Albinus
[not found] ` <mailman.2837.1183194740.32220.bug-gnu-emacs@gnu.org>
2007-06-30 12:24 ` Alan Hadsell
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.