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

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

Re: Filename auto complete doesn't work in tramp mode


From: Michael Albinus
Subject: Re: Filename auto complete doesn't work in tramp mode
Date: Wed, 22 May 2013 10:46:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

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 via email to

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