Antoine Pitrou <pit...@free.fr> added the comment: Perhaps your bz2 files are simply multi-stream files? The bz2 module currently doesn't support them (it only decompresses the first stream); see issue1625 for a patch.
I'm not an expert on this, but it seems you can do: $ bzip2 -tvvv foo.bz2 foo.bz2: [1: huff+mtf rt+rld {0x135c15ac, 0x135c15ac}] combined CRCs: stored = 0x135c15ac, computed = 0x135c15ac [1: huff+mtf rt+rld {0x6ff631c1, 0x6ff631c1}] combined CRCs: stored = 0x6ff631c1, computed = 0x6ff631c1 ok My intuition is that if you get several lines about CRCs, it means there are several streams in the bz2 file. ---------- nosy: +pitrou _______________________________________ 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