2017-11-03 03:21:47 |
Pierre Equoy |
bug |
|
|
added bug |
2017-11-03 03:21:47 |
Pierre Equoy |
attachment added |
|
poc.py https://bugs.launchpad.net/bugs/1729754/+attachment/5002718/+files/poc.py |
|
2017-11-03 03:23:01 |
Pierre Equoy |
attachment added |
|
kiyomizudera.jpg https://bugs.launchpad.net/bugs/1729754/+attachment/5002719/+files/kiyomizudera.jpg |
|
2017-11-03 03:23:38 |
Pierre Equoy |
attachment added |
|
kiyomizudera.jpg https://bugs.launchpad.net/bugs/1729754/+attachment/5002721/+files/kiyomizudera.jpg |
|
2017-11-03 03:25:54 |
Pierre Equoy |
description |
While working on porting a utility using launchpadlib from Python2 to Python3, I noticed the binary attachments were becoming unreadable.
I wrote a little proof of concept that uploads a given binary attachment to a launchpad issue (see attachment). To use it on staging launchpad:
APPORT_STAGING=1 ./poc.py <bug_number> </path/to/file.bin>
When using the exact same script with python2 (basically, replacing `python3` with `python` in the shebang line), the binary file is properly attached. That's why I think it's a bug with python3-launchpadlib. |
Tested on 16.04 and 17.10
python-launchpadlib (1.10.5-1)
python3-launchpadlib (1.10.5-1)
While working on porting a utility using launchpadlib from Python2 to Python3, I noticed the binary attachments were becoming unreadable.
I wrote a little proof of concept that uploads a given binary attachment to a launchpad issue (see attachment). To use it on staging launchpad:
APPORT_STAGING=1 ./poc.py <bug_number> </path/to/file.bin>
When using the exact same script with python2 (basically, replacing `python3` with `python` in the shebang line), the binary file is properly attached. That's why I think it's a bug with python3-launchpadlib. |
|
2017-11-03 03:27:28 |
Pierre Equoy |
description |
Tested on 16.04 and 17.10
python-launchpadlib (1.10.5-1)
python3-launchpadlib (1.10.5-1)
While working on porting a utility using launchpadlib from Python2 to Python3, I noticed the binary attachments were becoming unreadable.
I wrote a little proof of concept that uploads a given binary attachment to a launchpad issue (see attachment). To use it on staging launchpad:
APPORT_STAGING=1 ./poc.py <bug_number> </path/to/file.bin>
When using the exact same script with python2 (basically, replacing `python3` with `python` in the shebang line), the binary file is properly attached. That's why I think it's a bug with python3-launchpadlib. |
Tested on 16.04 and 17.10
python-launchpadlib (1.10.5-1)
python3-launchpadlib (1.10.5-1)
While working on porting a utility using launchpadlib from Python2 to Python3, I noticed the binary attachments were becoming unreadable.
I wrote a little proof of concept that uploads a given binary attachment to a launchpad issue (see attachment). To use it on staging launchpad:
APPORT_STAGING=1 ./poc.py <bug_number> </path/to/file.bin>
When using the exact same script with python2 (basically, replacing `python3` with `python` in the shebang line), the binary file is properly attached. That's why I think it's a bug with python3-launchpadlib.
I've tried uploading .jpg files, .tgz files, .tar.xz files, they all fail to open properly. |
|
2017-11-03 05:56:31 |
Pierre Equoy |
description |
Tested on 16.04 and 17.10
python-launchpadlib (1.10.5-1)
python3-launchpadlib (1.10.5-1)
While working on porting a utility using launchpadlib from Python2 to Python3, I noticed the binary attachments were becoming unreadable.
I wrote a little proof of concept that uploads a given binary attachment to a launchpad issue (see attachment). To use it on staging launchpad:
APPORT_STAGING=1 ./poc.py <bug_number> </path/to/file.bin>
When using the exact same script with python2 (basically, replacing `python3` with `python` in the shebang line), the binary file is properly attached. That's why I think it's a bug with python3-launchpadlib.
I've tried uploading .jpg files, .tgz files, .tar.xz files, they all fail to open properly. |
Tested on 16.04 and 17.10
python-launchpadlib (1.10.5-1)
python3-launchpadlib (1.10.5-1)
While working on porting a utility using launchpadlib from Python2 to Python3, I noticed the binary attachments were becoming unreadable.
I wrote a little proof of concept that uploads a given binary attachment to a launchpad issue (see attachment). To use it on staging launchpad:
APPORT_STAGING=1 ./poc.py <bug_number> </path/to/file.bin>
When using the exact same script with python2 (basically, replacing `python3` with `python` in the shebang line), the binary file is properly attached. That's why I think it's a bug with python3-launchpadlib.
I've tried uploading .jpg files, .tgz files, .tar.xz files, they all fail to open properly.
P.S.: When a fix is available, can it be ported to Xenial? We need this for our tools running on devices using Xenial. |
|
2017-11-03 05:56:51 |
Pierre Equoy |
description |
Tested on 16.04 and 17.10
python-launchpadlib (1.10.5-1)
python3-launchpadlib (1.10.5-1)
While working on porting a utility using launchpadlib from Python2 to Python3, I noticed the binary attachments were becoming unreadable.
I wrote a little proof of concept that uploads a given binary attachment to a launchpad issue (see attachment). To use it on staging launchpad:
APPORT_STAGING=1 ./poc.py <bug_number> </path/to/file.bin>
When using the exact same script with python2 (basically, replacing `python3` with `python` in the shebang line), the binary file is properly attached. That's why I think it's a bug with python3-launchpadlib.
I've tried uploading .jpg files, .tgz files, .tar.xz files, they all fail to open properly.
P.S.: When a fix is available, can it be ported to Xenial? We need this for our tools running on devices using Xenial. |
Tested on 16.04 and 17.10
python-launchpadlib (1.10.5-1 on 17.10)
python3-launchpadlib (1.10.5-1 on 17.10)
While working on porting a utility using launchpadlib from Python2 to Python3, I noticed the binary attachments were becoming unreadable.
I wrote a little proof of concept that uploads a given binary attachment to a launchpad issue (see attachment). To use it on staging launchpad:
APPORT_STAGING=1 ./poc.py <bug_number> </path/to/file.bin>
When using the exact same script with python2 (basically, replacing `python3` with `python` in the shebang line), the binary file is properly attached. That's why I think it's a bug with python3-launchpadlib.
I've tried uploading .jpg files, .tgz files, .tar.xz files, they all fail to open properly.
P.S.: When a fix is available, can it be ported to Xenial? We need this for our tools running on devices using Xenial. |
|
2017-12-27 09:48:27 |
Pierre Equoy |
attachment added |
|
test.tar.xz https://bugs.launchpad.net/bugs/1729754/+attachment/5027891/+files/test.tar.xz |
|
2017-12-27 09:50:41 |
Pierre Equoy |
attachment added |
|
test.tar.xz https://bugs.launchpad.net/bugs/1729754/+attachment/5027893/+files/test.tar.xz |
|
2018-07-03 15:40:00 |
Colin Watson |
affects |
launchpadlib |
wadllib |
|
2018-07-03 15:40:00 |
Colin Watson |
wadllib: importance |
Undecided |
High |
|
2018-07-03 15:40:00 |
Colin Watson |
wadllib: status |
New |
In Progress |
|
2018-07-03 15:40:00 |
Colin Watson |
wadllib: assignee |
|
Colin Watson (cjwatson) |
|
2018-07-04 16:09:01 |
Launchpad Janitor |
branch linked |
|
lp:~cjwatson/wadllib/fix-mime-encoding |
|
2018-07-20 08:54:39 |
Colin Watson |
bug task added |
|
python-wadllib (Ubuntu) |
|
2018-07-20 08:54:47 |
Colin Watson |
wadllib: status |
In Progress |
Fix Committed |
|
2018-07-20 08:54:55 |
Colin Watson |
nominated for series |
|
Ubuntu Bionic |
|
2018-07-20 08:54:55 |
Colin Watson |
bug task added |
|
python-wadllib (Ubuntu Bionic) |
|
2018-07-20 08:54:55 |
Colin Watson |
nominated for series |
|
Ubuntu Xenial |
|
2018-07-20 08:54:55 |
Colin Watson |
bug task added |
|
python-wadllib (Ubuntu Xenial) |
|
2018-07-20 16:59:22 |
Colin Watson |
wadllib: status |
Fix Committed |
Fix Released |
|
2018-07-20 18:03:58 |
Colin Watson |
description |
Tested on 16.04 and 17.10
python-launchpadlib (1.10.5-1 on 17.10)
python3-launchpadlib (1.10.5-1 on 17.10)
While working on porting a utility using launchpadlib from Python2 to Python3, I noticed the binary attachments were becoming unreadable.
I wrote a little proof of concept that uploads a given binary attachment to a launchpad issue (see attachment). To use it on staging launchpad:
APPORT_STAGING=1 ./poc.py <bug_number> </path/to/file.bin>
When using the exact same script with python2 (basically, replacing `python3` with `python` in the shebang line), the binary file is properly attached. That's why I think it's a bug with python3-launchpadlib.
I've tried uploading .jpg files, .tgz files, .tar.xz files, they all fail to open properly.
P.S.: When a fix is available, can it be ported to Xenial? We need this for our tools running on devices using Xenial. |
Tested on 16.04 and 17.10
python-launchpadlib (1.10.5-1 on 17.10)
python3-launchpadlib (1.10.5-1 on 17.10)
While working on porting a utility using launchpadlib from Python2 to Python3, I noticed the binary attachments were becoming unreadable.
I've tried uploading .jpg files, .tgz files, .tar.xz files, they all fail to open properly.
P.S.: When a fix is available, can it be ported to Xenial? We need this for our tools running on devices using Xenial.
[Test Case]
I wrote a little proof of concept that uploads a given binary attachment to a launchpad issue (see attachment). To use it on staging launchpad:
APPORT_STAGING=1 ./poc.py <bug_number> </path/to/file.bin>
When using the exact same script with python2 (basically, replacing `python3` with `python` in the shebang line), the binary file is properly attached. That's why I think it's a bug with python3-launchpadlib.
[Regression Potential]
The only sensible way to fix this bug was to rewrite how wadllib does MIME-encoding of its form uploads, so it'll be important to test both text and binary uploads.
Launchpad only defines a few methods that use multipart/form-data, so the regression potential is confined to those: bug.addAttachment, distro_arch_series.setChroot, and project_release.add_file. |
|
2018-07-20 18:04:19 |
Colin Watson |
python-wadllib (Ubuntu): status |
New |
Fix Committed |
|
2018-07-20 18:04:22 |
Colin Watson |
python-wadllib (Ubuntu): importance |
Undecided |
High |
|
2018-07-20 18:04:24 |
Colin Watson |
python-wadllib (Ubuntu): assignee |
|
Colin Watson (cjwatson) |
|
2018-07-20 18:04:27 |
Colin Watson |
python-wadllib (Ubuntu Xenial): status |
New |
In Progress |
|
2018-07-20 18:04:29 |
Colin Watson |
python-wadllib (Ubuntu Xenial): importance |
Undecided |
High |
|
2018-07-20 18:04:31 |
Colin Watson |
python-wadllib (Ubuntu Xenial): assignee |
|
Colin Watson (cjwatson) |
|
2018-07-20 18:04:34 |
Colin Watson |
python-wadllib (Ubuntu Bionic): status |
New |
In Progress |
|
2018-07-20 18:04:36 |
Colin Watson |
python-wadllib (Ubuntu Bionic): importance |
Undecided |
High |
|
2018-07-20 18:04:38 |
Colin Watson |
python-wadllib (Ubuntu Bionic): assignee |
|
Colin Watson (cjwatson) |
|
2018-07-20 18:06:59 |
Colin Watson |
attachment added |
|
debdiff for xenial https://bugs.launchpad.net/ubuntu/+source/python-wadllib/+bug/1729754/+attachment/5165657/+files/python-wadllib_1.3.2-3ubuntu0.16.04.1.debdiff |
|
2018-07-20 18:07:20 |
Colin Watson |
attachment added |
|
debdiff for bionic https://bugs.launchpad.net/ubuntu/+source/python-wadllib/+bug/1729754/+attachment/5165658/+files/python-wadllib_1.3.2-3ubuntu0.18.04.1.debdiff |
|
2018-07-20 20:22:15 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2018-07-21 01:05:39 |
Launchpad Janitor |
python-wadllib (Ubuntu): status |
Fix Committed |
Fix Released |
|
2018-07-23 14:19:49 |
Łukasz Zemczak |
python-wadllib (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2018-07-23 14:19:50 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-07-23 14:19:52 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2018-07-23 14:19:54 |
Łukasz Zemczak |
tags |
patch |
patch verification-needed verification-needed-bionic |
|
2018-07-23 14:42:01 |
Łukasz Zemczak |
python-wadllib (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2018-07-23 14:42:05 |
Łukasz Zemczak |
tags |
patch verification-needed verification-needed-bionic |
patch verification-needed verification-needed-bionic verification-needed-xenial |
|
2018-07-24 03:50:27 |
Pierre Equoy |
tags |
patch verification-needed verification-needed-bionic verification-needed-xenial |
patch verification-done verification-done-bionic verification-done-xenial |
|
2018-07-30 10:05:10 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2018-07-30 10:15:14 |
Launchpad Janitor |
python-wadllib (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2018-07-30 16:13:36 |
Launchpad Janitor |
python-wadllib (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|