Charles-Francois Natali <neolo...@free.fr> added the comment:

After running this under gdb, it turns out that it's actually bzlib's bzRead 
that's returning a BZ_STREAM_END after only 900k bytes.
So it confims what I've been suspecting, i.e. that the file is corrupt (I got 
the error at exactly the same offset as you - it could be a bug in bzlib, but 
it'd be quite surprising).
Note that google returns quite a few occurrences of corrupted OSM archives, 
e.g. http://www.mail-archive.com/newbies@openstreetmap.org/msg01854.html

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10900>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to