[Jaunty] Trying to collect for bug 355851, apport-collect crashed with UnicodeDecodeError in encode()

Bug #363056 reported by Shaun Crampton
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: apport

Tried to run apport-collect 355851 but it failed with the following stacktrace:

Logging into Launchpad...
Downloading bug...
Bug title: [Jaunty] OpenOffice prints off top of sheet (Letter vs A4 problem?)
Collecting apport information for source package cups...
Uploading additional information to Launchpad bug...
   short text data...
   attachment: BootDmesg.txt...
Traceback (most recent call last):
  File "/usr/bin/apport-collect", line 173, in <module>
    upload(report, bug)
  File "/usr/bin/apport-collect", line 97, in upload
    filename=part.get_filename(), is_patch=False)
  File "/usr/lib/python2.6/dist-packages/launchpadlib/resource.py", line 337, in __call__
    args[key] = simplejson.dumps(value, cls=DatetimeJSONEncoder)
  File "/var/lib/python-support/python2.6/simplejson/__init__.py", line 243, in dumps
    **kw).encode(obj)
  File "/var/lib/python-support/python2.6/simplejson/encoder.py", line 360, in encode
    return encode_basestring_ascii(o)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xae in position 27423: unexpected code byte

ProblemType: Crash
ApportLog:

Architecture: i386
CrashReports: 600:1000:1000:10126:2009-04-17 19:42:18.005540000 +0100:2009-04-17 19:42:28.465544096 +0100:/var/crash/_usr_bin_apport-collect.1000.crash
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/apport-collect
InterpreterPath: /usr/bin/python2.6
Package: apport 1.0-0ubuntu4
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/apport-collect 355851
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_GB.UTF-8
PythonArgs: ['/usr/bin/apport-collect', '355851']
SourcePackage: apport
Title: apport-collect crashed with UnicodeDecodeError in encode()
Uname: Linux 2.6.28-11-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin netdev plugdev powerdev sambashare scanner vboxusers video

Revision history for this message
Shaun Crampton (fasaxc) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Revision history for this message
Shaun Crampton (fasaxc) wrote :

Also occurs when run against 357732. Likely a problem when running against any cups bug.

Revision history for this message
Hadmut Danisch (hadmut) wrote :

I can confirm that bug (see bug #371261):

Downloading bug...
Bug title: cups autoinstalls printer repeatedly
Collecting apport information for source package cups...
Uploading additional information to Launchpad bug...
   short text data...
   attachment: BootDmesg.txt...
Traceback (most recent call last):
  File "/usr/bin/apport-collect", line 173, in <module>
    upload(report, bug)
  File "/usr/bin/apport-collect", line 97, in upload
    filename=part.get_filename(), is_patch=False)
  File "/usr/lib/python2.6/dist-packages/launchpadlib/resource.py", line 337, in __call__
    args[key] = simplejson.dumps(value, cls=DatetimeJSONEncoder)
  File "/var/lib/python-support/python2.6/simplejson/__init__.py", line 243, in dumps
    **kw).encode(obj)
  File "/var/lib/python-support/python2.6/simplejson/encoder.py", line 360, in encode
    return encode_basestring_ascii(o)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xae in position 38753: unexpected code byte

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.