• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item3739: Many *.tgz files are gzipped twice

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
NotTWiki   Urgent Closed   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


The upgrade.tgz file for 4.1.2 is gzipped twice. If you unzip upgrade.tgz, you will get upgrade.tar, but this file is actually a gzipped file as well.

I have noticed quite a few *.tgz files from this site suffer from the same problem.

-- TWiki:Main/WalterFergusson - 08 Mar 2007

Not a single tgz is zipped twice. It is the twiki.org server which obviously still has problems with the mime types. Let me guess - you downloaded using Internet Explorter?

Michael Daum. You probably need to revisit this again.

-- TWiki:Main.KennethLavrsen - 08 Mar 2007

I can confirm the issue. I just tried to download a plugin using Internet Explorer. TWiki:Plugins.TopicCreatePlugin. I downloaded the zip file and it is molested. I then download with Firefix and it works fine. The download is done from the attachment table - ie from viewfile.

I thought that problem had been fixed once.

-- TWiki:Main.KennethLavrsen - 08 Mar 2007

This is much worse than I thought. I just tried to download TWiki-4.1.2 as tgz and I even download it with Firefox. It is impossible to open the downloaded tgz afterwards. It is totally screwed up.

How about re-installing that Apache server from scratch?

-- TWiki:Main.KennethLavrsen - 08 Mar 2007

having analysed what is in the file you download - the TWiki-4.1.2.tgz is in reallity a TWiki-4.1.2.tar.gz.zip. Ie the webserver zips the file when you download it. So someone has turned on compression on the webserver. We have had this problem before and had to turn it off. Now it seems someone has turned it on again.

-- TWiki:Main.KennethLavrsen - 08 Mar 2007

There was an error in the configuration of the apache server on twiki.org: the directives AddType and AddEncoding have been used incorrectly. Therefor the server didn't know anything about tgz and zip files, sending the wrong encoding to the browser. This error was there for a long time and I am surprised that anybody was able to download a tgz at all before.

-- TWiki:Main.MichaelDaum - 09 Mar 2007

Summary Many *.tgz files are gzipped twice
ReportedBy TWiki:Main.WalterFergusson
Codebase 4.1.2
SVN Range TWiki-4.1.2, Sat, 03 Mar 2007, build 13043
AppliesTo NotTWiki

Priority Urgent
CurrentState Closed


TargetRelease n/a

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2007-03-09 - MichaelDaum
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback