all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* tramp does not display dired buffers
@ 2006-05-18 14:57 Pawel
  2006-05-19  0:53 ` Sebastian Tennant
  0 siblings, 1 reply; 6+ messages in thread
From: Pawel @ 2006-05-18 14:57 UTC (permalink / raw)


Hallo,
When I am visiting remote directories (ssh method), I get the following error (*Message* buffer):
Reading directory /ssh:remotehost:/etc/...
dired-insert-directory: Args out of range: 1, 10

According to trmp info page I think dired buffers should work in tramp:

1 An overview of TRAMP
**********************


After the installation of TRAMP into your GNU Emacs, you will be able
to access files on remote machines as though they were local.  Access
to the remote file system for editing files, version control, and
`dired' are transparently enabled.

I am using:
GNU Emacs 21.3.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) of 2005-02-04 on bugs.build.redhat.com

Do You have any idea what might be the problem.

Greetings

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

* Re: tramp does not display dired buffers
  2006-05-18 14:57 tramp does not display dired buffers Pawel
@ 2006-05-19  0:53 ` Sebastian Tennant
  2006-05-19 13:52   ` Pawel
  0 siblings, 1 reply; 6+ messages in thread
From: Sebastian Tennant @ 2006-05-19  0:53 UTC (permalink / raw)


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

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

* Re: tramp does not display dired buffers
  2006-05-19  0:53 ` Sebastian Tennant
@ 2006-05-19 13:52   ` Pawel
  2006-05-19 17:27     ` Sebastian Tennant
  0 siblings, 1 reply; 6+ messages in thread
From: Pawel @ 2006-05-19 13:52 UTC (permalink / raw)
  Cc: help-gnu-emacs

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("\bÁ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)

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

* Re: tramp does not display dired buffers
  2006-05-19 13:52   ` Pawel
@ 2006-05-19 17:27     ` Sebastian Tennant
  2006-05-22  9:48       ` Pawel
  2006-05-22 11:43       ` Pawel
  0 siblings, 2 replies; 6+ messages in thread
From: Sebastian Tennant @ 2006-05-19 17:27 UTC (permalink / raw)


Quoth Pawel <null7@wp.pl>:
> here is a complete *Messages* contents. Just before invoking remote
> directory, I toggled debug-on-error:
> [...]
> Reading directory /ssh:remotehost:/etc/...
> dired-insert-directory: 
> Loading debug...done
> Entering debugger...
> [...]
> Debugger entered--Lisp error: (args-out-of-range 1 11)
>   [...]
>   dired-insert-directory("/ssh:remotehost:/etc/" "-al" nil t)

Don't know enough lisp to help I'm afraid.  Are you running a recent
version of emacs and tramp.  I'm running:

  emacs:  21.4.1
  tramp:  1.2.0.53

Here are the addresses of the tramp mailing list:

  http://lists.gnu.org/mailman/listinfo/tramp-devel
  mailto:tramp-devel-request@gnu.org?subject=subscribe

I had a quick look in the elisp manual to see if I could find out more
about the 'args-out-of-range 1 11' error message but it's not much
help (to me):

  (info "(elisp)Standard Errors")
  [...]
  `args-out-of-range'
       `"Args out of range"'
       *Note Sequences Arrays Vectors::.
  [...]
  (info "(elisp)Sequences Arrays Vectors")
  How long have you got!

The tramp list would be my next stop.  Good luck...

sdt

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

* Re: tramp does not display dired buffers
  2006-05-19 17:27     ` Sebastian Tennant
@ 2006-05-22  9:48       ` Pawel
  2006-05-22 11:43       ` Pawel
  1 sibling, 0 replies; 6+ messages in thread
From: Pawel @ 2006-05-22  9:48 UTC (permalink / raw)
  Cc: help-gnu-emacs

Sebastian Tennant writes:
 > Quoth Pawel <null7@wp.pl>:
 > > here is a complete *Messages* contents. Just before invoking remote
 > > directory, I toggled debug-on-error:
 > > [...]
 > > Reading directory /ssh:remotehost:/etc/...
 > > dired-insert-directory: 
 > > Loading debug...done
 > > Entering debugger...
 > > [...]
 > > Debugger entered--Lisp error: (args-out-of-range 1 11)
 > >   [...]
 > >   dired-insert-directory("/ssh:remotehost:/etc/" "-al" nil t)
 > 
 > Don't know enough lisp to help I'm afraid.  Are you running a recent
 > version of emacs and tramp.  I'm running:
 > 
 >   emacs:  21.4.1
 >   tramp:  1.2.0.53
 > 
 > Here are the addresses of the tramp mailing list:
 > 
 >   http://lists.gnu.org/mailman/listinfo/tramp-devel
 >   mailto:tramp-devel-request@gnu.org?subject=subscribe
 > 
 > I had a quick look in the elisp manual to see if I could find out more
 > about the 'args-out-of-range 1 11' error message but it's not much
 > help (to me):
 > 
 >   (info "(elisp)Standard Errors")
 >   [...]
 >   `args-out-of-range'
 >        `"Args out of range"'
 >        *Note Sequences Arrays Vectors::.
 >   [...]
 >   (info "(elisp)Sequences Arrays Vectors")
 >   How long have you got!
 > 
 > The tramp list would be my next stop.  Good luck...
 > 
 > sdt
 > 
 > 
 > 
 > _______________________________________________
 > help-gnu-emacs mailing list
 > help-gnu-emacs@gnu.org
 > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
 > 
Sebastian,
thank You for help, I will contact tramp developers.

Pawel

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

* Re: tramp does not display dired buffers
  2006-05-19 17:27     ` Sebastian Tennant
  2006-05-22  9:48       ` Pawel
@ 2006-05-22 11:43       ` Pawel
  1 sibling, 0 replies; 6+ messages in thread
From: Pawel @ 2006-05-22 11:43 UTC (permalink / raw)
  Cc: help-gnu-emacs

Sebastian Tennant writes:
 > Quoth Pawel <null7@wp.pl>:
 > > here is a complete *Messages* contents. Just before invoking remote
 > > directory, I toggled debug-on-error:
 > > [...]
 > > Reading directory /ssh:remotehost:/etc/...
 > > dired-insert-directory: 
 > > Loading debug...done
 > > Entering debugger...
 > > [...]
 > > Debugger entered--Lisp error: (args-out-of-range 1 11)
 > >   [...]
 > >   dired-insert-directory("/ssh:remotehost:/etc/" "-al" nil t)
 > 
 > Don't know enough lisp to help I'm afraid.  Are you running a recent
 > version of emacs and tramp.  I'm running:
 > 
 >   emacs:  21.4.1
 >   tramp:  1.2.0.53
 > 
 > Here are the addresses of the tramp mailing list:
 > 
 >   http://lists.gnu.org/mailman/listinfo/tramp-devel
 >   mailto:tramp-devel-request@gnu.org?subject=subscribe
 > 
 > I had a quick look in the elisp manual to see if I could find out more
 > about the 'args-out-of-range 1 11' error message but it's not much
 > help (to me):
 > 
 >   (info "(elisp)Standard Errors")
 >   [...]
 >   `args-out-of-range'
 >        `"Args out of range"'
 >        *Note Sequences Arrays Vectors::.
 >   [...]
 >   (info "(elisp)Sequences Arrays Vectors")
 >   How long have you got!
 > 
 > The tramp list would be my next stop.  Good luck...
 > 
 > sdt
 > 
 > 
 > 
 > _______________________________________________
 > help-gnu-emacs mailing list
 > help-gnu-emacs@gnu.org
 > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
 > 
Sebastian,
I searched through tramp mailing list archives and found similar problem at:
http://lists.gnu.org/archive/html/tramp-devel/2006-01/msg00122.html

There is a patch provided and it solves the problem

Once more thank You for help

Greetings

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

end of thread, other threads:[~2006-05-22 11:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-18 14:57 tramp does not display dired buffers Pawel
2006-05-19  0:53 ` Sebastian Tennant
2006-05-19 13:52   ` Pawel
2006-05-19 17:27     ` Sebastian Tennant
2006-05-22  9:48       ` Pawel
2006-05-22 11:43       ` Pawel

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.