GNU bug report logs - #49
23.0.60; TRAMP fails to copy a gzip'ed file

Previous Next

Package: emacs;

Reported by: Peter Dyballa <Peter_Dyballa <at> gmx.de>

Date: Mon, 10 Mar 2008 16:15:08 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49 in the body.
You can then email your comments to 49 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#49; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Peter Dyballa <Peter_Dyballa <at> gmx.de>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Peter Dyballa <Peter_Dyballa <at> gmx.de>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; TRAMP fails to copy a gzip'ed file
Date: Mon, 10 Mar 2008 14:56:30 +0100
Hello!

Visiting /var/log on a remote server with TRAMP and SSH protocol I  
want to copy a gzip'ed messages log file. I can view it remotely.  
When I copy from the remote dired buffer to a local one, TRAMP writes  
of:

	compressing tramp.29438xtJ.gz...done
	Wrote /tmp/tramp.29438xtJ.gz
	Wrote /var/tmp/vServer/messages-20080221.gz
	Copy: 1 of 1
	Copy: 1 file
	uncompressing messages-20080221.gz...

Remote and local size are equal. When I visit the local copy in  
dired, jka-compr produces a giant temporary file  
(#messages-20080221.gz#), in which the first 355 lines look OK while  
the following 166,000 are pure rubbish, and this error message in  
*jka-compr-error*:

	Error while executing "gzip -c -q -d < /var/tmp/vServer/ 
messages-20080221.gz"
	
	
	gzip: stdin: unexpected end of file

This also happens when I launch GNU Emacs with -Q ...
In any case y in dired mode says: 'gzip compressed data, was  
"messages-20080221", from Unix'


In GNU Emacs 23.0.60.1 (powerpc-apple-darwin8.11.0, X toolkit, Xaw3d  
scroll bars)
 of 2008-03-09 on Latsche.local
Windowing system distributor `The XFree86 Project, Inc', version  
11.0.40400000
configured using `configure  '--without-pop' '--without-sound' '-- 
with-xft' '--with-libotf' '--with-dbus' '--with-x-toolkit=athena' '-- 
enable-font-backend' '--enable-locallisppath=/Library/Application  
Support/Emacs/calendar23:/Library/Application Support/Emacs/caml:/ 
Library/Application Support/Emacs:/sw/share/emacs21/site-lisp/elib'  
'PKG_CONFIG_PATH=/sw/lib/freetype219/lib/pkgconfig:/sw/lib/ 
fontconfig2/lib/pkgconfig:/sw/lib/pkgconfig:/sw/lib/system-openssl/ 
lib/pkgconfig:/sw/share/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/ 
pkgconfig:/usr/local/clamXav/lib/pkgconfig:/usr/X11R6/lib/pkgconfig'  
'CPPFLAGS=-no-cpp-precomp -D__BIND_NOSTATIC -I/sw/lib/fontconfig2/ 
include -I/sw/lib/freetype219/include -I/sw/lib/freetype219/include/ 
freetype2 -idirafter /usr/X11R6/include' 'CFLAGS=-ggdb -gfull - 
bind_at_load -Wno-pointer-sign -pipe -fPIC -mcpu=7450 -mtune=7450 - 
mno-powerpc64 -fast -mpim-altivec -ftree-vectorize -freorder-blocks- 
and-partition -fno-crossjumping' 'LDFLAGS=-bind_at_load -dead_strip - 
multiply_defined suppress -L/sw/lib/fontconfig2/lib -L/sw/lib/ 
freetype219/lib''

Important settings:
  value of $LC_ALL: C
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: de_DE.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
  TeX-PDF-mode: t
  shell-dirtrack-mode: t
  show-paren-mode: t
  display-time-mode: t
  desktop-save-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t


--
Mit friedvollen Grüßen

  Pete

Die Zeit wird kommen, da unsere Nachkommen sich wundern werden, wie  
wir so wunderbare Dinge einfach gewusst haben konnten.
                        (Ein Optimist nach Lucius Annæus Seneca)







Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#49; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 49 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Peter Dyballa <Peter_Dyballa <at> gmx.de>
Cc: Michael Albinus <michael.albinus <at> gmx.de>, emacs-pretest-bug <at> gnu.org,
        49 <at> debbugs.gnu.org
Subject: Re: 23.0.60; TRAMP fails to copy a gzip'ed file
Date: Mon, 10 Mar 2008 12:45:39 -0400
>> What happens if you apply
>> cksum on both the remote file and its local copy?

> On the remote Linux server it's: 1268136719 956556 messages-20080221.gz
> In HFS+ it's: 2116220391 956556 messages-20080221.gz
> In UFS it's: 2116220391 956556 messages-20080221.gz

Can you compare the two files to see which bytes are different?


        Stefan




bug closed, send any further explanations to Peter Dyballa <Peter_Dyballa <at> gmx.de> Request was from Stefan Monnier <monnier <at> iro.umontreal.ca> to control <at> emacsbugs.donarmstrong.com. (Fri, 23 May 2008 22:10:07 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Sat, 21 Jun 2008 14:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 17 years and 57 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.