unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Peter Dyballa <Peter_Dyballa@gmx.de>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; TRAMP fails to copy a gzip'ed file
Date: Mon, 10 Mar 2008 16:41:24 +0100	[thread overview]
Message-ID: <nqlk4qbn8b.fsf@alcatel-lucent.de> (raw)
In-Reply-To: <6351A346-5EE7-4B65-9742-B16C56D689A4@gmx.de> (Peter Dyballa's message of "Mon, 10 Mar 2008 14:56:30 +0100")

Peter Dyballa <Peter_Dyballa@gmx.de> writes:

> Hello!

Hi,

> 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*:

I've tried to reproduce it locally, everything is fine here. Using
emacs -Q ("GNU Emacs 23.0.60.14 (i686-pc-linux-gnu, GTK+ Version
2.12.0) of 2008-02-22 on arthur"). Remote debug.log.1.gz file is
568308 bytes, 108211 lines. That is smaller than your file, but not
sooo different.

Have you checked that your local file systems are large enough to keep
the file; especially the /tmp directory? What happens if you apply
cksum on both the remote file and its local copy?

For further analysis I would need the debug buffer of Tramp. Before
you start, please perform "(setq tramp-verbose 9)". Make sure that
there are no sensitive data in the copied file; I'll read it.

Btw, does it work if you use the "scp" method instead of "ssh"?

Best regards, Michael.





  reply	other threads:[~2008-03-10 15:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-10 13:56 23.0.60; TRAMP fails to copy a gzip'ed file Peter Dyballa
2008-03-10 15:41 ` Michael Albinus [this message]
2008-03-10 16:06   ` Peter Dyballa
2008-03-10 16:18     ` Michael Albinus
2008-03-10 16:45     ` Stefan Monnier
2008-03-11 11:23     ` Michael Albinus
2008-03-11 12:43       ` Peter Dyballa
2008-03-11 14:16         ` Michael Albinus
2008-03-11 15:12           ` Peter Dyballa
2008-03-11 16:18             ` Dan Nicolaescu
2008-03-11 23:08               ` Peter Dyballa
2008-03-12 10:00             ` Peter Dyballa
2008-03-10 16:57   ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nqlk4qbn8b.fsf@alcatel-lucent.de \
    --to=michael.albinus@gmx.de \
    --cc=Peter_Dyballa@gmx.de \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).