openhatch

Issue656

Title Tar.gz missions
Milestone 0.12.02 Priority bug
Waiting On Status resolved
Superseder Nosy List C_open, armooo, jesstess, paulproteus
Assigned To paulproteus Keywords

Created on 2012-01-11.22:45:28 by C_open, last changed 2012-02-15.02:12:33 by paulproteus.

Files
File name Uploaded Type Edit Remove
ghello_4.tar.gz C_open, 2012-01-11.22:45:26 application/x-gzip
unnamed C_open, 2012-01-12.10:48:07 text/html
unnamed C_open, 2012-01-12.17:14:36 text/html
Messages
msg2994 (view) Author: paulproteus Date: 2012-02-15.02:12:32
Yay, marking resolved based on feedback on issue632 !
msg2989 (view) Author: paulproteus Date: 2012-02-13.04:10:01
Yeah -- we just diagnosed the same issue on issue632

I've tested that  it's fixed for me; I'd appreciate if armooo or C_open could
verify this.
msg2893 (view) Author: armooo Date: 2012-01-18.22:24:02
This seems like a problem with how gzip Content-Encoding is configured. In
firefox setting network.http.accept-encoding to '' fixes the problem.
msg2890 (view) Author: xiaobai Date: 2012-01-18.04:46:10
After fiddling around with python, I've found that the tarball properly
generates on my windows machine in a way that I can open it. When I download it
from the server (on both windows and ubuntu), I cannot open it with the hint
given in the mission. I get the same error as C_open does. It's probably (like
paulproteus said) a flaw with the tar file being sent out by the server.

A simple workaround is just to use gunzip or gzip to decompress to a .tar first,
and then unpackage it from there with "tar xvf ghello-0.4.tar". This solution
would only require a simple change in the instructions.

Another solution is that we create a working tarball and simply host it on the
server for people to download, rather than just generating it on request. 

I'm not 100% why it is the way it is now, as I'm fairly new to the project (and
open source projects as well). Whichever solution is preferred can be done. 

Hope I helped. :)
msg2877 (view) Author: C_open Date: 2012-01-12.17:14:36
That makes sense and solves a headache of mine. You guys have been
amazingly helpful. Thanks
msg2876 (view) Author: paulproteus Date: 2012-01-12.16:54:45
It looks like there's some flaw with our tar file, in that we are sending 
out (effectively)

tar.gz.gz files, not

tar.gz files.

(Even though the name is .tar.gz.)

I'd like to see if we can reproduce this problem, but that's what it 
looks like reading the discussion here.
msg2875 (view) Author: C_open Date: 2012-01-12.11:09:45
Running tar xf on the <filename>.tar file unpacked it just fine. 

I dont get the need for the extra step ? Or how to tell which method to use in
the future ? (And what the differance this tar.bz has to other ones Iv downloaded ?)
msg2874 (view) Author: C_open Date: 2012-01-12.10:48:07
:~/Downloads$ file ghello_4.tar
ghello_4.tar: gzip compressed data, last modified: Wed Jan 11 21:25:42
2012, max compression
~/Downloads$

Thanks for all the help. This seems like doing the xvfz comand in several
steps ? How come ?

On Wed, Jan 11, 2012 at 11:55 PM, jesstess <bugs@openhatch.org> wrote:

>
> jesstess <jessica.mckellar@gmail.com> added the comment:
>
> C_open, thanks, that was perfect.
>
> Can you run:
>
> 1. "gunzip ghello_4.tar.gz"
> 2. file <filename>, where <filename> is the name of the file produced by
> gunzip
>
> __________________________________________
> Roundup issue tracker <bugs@openhatch.org>
> <https://openhatch.org/bugs/issue656>
> __________________________________________
>
msg2873 (view) Author: jesstess Date: 2012-01-11.23:55:42
C_open, thanks, that was perfect.

Can you run:

1. "gunzip ghello_4.tar.gz"
2. file <filename>, where <filename> is the name of the file produced by gunzip
msg2872 (view) Author: C_open Date: 2012-01-11.23:13:34
~/Downloads$ file ghello_4.tar.gz 
ghello_4.tar.gz: gzip compressed data, from Unix
~/Downloads$ tar xvfz ghello_4.tar.gz 
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors

I hope this is what you wanted ? I right clicked "save link as"
msg2871 (view) Author: jesstess Date: 2012-01-11.23:02:51
Hi C_open, and thanks for getting in touch with us! This is a fine place to report bugs. Sending mail 
to hello@openhatch.org would also work.

To debug this, can you paste the following here:

1. The output of "file <filename>", where <filename> is the name of the file you downloaded from 
the OpenHatch website.

2. The full output of "tar xvfz <filename>", including the line containing the command you ran

Can you also describe how you are downloading the file? (clicking on a link, using wget, etc.)
msg2870 (view) Author: C_open Date: 2012-01-11.22:45:26
I am currently working my way through the missions and am pretty new to creating
/ unpacking tar-balls. I have managed to unpack other tar.gz files from source
forge but get the error of

tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors

When I try and unpack (using the hint) the tar.gz from the missions (attached)
Any help is appreciated

I also hope this is in the right place...
History
Date User Action Args
2012-02-15 02:12:33paulproteussetstatus: chatting -> resolved
messages: + msg2994
2012-02-13 04:10:02paulproteussetnosy: + armooo
messages: + msg2989
milestone: 0.12.02
2012-01-18 22:24:03armooosetmessages: + msg2893
2012-01-18 21:59:27xiaobaisetassignedto: C_open -> paulproteus
2012-01-18 04:46:14xiaobaisetmessages: + msg2890
2012-01-12 17:14:37C_opensetfiles: + unnamed
messages: + msg2877
2012-01-12 16:54:48paulproteussetmessages: + msg2876
2012-01-12 11:09:48C_opensetmessages: + msg2875
2012-01-12 10:48:12C_opensetfiles: + unnamed
messages: + msg2874
2012-01-11 23:55:42jesstesssetmessages: + msg2873
2012-01-11 23:13:35C_opensetmessages: + msg2872
2012-01-11 23:02:51jesstesssetstatus: unread -> chatting
assignedto: C_open
messages: + msg2871
nosy: + jesstess
2012-01-11 22:45:28C_opencreate