help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp does not display dired buffers


From: Pawel
Subject: Re: tramp does not display dired buffers
Date: Fri, 19 May 2006 15:52:01 +0200

Sebastian Tennant writes:
 > Quoth Pawel <null7@wp.pl>:
 > > When I am visiting remote directories (ssh method), I get the
 > > following error [in the] *Message* buffer:
 > >
 > >   Reading directory /ssh:remotehost:/etc/...
 > >   dired-insert-directory: Args out of range: 1, 10
 > >
 > > According to [the] info page I think dired buffers should work in
 > > tramp...
 > 
 > Absolutely.  It's pretty much tramp's primary function.
 > 
 > > Do You have any idea what might be the problem.
 > 
 > Not really :-/
 > 
 > (describe-function 'dired-insert-directory)
 > 
 >   dired-insert-directory is a compiled Lisp function in `dired'.
 >   (dired-insert-directory DIR-OR-LIST SWITCHES &optional WILDCARD FULL-P)
 >   not documented
 > 
 > Hmm... not much help.
 > 
 > When I request the root directory of my remote server (using tramp and
 > ssh) I receive the following messages in *Messages*:
 > 
 >   Loading dired...done
 >   Loading tramp...done
 >   Loading ange-ftp...done
 >   Reading directory /ssh:sebyte@207.210.xxx.yyy:/...
 >   tramp: Opening connection for sebyte@207.210.xxx.yyy using ssh...
 >   tramp: Waiting for prompts from remote shell
 >   tramp: Waiting 60s for prompt from remote shell
 >   tramp: Found remote shell prompt.
 >   tramp: Initializing remote shell
 >   tramp: Waiting 30s for remote `/bin/sh' to come up...
 >   tramp: Setting up remote shell environment
 >   tramp: Checking remote host type for `send-process-string' bug
 >   tramp: Determining coding system
 >   tramp: Waiting 30s for `HISTFILE=$HOME/.tramp_history; HISTSIZE=1; export 
 > HISTFILE; export HISTSIZE'
 >   tramp: Waiting 30s for `set +o vi +o emacs'
 >   tramp: Waiting 30s for `unset MAIL MAILCHECK MAILPATH'
 >   tramp: Waiting 30s for `unset CDPATH'
 >   tramp: Setting shell prompt
 >   tramp: Remote `/bin/sh' groks tilde expansion, good
 >   tramp: Finding command to check if file exists
 >   tramp: Finding a suitable `ls' command
 >   tramp: Checking remote `/usr/xpg4/bin/ls' command for `-n' option
 >   tramp: Checking remote `/bin/ls' command for `-n' option
 >   tramp: Testing remote command `/bin/ls' for -n...okay
 >   tramp: Using remote command `/bin/ls' for getting directory listings
 >   tramp: Sending the Perl `mime-encode' implementations.
 >   tramp: Sending the Perl `mime-decode' implementations.
 >   tramp: Checking remote encoding command `mimencode -b' for sanity
 >   tramp: Checking remote encoding command `mmencode -b' for sanity
 >   tramp: Checking remote encoding command `recode data..base64' for sanity
 >   tramp: Checking remote encoding command `uuencode xxx' for sanity [4 times]
 >   tramp: Checking remote encoding command `tramp_encode_with_module' for 
 > sanity
 >   tramp: Checking remote decoding command `tramp_decode_with_module' for 
 > sanity
 >   tramp: Checking to see if encoding/decoding commands work on remote 
 > host...done
 >   Reading directory /ssh:sebyte@207.210.xxx.yyy:/...done
 >   tramp: Sending the Perl script `tramp_file_attributes'...done.
 > 
 > How far do you get through this list?
 > 
 > sdt
 > 
 > 
 > 
 > _______________________________________________
 > help-gnu-emacs mailing list
 > help-gnu-emacs@gnu.org
 > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
 > 

Sebastian, here is a complete *Messages* contents. Just before invoking remote 
directory, I toggled debug-on-error:

(emacs -q -l /root/emacs-config/.emacs.tramp.only.el)
Loading disp-table...done
Loading tool-bar...done
Loading image...done
Loading tooltip...done
Loading /usr/share/emacs/site-lisp/site-start.d/lang-coding-systems-init.el 
(source)...
Loading encoded-kb...done
Loading /usr/share/emacs/site-lisp/site-start.d/lang-coding-systems-init.el 
(source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/php-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/po-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/psgml-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/python-mode-init.el 
(source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/rpm-spec-mode-init.el 
(source)...done
For information about the GNU Project and its goals, type C-h C-p.
Loading /root/.do.not.redistribute.el (source)...done
Loading dired...done
Reading directory /root/emacs-config/...done
Loading /root/emacs-config/.emacs.tramp.el (source)...
Loading /usr/libexec/emacs/21.3/i386-redhat-linux/fns-21.3.1.el (source)...done
Loading executable...done
Loading regexp-opt...done
Loading mule-util...done
Loading /root/emacs-config/.emacs.tramp.el (source)...done
Debug on Error enabled
Making completion list...
Loading view...done
Tramp: Opening connection for nil@remotehost using ssh...
Tramp: Waiting 60s for local shell to come up...
Tramp: Sending command `ssh remotehost   -e none || exit'
Tramp: Waiting for prompts from remote shell
Tramp: Waiting 60s for prompt from remote shell on host remotehost
Tramp: Sending password
Password for /ssh:remotehost: 
Password for /ssh:remotehost: .
Password for /ssh:remotehost: ..
Password for /ssh:remotehost: .....
Tramp: Found remote shell prompt on `remotehost'
Tramp: Waiting 30s for remote `/bin/sh' to come up...
Reading directory /ssh:remotehost:/etc/...
dired-insert-directory: 
Loading debug...done
Entering debugger...
 [2 times]
Mark set
Mark saved where search started
recursive-edit: Quit
(New file)


trace is:
Debugger entered--Lisp error: (args-out-of-range 1 11)
  byte-code("ÁZ`|‡" [beg 7] 2)
  dired-insert-directory("/ssh:remotehost:/etc/" "-al" nil t)
  dired-readin-insert("/ssh:remotehost:/etc/")
  dired-readin("/ssh:remotehost:/etc/" #<buffer etc>)
  dired-internal-noselect("/ssh:remotehost:/etc/" nil)
  dired-noselect("/ssh:remotehost:/etc/")
  run-hook-with-args-until-success(dired-noselect "/ssh:remotehost:/etc/")
  find-file-noselect("/remotehost:/etc/" nil nil 1)
  find-file("/remotehost:/etc/" 1)
  call-interactively(find-file)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]