2. Make sure the poc.py is configured to use Python3, then:
a. attach a binary file:
$ APPORT_STAGING=1 ./poc.py <bug_number> <binary_file.tar.xz>
b. attach a text file:
$ APPORT_STAGING=1 ./poc.py <bug_number> <text_file.json>
→ In both cases, the file is attached properly. It can then be downloaded and opened without problem.
3. Repeat step 2 using the poc.py in Python2 configuration
4. Repeat steps 1~3 using a Bionic container
→ In every cases, it worked out well for me. I attached a .tar.xz file, a .jpg file (the one attached to this issue) as well as a .json file, and in every cases I could download and open the file properly.
I followed the same procedure as in the description, using the same poc.py script.
Prereq:
- a xenial LXC container with -proposed packages enabled
- a bionic LXC container with -proposed packages enabled
Steps:
1. Connect to the Xenial container and install the following packages:
python-launchpadlib launchpadlib wadllib/ xenial- proposed wadllib/ xenial- proposed
python3-
python-
python3-
2. Make sure the poc.py is configured to use Python3, then:
a. attach a binary file: file.tar. xz>
$ APPORT_STAGING=1 ./poc.py <bug_number> <binary_
b. attach a text file:
$ APPORT_STAGING=1 ./poc.py <bug_number> <text_file.json>
→ In both cases, the file is attached properly. It can then be downloaded and opened without problem.
3. Repeat step 2 using the poc.py in Python2 configuration
4. Repeat steps 1~3 using a Bionic container
→ In every cases, it worked out well for me. I attached a .tar.xz file, a .jpg file (the one attached to this issue) as well as a .json file, and in every cases I could download and open the file properly.