system-config-printer.py crashed with UnicodeDecodeError in sub()o

Bug #450576 reported by Kevin Tew
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: system-config-printer

/etc/cups$ /usr/share/system-config-printer/system-config-printer.py
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 3416, in on_new_printer_activate
    self.newPrinterGUI.init("printer")
  File "/usr/share/system-config-printer/system-config-printer.py", line 3823, in init
    self.fillDeviceTab()
  File "/usr/share/system-config-printer/system-config-printer.py", line 5032, in fillDeviceTab
    physicaldevice = PhysicalDevice (device)
  File "/usr/share/system-config-printer/PhysicalDevice.py", line 29, in __init__
    self.add_device (device)
  File "/usr/share/system-config-printer/PhysicalDevice.py", line 137, in add_device
    self._network_host = self._get_host_from_uri (device.uri)
  File "/usr/share/system-config-printer/PhysicalDevice.py", line 64, in _get_host_from_uri
    hostport);
  File "/usr/lib/python2.6/re.py", line 151, in sub
    return _compile(pattern, 0).sub(repl, string, count)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe2 in position 0: unexpected end of data

ProblemType: Crash
Architecture: amd64
CheckboxSubmission: 204509c0aa55ea272e5e2f08fee66101
CheckboxSystem: 8dc4bd0b97cb0bc14d27bc5216cb9676
Date: Tue Oct 13 11:59:01 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/share/system-config-printer/system-config-printer.py
InterpreterPath: /usr/bin/python2.6
Lpstat:
 device for HP-LaserJet-M4345-MFP: hp:/usb/HP_LaserJet_M4345_MFP?serial=CNDC82001M
 device for HP-Photosmart-2600: hp:/net/Photosmart_2600_series?ip=192.168.30.103
MachineType: Dell Inc. Latitude D830
NonfreeKernelModules: nvidia
Package: system-config-printer-gnome 1.1.12+git20090826-0ubuntu5
PackageArchitecture: all
Papersize: letter
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
PpdFiles:
 HP-Photosmart-2600: HP Photosmart 2600 Series hpijs, 3.9.8
 HP-LaserJet-M4345-MFP: HP LaserJet M4345 MFP Postscript (recommended)
 HP-LaserJet-M4345-MFP2: HP LaserJet M4345 MFP Postscript (recommended)
 HP-LaserJet-M4345-MFP-2: HP LaserJet M4345 MFP Postscript (recommended)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-13-generic root=UUID=2102bbc2-37b0-459e-97bb-098c23234848 ro
ProcCmdline: python /usr/share/system-config-printer/system-config-printer.py
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-13.45-generic
PythonArgs: ['/usr/share/system-config-printer/system-config-printer.py']
SourcePackage: system-config-printer
Title: system-config-printer.py crashed with UnicodeDecodeError in sub()
Uname: Linux 2.6.31-13-generic x86_64
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare
dmi.bios.date: 06/07/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A02
dmi.board.name: 0UY141
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA02:bd06/07/2007:svnDellInc.:pnLatitudeD830:pvr:rvnDellInc.:rn0UY141:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Latitude D830
dmi.sys.vendor: Dell Inc.

Revision history for this message
Kevin Tew (tewky) wrote :
Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make Ubuntu better. This particular crash has already been reported and is a duplicate of bug #437997, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
visibility: private → public
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.