all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Error using TRAMP to visit a directory
@ 2007-06-29 21:46 Alan Hadsell
  2007-06-30 11:29 ` Eli Zaretskii
       [not found] ` <mailman.2845.1183202981.32220.bug-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: Alan Hadsell @ 2007-06-29 21:46 UTC (permalink / raw)
  To: gnu-emacs-bug

I receive an error when I try to visit a directory with TRAMP (2.1.5)
with GNU Emacs (22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on
RELEASE).  The target system is a CentOS GNU/Linux system.  I get the
following backtrace when I set debug-on-error:

,----
| Debugger entered--Lisp error: (error "Format specifier doesn't match argument type")
|   format(" %-8d" "al")
|   ls-lisp-format("." (t 9 al users (18053 26543) (16508 26097) (18053 16924) 4096 "drwxr-xr-x" nil 3855200 (-1 1)) 4096 (97 108) nil (18053 30091 970000))
|   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)
`----

It appears to be trying to format the user name ("al") with format
"-8d", which certainly isn't going to work.  Not sure why the data is
not in the expected format.  

-- 
Alan Hadsell

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error using TRAMP to visit a directory
  2007-06-29 21:46 Error using TRAMP to visit a directory Alan Hadsell
@ 2007-06-30 11:29 ` Eli Zaretskii
       [not found] ` <mailman.2845.1183202981.32220.bug-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2007-06-30 11:29 UTC (permalink / raw)
  To: Alan Hadsell; +Cc: gnu-emacs-bug, Michael Albinus

> From: Alan Hadsell <ahadsell@mtdiablo.com>
> Date: Fri, 29 Jun 2007 17:46:03 -0400
> Cc: 
> 
> I receive an error when I try to visit a directory with TRAMP (2.1.5)
> with GNU Emacs (22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on
> RELEASE).  The target system is a CentOS GNU/Linux system.  I get the
> following backtrace when I set debug-on-error:

Thank you for your report.

Unfortunately, I cannot reproduce this problem on my XP machine (using
a different target system and directory name, of course).

> ,----
> | Debugger entered--Lisp error: (error "Format specifier doesn't match argument type")
> |   format(" %-8d" "al")
> |   ls-lisp-format("." (t 9 al users (18053 26543) (16508 26097) (18053 16924) 4096 "drwxr-xr-x" nil 3855200 (-1 1)) 4096 (97 108) nil (18053 30091 970000))
> |   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)

Sounds like Tramp is using ls-lisp emulation instead of running `ls'
remotely, which I don't think what should happen.  Can you post here
the contents of your *Messages* buffer with messages from Tramp
describing its workings, so we could see what it did?

> It appears to be trying to format the user name ("al") with format
> "-8d", which certainly isn't going to work.  Not sure why the data is
> not in the expected format.  

I think the data is in the expected format, but it is unexpectedly
processed by ls-lisp, which does not expect the user and group that
aren't numeric.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Error using TRAMP to visit a directory
       [not found] ` <mailman.2845.1183202981.32220.bug-gnu-emacs@gnu.org>
@ 2007-06-30 12:21   ` Alan Hadsell
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Hadsell @ 2007-06-30 12:21 UTC (permalink / raw)
  To: gnu-emacs-bug

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Alan Hadsell <ahadsell@mtdiablo.com>
>> Date: Fri, 29 Jun 2007 17:46:03 -0400
>> Cc: 
>> 
>> I receive an error when I try to visit a directory with TRAMP (2.1.5)
>> with GNU Emacs (22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on
>> RELEASE).  The target system is a CentOS GNU/Linux system.  I get the
>> following backtrace when I set debug-on-error:
>
> Thank you for your report.
>
> Unfortunately, I cannot reproduce this problem on my XP machine (using
> a different target system and directory name, of course).
>

Thanks for your help, Eli.  This was a false alarm; I had a partial
copy of an old TRAMP in my load-path, and things were getting
confused.  It's working just fine now.
-- 
Alan Hadsell

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-30 12:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-29 21:46 Error using TRAMP to visit a directory Alan Hadsell
2007-06-30 11:29 ` Eli Zaretskii
     [not found] ` <mailman.2845.1183202981.32220.bug-gnu-emacs@gnu.org>
2007-06-30 12:21   ` 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.