tramp-devel
[Top][All Lists]
Advanced

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

Re: FreeBSD - tramp removes remote file and emacs session freezes (fwd)


From: Michael Albinus
Subject: Re: FreeBSD - tramp removes remote file and emacs session freezes (fwd)
Date: Mon, 20 Nov 2006 22:41:46 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

"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?




reply via email to

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