Uploading a tar.gz or uncompressed tar file to https://launchpad.net/products/picard/main/+pots/picard/+upload fails
Bug #44773 reported by
Andrew Bennetts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Christian Reis | ||
Python |
Fix Released
|
Unknown
|
Bug Description
OOPS-133C192
This appears to be a bug in Python's tarfile module. If a gzipped tar file is passed to TarFile.open using the fileobj argument, and the order of the keys of the tarfile.
On my i386-architecture laptop, the dictionary-ordering luckily avoids this bug, but I'm guessing that for some reason it's different on Launchpad's production servers (64-bit?).
We can work around by detecting gzip files ourselves (with "content.
description: | updated |
Changed in rosetta: | |
status: | New → Confirmed |
Changed in python: | |
status: | Unknown → Fix Released |
To post a comment you must log in.
Users can probably work around this by uploading tar.bz2 files instead. We already explicitly check for bz2, and so avoid the problematic code.