[svn1298] Download Update Package .tar.gz option

Posts from previous Beta sessions

[svn1298] Download Update Package .tar.gz option

Postby benv666 » Wed Sep 05, 2007 5:28 pm

Hej,

As I noticed there was an update to the new svn version (1305), I went to my roster2 site to download the update package.
This time I figured "let's try the tarball", since I usually like those better.
However, the file that I received for download doesn't look anything like a tarball at all!

Code: Select all
#> tar tzvvf WoWRoster_UpdatePackage_20070905_0216.tar.gz
tar: This does not look like a tar archive
tar: Skipping to next header

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors


Makes me wonder what it is, if it isn't a tarball...
Code: Select all
#> file WoWRoster_UpdatePackage_20070905_0216.tar.gz
WoWRoster_UpdatePackage_20070905_0216.tar.gz: gzip compressed data, from Unix


Ok, so unzip it:
Code: Select all
#> gunzip WoWRoster_UpdatePackage_20070905_0216.tar.gz

gzip: WoWRoster_UpdatePackage_20070905_0216.tar.gz: unexpected end of file

As the tar command already told us. Also 'unzip' from the InfoZIP package fails in the same way.
.. so any idea what's up with that?

The normal .zip download works fine and can be extracted without problems using the 'unzip' from InfoZIP.

BTW: this behaviour is not specific to this svn version, I've seen it both on 1298 and on an older svn version (1267 I think)

Greetz,

BenV
benv666
WR.net Apprentice
WR.net Apprentice
 
Posts: 42
Joined: Wed May 09, 2007 5:04 pm
Location: The Netherlands

[svn1298] Download Update Package .tar.gz option

Postby zanix » Thu Sep 06, 2007 2:34 am

I dunno to be honest
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

[svn1298] Download Update Package .tar.gz option

Postby ds » Thu Sep 06, 2007 2:34 am

I looked at the code and hurt myself. :(
Image
ds
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 297
Joined: Sat Jul 08, 2006 9:58 am

[svn1298] Download Update Package .tar.gz option

Postby zanix » Thu Sep 06, 2007 2:43 am

Same here
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

[svn1298] Download Update Package .tar.gz option

Postby benv666 » Thu Sep 06, 2007 5:56 am

Hahaha, well, if it's that bad I suggest you guys either rewrite it from scratch or remove it :)
(assuming it's not just broken on my install)
benv666
WR.net Apprentice
WR.net Apprentice
 
Posts: 42
Joined: Wed May 09, 2007 5:04 pm
Location: The Netherlands

[svn1298] Download Update Package .tar.gz option

Postby zanix » Thu Sep 06, 2007 6:33 am

Well, the code that makes the tar.gz file is actually on this server
I wonder if the machine needs the ability to actually make tar.gz files
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

[svn1298] Download Update Package .tar.gz option

Postby PleegWat » Thu Sep 06, 2007 2:01 pm

The code that makes the TAR seems to be in the zip itself. Then it uses a php function to encode that to gz.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Re: [svn1298] Download Update Package .tar.gz option

Postby benv666 » Fri Sep 07, 2007 2:17 am

Well, my machine certainly can create .tar.gz files, question is how you guys are doing it. (for instance, most versions of the tar program can do it. Not sure what you need to do it in php though).
Maybe I should take a look at the code tomorrow when I'm not so tired anymore :)
benv666
WR.net Apprentice
WR.net Apprentice
 
Posts: 42
Joined: Wed May 09, 2007 5:04 pm
Location: The Netherlands

[svn1298] Download Update Package .tar.gz option

Postby zanix » Fri Sep 07, 2007 3:47 am

Well, the code isn't distributed with Roster itself
You can find the file in the svn
http://www.wowroster.net/websvn/filedet ... _match.php
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US


Return to Archived

Who is online

Users browsing this forum: No registered users and 1 guest

cron