crash on unicode decode error
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | autopkgtest (Ubuntu) |
Low
|
Martin Pitt | ||
Bug Description
autopackagetest crashed for me while working on the update to the twine package:
adt-run --changes /home/zyga/
───────
adt-run [13:30:53]: version 3.11.1
adt-run [13:30:58]: testbed dpkg architecture: amd64
adt-run [13:30:58]: ERROR: unexpected error:
Traceback (most recent call last):
File "/usr/bin/adt-run", line 1837, in main
process_
File "/usr/bin/adt-run", line 1748, in process_actions
pkg = deb_package_
File "/usr/bin/adt-run", line 1499, in deb_package_name
(rc, output) = script_out(cmd, stdout=
File "/usr/bin/adt-run", line 136, in script_out
output = process.
File "/usr/lib/
stdout = _eintr_
File "/usr/lib/
return func(*args)
File "/usr/lib/
return codecs.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 902: ordinal not in range(128)
| Zygmunt Krynicki (zyga) wrote : | #1 |
| Martin Pitt (pitti) wrote : | #2 |
Indeed there's nothing special about that twine.deb. I can run "adt-run /tmp/twine_
I do get this crash if I run adt-run under the C locale, though. The package description indeed contains an unicode character ("you’ve", it's not the ASCII apostrophe but a fancy one).
| Changed in autopkgtest (Ubuntu): | |
| status: | New → Triaged |
| importance: | Undecided → Low |
| Martin Pitt (pitti) wrote : | #3 |
| Changed in autopkgtest (Ubuntu): | |
| status: | Triaged → Fix Committed |
| assignee: | nobody → Martin Pitt (pitti) |
| Launchpad Janitor (janitor) wrote : | #4 |
This bug was fixed in the package autopkgtest - 3.12
---------------
autopkgtest (3.12) unstable; urgency=medium
* ssh-setup/adb: Re-enable ssh after reboot, in case an upgrade disables it.
* ssh-setup/adb: Try to create /userdata/
rebooting without human interaction.
* Fix apt-get install --simulate version parsing with third-party sources.
(LP: #1430017)
* ssh-setup-nova: Add --security-groups option. (LP: #1429862)
* adt-buildvm-
verbose mode, this sometimes causes hangs. Go back to blocking reads, but
don't wait between them.
* Fix UnicodeDecodeError on .deb package name reading. (LP: #1430773)
* adt-virt-ssh: Export $SUDO_ASKPASS to tests if sudo is available.
(LP: #1431421)
-- Martin Pitt <email address hidden> Fri, 13 Mar 2015 12:52:49 +0100
| Changed in autopkgtest (Ubuntu): | |
| status: | Fix Committed → Fix Released |


13:53 < pitti> zyga: is that anything secret? if not, perhaps you could just attach the .debs to the bug (or give
.sbuildrc run
a pointer to them)
13:54 < zyga> pitti: no, nothing secret at all, just work-in-progress
13:54 < zyga> pitti: oh and that package doesn't have autopkgtests either, it's just a part of my standard