This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients Eric.Wolf, neologix, niemeyer, pitrou, wrobell
Date 2011-03-01.22:28:37
SpamBayes Score 0.00104766
Marked as misclassified No
Message-id <1299018518.05.0.191386566633.issue10900@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-03-01 22:28:38pitrousetrecipients: + pitrou, niemeyer, wrobell, neologix, Eric.Wolf
2011-03-01 22:28:38pitrousetmessageid: <1299018518.05.0.191386566633.issue10900@psf.upfronthosting.co.za>
2011-03-01 22:28:37pitroulinkissue10900 messages
2011-03-01 22:28:37pitroucreate