DeaconDesperado / python-geohash

Automatically exported from code.google.com/p/python-geohash
0 stars 0 forks source link

python-geohash-0.2.tar.gz is gzipped twice #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The file at
http://python-geohash.googlecode.com/files/python-geohash-0.2.tar.gz
appears to be gzipped twice. This prevents pip and easy_install from
working with python-geohash, and doing "tar xvfz" manually doesn't work:

$ tar xvfz python-geohash-0.2.tar.gz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Error exit delayed from previous errors

However, if I gunzip the file first, then "tar xvfz" works:

$ gunzip python-geohash-0.2.tar.gz
$ tar xvfz python-geohash-0.2.tar   
python-geohash-0.2/
...

Original issue reported on code.google.com by wit...@gmail.com on 12 Nov 2009 at 6:53

GoogleCodeExporter commented 9 years ago
This is what happens with pip:

$ sudo pip install python-geohash
Downloading/unpacking python-geohash
  Downloading python-geohash-0.2.tar.gz
Exception:
...
  File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/tarfile.
py",
line 1835, in next
    "file: %s" % e)
ReadError: empty, unreadable or compressed file: invalid literal for int() with 
base
8: ';;\x9c\xdf\xeefu\x95'

And with easy_install:

$ sudo easy_install python-geohash
Searching for python-geohash
Reading http://pypi.python.org/simple/python-geohash/
Reading http://code.google.com/p/python-geohash/
Reading http://code.google.com/p/python-geohash/source/browse/#svn/trunk
Best match: python-geohash 0.2
Downloading http://python-geohash.googlecode.com/files/python-geohash-0.2.tar.gz
Processing python-geohash-0.2.tar.gz
error: Not a recognized archive type: 
/tmp/easy_install-f-LRRL/python-geohash-0.2.tar.gz

Original comment by wit...@gmail.com on 12 Nov 2009 at 6:56

GoogleCodeExporter commented 9 years ago
Thank you for report. I confirmed that the file was mysteriously gzipped twice. 
I 
replaced the file 
http://python-geohash.googlecode.com/files/python-geohash-0.2.tar.gz 
.

Original comment by Hiroaki.Kawai@gmail.com on 13 Nov 2009 at 2:19

GoogleCodeExporter commented 9 years ago

Original comment by Hiroaki.Kawai@gmail.com on 13 Nov 2009 at 2:21