tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp (2.1.8-pre); Local decoding problem


From: Michael Albinus
Subject: Re: tramp (2.1.8-pre); Local decoding problem
Date: Fri, 01 Dec 2006 06:55:41 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux)

"Ned Ludd" <address@hidden> writes:

Hi,

> In the last few versions I seem to be having the same problem.  I get
> the following error when I attempt to save a file.  Note that this
> happens with any access method. 
>
> Error: File error: Couldn't write region to 
> `/sudo:address@hidden:/etc/tmp13713LjN', decode using 
> `tramp_perl_decode_with_module' failed
>
> To attempt to debug I hid or removed progressive command in
> "tramp-remote-coding-methods".  It happens with all of them.
> "mimencode", "recode", etc.

"mimencode", "mmencode" and "recode" are not used, because these
commands are not found on your remote system:

> 14:49:32 tramp-send-command (6) # ( mimencode -b </dev/null 2>/dev/null; echo 
> tramp_exit_status $? )
> 14:49:32 tramp-wait-for-regexp (6) # 
> tramp_exit_status 127
> 
> ///7184922fb0edd3e314f8506ab0b349d6

> 14:49:32 tramp-send-command (6) # ( mmencode -b </dev/null 2>/dev/null; echo 
> tramp_exit_status $? )
> 14:49:32 tramp-wait-for-regexp (6) # 
> tramp_exit_status 127
> 
> ///7184922fb0edd3e314f8506ab0b349d6

> 14:49:32 tramp-send-command (6) # ( recode data..base64 </dev/null 
> 2>/dev/null; echo tramp_exit_status $? )
> 14:49:32 tramp-wait-for-regexp (6) # 
> tramp_exit_status 127
> 
> ///7184922fb0edd3e314f8506ab0b349d6

Therefore, the predefined shell function tramp_perl_decode_with_module
is used. It seems to work correctly, just the final cksum call seems
to return undesired values.

I've decoded your data manually, they look fine.

As workaround you might unset file-precious-flag (this causes the
cksum call). I'll continue to analyze where's the bug in that.

Best regards, Michael.




reply via email to

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