Errors when reporting sound issues

Bug #868935 reported by Roger Binns
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
New
Undecided
Unassigned

Bug Description

When trying to report a bug with audio input from my webcam apport-bug crashes halfway through giving a python stack trace as shown below. Best guess is that the device reports itself as a "Microsoft® LifeCam Cinema(TM)" and the unicode tm symbol isn't handled by the apport code.

Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 368, in <module>
    app.run_argv()
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 568, in run_argv
    return self.run_report_bug()
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 329, in run_report_bug
    if self.run_symptoms():
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 541, in run_symptoms
    self.run_report_bug(os.path.join(symptom_script_dir, symptom + '.py'))
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 375, in run_report_bug
    self.collect_info(symptom_script)
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 812, in collect_info
    hookui.process_event()
  File "/usr/lib/python2.7/dist-packages/apport/ui.py", line 1362, in process_event
    self._response = getattr(self.ui, self._request_fn)(*self._request_args)
  File "/usr/share/apport/apport-gtk", line 277, in ui_question_yesno
    Gtk.ButtonsType.YES_NO)
  File "/usr/share/apport/apport-gtk", line 209, in _ui_message_dialog
    md.set_property('text', text.encode('UTF-8'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 108: ordinal not in range(128)

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: apport 1.23-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: nvidia
ApportLog:
 ERROR: apport (pid 20665) Wed Oct 5 22:09:15 2011: called for pid 18860, signal 11
 ERROR: apport (pid 20665) Wed Oct 5 22:09:15 2011: executable: /usr/bin/totem (command line "totem /tmp/tmpRgd7nG.pls")
 ERROR: apport (pid 20665) Wed Oct 5 22:09:23 2011: wrote report /var/crash/_usr_bin_totem.1000.crash
ApportVersion: 1.23-0ubuntu2
Architecture: amd64
Date: Thu Oct 6 00:04:00 2011
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Roger Binns (ubuntu-rogerbinns) wrote :
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.