unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Hadsell <ahadsell@mtdiablo.com>
To: bug-gnu-emacs@gnu.org
Subject: Can't visit directory using TRAMP
Date: Fri, 29 Jun 2007 20:04:28 -0400	[thread overview]
Message-ID: <46859E0C.8020507@mtdiablo.com> (raw)

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 &lt;Alan.Hadsell@cm-inc.com&gt;
Principal Consultant
Chouinard & Myhre
Cell: +1 513 509 0868</pre>

             reply	other threads:[~2007-06-30  0:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-30  0:04 Alan Hadsell [this message]
2007-06-30  8:34 ` Can't visit directory using TRAMP Michael Albinus
     [not found] ` <mailman.2837.1183194740.32220.bug-gnu-emacs@gnu.org>
2007-06-30 12:24   ` Alan Hadsell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46859E0C.8020507@mtdiablo.com \
    --to=ahadsell@mtdiablo.com \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).