"Alex V. Koval" <address@hidden> writes:
> Hi Michael,
Hi Alex,
> Sure. I've set this:
> (setq debug-on-error t)
>
> and now I see this:
> Debugger entered--Lisp error: (args-out-of-range "" 0)
> tramp-find-executable([cl-struct-tramp-file-name "sudo" "root" "localhost" nil] "ls" ("/usr/bin" "/bin" "/usr/sbin"
"/sbin" "" "/usr/sbin" "/usr/local/bin") t t)
Hmm, the "" entry in `tramp-remote-path' seems to be guilty.
`tramp-remote-path' has the initial value
'(tramp-default-remote-path "/usr/sbin" "/usr/local/bin"
"/local/bin" "/local/freeware/bin" "/local/gnu/bin"
"/usr/freeware/bin" "/usr/pkg/bin" "/usr/contrib/bin")
Non-existing directories are cut off.
`tramp-default-remote-path' is expanded to '("/usr/bin" "/bin"
"/usr/sbin" "/sbin" "") in your case. Strange.
Could you, please, provide again the debug buffer with verbosity set
to level 6? Now for Tramp 2.1.7. Something strange must happen with
FreeBSD (unfortunately, I cannot reach such a test machine).
Best regards, Michael.
PS: Does setting tramp-chunksize help for ssh connections?
_______________________________________________
Tramp-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/tramp-devel