[Osgeo4w-trac] [osgeo4w] #209: apt: udate tarfile + bzip2 libraries

OSGeo4W trac_osgeo4w at osgeo.org
Mon Jan 31 19:45:23 EST 2011


#209: apt: udate tarfile + bzip2 libraries
-------------------+--------------------------------------------------------
Reporter:  maphew  |       Owner:  maphew 
    Type:  defect  |      Status:  new    
Priority:  major   |   Component:  Package
 Version:          |    Keywords:  pkg-apt
-------------------+--------------------------------------------------------
 now that setup.exe is no longer susceptible to the dreaded "not a bzip
 file" error (#101) it's time for apt to do the same, fix this problem:

 {{{
 installing xerces-c-vc9 3.1.1-1
 Traceback (most recent call last):
   File "d:\dee\code\o4w\apt\apt.py", line 1029, in <module>
     __main__.__dict__[command] ()
   File "d:\dee\code\o4w\apt\apt.py", line 147, in install
     install_next(missing.keys (), set([]), set([]))
   File "d:\dee\code\o4w\apt\apt.py", line 176, in install_next
     do_install ()
   File "d:\dee\code\o4w\apt\apt.py", line 408, in do_install
     pipe = tarfile.open (ball,'r:bz2')
   File "C:\OSGeo4W\apps\Python25\lib\tarfile.py", line 1166, in open
     return func(name, filemode, fileobj)
   File "C:\OSGeo4W\apps\Python25\lib\tarfile.py", line 1240, in bz2open
     raise ReadError("not a bzip2 file")
 tarfile.ReadError: not a bzip2 file
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/209>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer for the OSGeo stack.


More information about the Osgeo4w-trac mailing list