[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Args out of range
From: |
Cristian Ionescu-Idbohrn |
Subject: |
Args out of range |
Date: |
Sun, 19 Dec 2004 15:22:25 +0100 (CET) |
Hi,
I keep getting this error when trying to read a remote file using the ssh
method:
Args out of range: 0, 1
This is (some of) the backtrace:
,----
| delete-region(1 0)
| (progn (delete-region (point) (forward-line 1)))
| (if (looking-at (regexp-quote tramp-last-cmd)) (progn (delete-region ...
...)))
| (when (looking-at (regexp-quote tramp-last-cmd)) (delete-region (point)
(forward-line 1)))
| (save-excursion (goto-char start-point) (when (looking-at ...) (delete-region
... ...)))
| (progn (save-excursion (goto-char start-point) (when ... ...)))
| (if tramp-process-echoes (progn (save-excursion ... ...)))
| (when tramp-process-echoes (save-excursion (goto-char start-point) (when ...
...)))
| (let ((proc ...) (found nil) (start-time ...) (start-point ...)
(end-of-output ...)) (save-match-data (cond ... ...)) (when found (goto-char
...) (forward-line -2) (delete-region ... ...)) (when tramp-process-echoes
(save-excursion ... ...)) (when tramp-debug-buffer (append-to-buffer ... ...
...) (when ... ...)) (goto-char (point-min)) found)
| tramp-wait-for-output()
| (let ((shell nil)) (edebug-after (edebug-before 1) 6 (tramp-send-command ...
... ... ... "echo ~root")) (edebug-after (edebug-before 7) 8
(tramp-wait-for-output)) (edebug-after (edebug-before 9) 128 (cond ... ...)))
| tramp-find-shell(nil "ssh" "root" "192.168.0.1")
| tramp-post-connection(nil "ssh" "root" "192.168.0.1")
`----
The contents of `*tramp/ssh address@hidden' buffer is:
,----
| echo ~root
| /root
`----
Last part of `*debug tramp/ssh address@hidden' buffer is:
,----
| # # Waiting 30s for `unset MAIL MAILCHECK MAILPATH'
| $ unset MAIL MAILCHECK MAILPATH 1>/dev/null 2>/dev/null
| unset MAIL MAILCHECK MAILPATH 1>/dev/null 2>/dev/null
| # # Waiting 30s for `unset CDPATH'
| $ unset CDPATH
| unset CDPATH
| # # Setting shell prompt
| $ PS1='
| ///05fba5d89c46530751a05b344e34c0c2
| '; PS2=''; PS3=''
| PS1='
| > ///05fba5d89c46530751a05b344e34c0c2
| > '; PS2=''; PS3=''
| $ echo ~root
`----
but these expected 2 lines:
,----
| /root
| # Remote `/bin/sh' groks tilde expansion, good
`----
never show up.
Any thoughts? How can I debug this deeper?
Cheers,
Cristian
- Args out of range,
Cristian Ionescu-Idbohrn <=