[Bug 1430773] Re: crash on unicode decode error

Martin Pitt martin.pitt at ubuntu.com
Fri Mar 13 10:35:43 UTC 2015


http://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/commit/?id=817529737a849

** Changed in: autopkgtest (Ubuntu)
       Status: Triaged => Fix Committed

** Changed in: autopkgtest (Ubuntu)
     Assignee: (unassigned) => Martin Pitt (pitti)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1430773

Title:
  crash on unicode decode error

Status in autopkgtest package in Ubuntu:
  Fix Committed

Bug description:
  autopackagetest crashed for me while working on the update to the
  twine package:

  
  adt-run --changes /home/zyga/Dropbox/Debian/twine/build-area/twine_1.5.0-1_amd64.changes --- schroot sid-amd64-sbuild
  ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

  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_actions()
    File "/usr/bin/adt-run", line 1748, in process_actions
      pkg = deb_package_name(arg)
    File "/usr/bin/adt-run", line 1499, in deb_package_name
      (rc, output) = script_out(cmd, stdout=subprocess.PIPE)
    File "/usr/bin/adt-run", line 136, in script_out
      output = process.communicate()[0]
    File "/usr/lib/python3.4/subprocess.py", line 947, in communicate
      stdout = _eintr_retry_call(self.stdout.read)
    File "/usr/lib/python3.4/subprocess.py", line 491, in _eintr_retry_call
      return func(*args)
    File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
      return codecs.ascii_decode(input, self.errors)[0]
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 902: ordinal not in range(128)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1430773/+subscriptions



More information about the foundations-bugs mailing list