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: Ravi
Subject: Re: Filename auto complete doesn't work in tramp mode
Date: Thu, 23 May 2013 17:51:44 +0530

>
> Hi Ravi,
>

​Hi Michael,

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.
>
​
​Thanks, at least its some start! I do not know Perl and know little elisp
but will surely try to triage the problem as much as I can.​
​

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 performed the actions as you mentioned. Following are the results:

1. After ​"M-x tramp-cleanup-all-connections" , C-x C-f , enter path as
"/scpc:myserver_name_changed.com:/home/" and pres TAB. It asks for
passphrase and opens the connection, which succeeds. But it gives the error:

"ssh: Could not resolve hostname scpc: Name or service not known"

2. Do C-x C-f again, enter path: "/scpc:myserver_name_changed.com:/home/"
and press TAB. It will wait for the command to complete and will show "[No
match]" next to path in mini-buffer.​

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.
>

​The log ​is available in base64 encoding at: http://pastebin.com/qbbAFC8n
(you can copy paste text in a text editor, save it and run command "base64
-d <filename>" to get original contents)



> Best regards, Michael.
>

​Thanks a lot for you efforts Michael.
-Ravi​


reply via email to

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