Subject: Re: bug#20662: 25.0.50; Remote copy through Dired fails

From: Manuel Uberti <[email-masked]>
Date: Sat, 30 May 2015 08:58:59 +0200

On 29/05/15 19:51, Michael Albinus wrote:
> Manuel Uberti <[email-masked]> writes:
> 
> Hi Manuel,
> 
>> Ok, doing (setq tramp-verbose 6) worked.
>>
>> Find attached the contents of debug buffer.
> 
> Well, there we see the error:
> 
>> 15:20:00.426281 tramp-send-command (6) # (gzip </home/admin/boccaperta/contabilita/fattureods/078_crowdknitting.ods | base64) 2>/dev/null; echo tramp_exit_status $?
>> 15:20:00.598776 tramp-wait-for-regexp (6) #
>> H4sIABPTZlUAA7z7c3hdfdQ1jMZsbNu2k8a2bdt2G6dpbDSNbbMNGtu2bZ+dtPfzvO93fef8eXJ1
> 
> [...]
> 
>> Trph5TngXwcw7PMDEPL/D44yxE6mbQIA
>> tramp_exit_status 0
>> ///86d4cea2951efb10b1992a77e8407734#$
>> 15:20:00.615227 tramp-sh-handle-file-local-copy (3) # Encoding remote file `/ssh:[email-masked]#2130:/home/admin/boccaperta/contabilita/fattureods/078_crowdknitting.ods' with `(gzip <%s | base64)'...done
> 
>> 15:20:00.621261 tramp-sh-handle-file-local-copy (3) # Decoding local file `/tmp/tramp.1285C2x.ods' with `(lambda (beg end) (base64-decode-region beg end) (let ((coding-system-for-write (quote binary)) (coding-system-for-read (quote binary))) (apply (quote call-process-region) (point-min) (point-max) (car (split-string gzip -d)) t t nil (cdr (split-string gzip -d)))))'...
>> 15:20:00.627375 tramp-sh-handle-file-local-copy (3) # Decoding local file `/tmp/tramp.1285C2x.ods' with `(lambda (beg end) (base64-decode-region beg end) (let ((coding-system-for-write (quote binary)) (coding-system-for-read (quote binary))) (apply (quote call-process-region) (point-min) (point-max) (car (split-string gzip -d)) t t nil (cdr (split-string gzip -d)))))'...failed
> 
> Unfortunately, the trace does not tell us what went wrong with
> `call-process-region'. I've committed a patch to the Emacs repository
> improving the trace. Could you, please, rebuild Emacs and rerun the test
> with `tramp-verbose' set to 6? The debug buffer might tell us more then.
> 
>> Regards,
>>
>> Manuel Uberti
> 
> Best regards, Michael.
> 

Sure thing, Michael, find attached the stacktrace.
Hope this helps. And if you need me to do other tests, please ask.

Regads,

Manuel Uberti
<[email-masked]>