all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Ravi <ra.ravi.rav@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Filename auto complete doesn't work in tramp mode
Date: Wed, 22 May 2013 10:46:26 +0200	[thread overview]
Message-ID: <87sj1f9zbx.fsf@gmx.de> (raw)
In-Reply-To: <CAFQs6Peh+ga4jySi4=_zW-Akx9-q8kNdWdH8mxMezcHFiyA4VQ@mail.gmail.com> (Ravi's message of "Wed, 22 May 2013 12:05:46 +0530")

Ravi <ra.ravi.rav@gmail.com> writes:

> Hi Ken,

Hi Ravi,

> The debug output is available at: http://pastebin.com/PZuxs1St

In the debug output, there is the following sequence (shortened):

00:10:03.198174 tramp-send-command (6) # tramp_perl_file_name_all_completions /home/username/ '' 0
00:10:03.513918 tramp-wait-for-regexp (6) #
///4a9849cafd12e16baecfd05f1384e262#$
00:10:03.514405 tramp-sh-handle-file-name-all-completions (1) # File error: tramp-sh-handle-file-name-all-completions: internal error accessing `/home/username/': `'

That means, that Tramp sends the command
"tramp_perl_file_name_all_completions /home/username/ '' 0", which is an
internal shell function which Tramp has declared earlier. It returns an
empty output, "///4a9849cafd12e16baecfd05f1384e262#$" is just the shell
prompt for Tramp.

That internal shell function does not work correctly; it shall return as
last output line "ok\n". 'Cause this line is missing, Tramp speaks about
an internal error.

So we need to debug that shell function, which is mainly the call of a
Perl script.

First step is to check, that there are no wrong connection properties
left in Tramp due to a previous connection. Could you, please, perform
"M-x tramp-cleanup-all-connections" and rerun the test?

I would also like to see the *whole* debug buffer of that test. If you
do not want to publish it due to internal sensitive information, you
might send it to me directly.

> Thanks,
> Ravi

Best regards, Michael.



  reply	other threads:[~2013-05-22  8:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-21  6:27 Filename auto complete doesn't work in tramp mode Ravi
2013-05-21  7:54 ` Michael Albinus
2013-05-21  8:03   ` ken
2013-05-22  6:35     ` Ravi
2013-05-22  8:46       ` Michael Albinus [this message]
2013-05-23 12:21         ` Ravi
2013-05-23 13:03           ` Michael Albinus
2013-05-23 14:23             ` Ravi
2013-05-24  7:17               ` Michael Albinus
2013-05-24 13:22                 ` Ravi
2013-05-22  6:34   ` Ravi

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

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

  git send-email \
    --in-reply-to=87sj1f9zbx.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=ra.ravi.rav@gmail.com \
    /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 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.