system-config-printer.py crashed with TypeError in on_enabled_activate(): decoding Unicode is not supported

Bug #1158158 reported by Viom
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

printing empty pages nonstop

ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: system-config-printer-gnome 1.3.12+20130308-0ubuntu2
ProcVersionSignature: Ubuntu 3.8.0-13.23-generic 3.8.3
Uname: Linux 3.8.0-13-generic i686
ApportVersion: 2.9.2-0ubuntu2
Architecture: i386
CupsErrorLog:
 E [21/Mar/2013:08:01:03 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/drv/cupsfilters.drv"!
 E [21/Mar/2013:08:57:28 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/drv/cupsfilters.drv"!
 W [21/Mar/2013:08:57:42 +0200] AddProfile failed: org.freedesktop.DBus.Error.UnknownMethod:No such interface `org.freedesktop.ColorManager' on object at path /org/freedesktop/ColorManager/devices/cups_Xerox_WorkCentre_M118
CurrentDmesg: [ 3183.254371] type=1400 audit(1363848953.089:31): apparmor="DENIED" operation="open" parent=1 profile="/usr/bin/evince" name="/proc/sys/vm/overcommit_memory" pid=6694 comm="EvJobScheduler" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Date: Thu Mar 21 09:02:27 2013
ExecutablePath: /usr/share/system-config-printer/system-config-printer.py
InstallationDate: Installed on 2013-03-13 (7 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha i386 (20130307)
InterpreterPath: /usr/bin/python2.7
Lpstat:
 device for toshiba: ipps://phn64.local:631/printers/toshiba
 device for toshiba-copiator-comenzi: ipps://phn64.local:631/printers/toshiba-copiator-comenzi
 device for Xerox-WorkCentre-M118: socket://192.168.1.242:9100
MachineType: T-Systems PC Int. GmbH T-Systems PC P5LD2-VM-C
MarkForUpload: True
PackageArchitecture: all
Papersize: a4
PpdFiles: Xerox-WorkCentre-M118: Xerox WorkCentre M118 Foomatic/Postscript
ProcCmdline: /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-13-generic root=UUID=57a4e6eb-4d17-4c65-9c77-d0f1a4339be5 ro quiet splash vt.handoff=7
PythonArgs: ['/usr/share/system-config-printer/system-config-printer.py']
SourcePackage: system-config-printer
Title: system-config-printer.py crashed with TypeError in on_enabled_activate(): decoding Unicode is not supported
Traceback:
 Traceback (most recent call last):
   File "/usr/share/system-config-printer/system-config-printer.py", line 1578, in on_enabled_activate
     unicode (printer.name, 'utf-8'))
 TypeError: decoding Unicode is not supported
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 09/26/2006
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0003
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5LD2-VM-CR-SI
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 2.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0003:bd09/26/2006:svnT-SystemsPCInt.GmbH:pnT-SystemsPCP5LD2-VM-C:pvr:rvnASUSTeKComputerINC.:rnP5LD2-VM-CR-SI:rvrRev2.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: T-Systems PC P5LD2-VM-C
dmi.sys.vendor: T-Systems PC Int. GmbH

Revision history for this message
Viom (viom) wrote :
information type: Private → Public
tags: removed: need-duplicate-check
Changed in system-config-printer (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Tim Waugh (twaugh) wrote :

Fixed upstream in 6c7ea87.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Tim, thank you very much. I have uploaded a fixed package now.

Changed in system-config-printer (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package system-config-printer - 1.3.12+20130308-0ubuntu3

---------------
system-config-printer (1.3.12+20130308-0ubuntu3) raring; urgency=low

  * debian/patches/47_prioritize-postscript-against-hpcups.patch: If a printer
    is a PostScript and PCL printer, PostScript should be preferred and not
    the hpcups PCL driver.
  * debian/patches/45_system-config-printer-py-fixed-codec-issue.patch: Fixed
    codec issue (LP: #1158158).
 -- Till Kamppeter <email address hidden> Fri, 22 Mar 2013 14:13:29 +0100

Changed in system-config-printer (Ubuntu):
status: Fix Committed → Fix Released
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.