scp-dbus-service.py crashed with TypeError in on_job_attributes_activate(): could not convert parameter 'str' of type 'gchararray'

Bug #733088 reported by garybrlow on 2011-03-11
36
This bug affects 4 people
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: system-config-printer

printing is a bit slow compared to the usual (pauses up to minute or more between prints if text-basèd and full page graphic documents take up 30 or more minutes before the printer actually prints). can't view queued document properties via print manager interface.

Xubuntu Natty 11.04 (development branch)
MSi U230 ULV
AMD L335 Dual Core
Radeon HD3200
4GB Memmory

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: system-config-printer-common 1.3.1+20110222-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-6.34-generic 2.6.38-rc7
Uname: Linux 2.6.38-6-generic i686
Architecture: i386
Date: Fri Mar 11 13:19:42 2011
ExecutablePath: /usr/share/system-config-printer/scp-dbus-service.py
InstallationMedia: Xubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110302)
InterpreterPath: /usr/bin/python2.7
Lpstat: device for EPSON-Stylus-T10: usb://EPSON/Stylus%20T10
MachineType: Micro-Star International U230
Papersize: letter
PpdFiles:
 EPSON_Stylus_T10: Epson Stylus T20 - CUPS+Gutenprint v5.2.6
 EPSON-Stylus-T10: Epson Stylus T20 - CUPS+Gutenprint v5.2.6 Simplified
 ML-1640-Series: Samsung ML-1640, 2.0.0
ProcCmdline: /usr/bin/python /usr/share/system-config-printer/scp-dbus-service.py
ProcEnviron:
 LANGUAGE=en_PH:en
 LANG=en_PH.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-6-generic root=UUID=c10fc476-6186-4bc0-a263-7ba199781dd3 ro quiet splash vt.handoff=7
PythonArgs: ['/usr/share/system-config-printer/scp-dbus-service.py']
SourcePackage: system-config-printer
Title: scp-dbus-service.py crashed with TypeError in on_job_attributes_activate(): could not convert parameter 'str' of type 'gchararray'
Traceback:
 Traceback (most recent call last):
   File "/usr/share/system-config-printer/jobviewer.py", line 1444, in on_job_attributes_activate
     label = gtk.Label(jobid) # notebook page has label with jobid
 TypeError: could not convert parameter 'str' of type 'gchararray'
UpgradeStatus: Upgraded to natty on 2011-03-03 (7 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 12/15/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: A1243AMS V1.18
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: MS1243X
dmi.board.vendor: MSI
dmi.board.version: Ver 1.000
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrA1243AMSV1.18:bd12/15/2009:svnMicro-StarInternational:pnU230:pvrVer1.000:rvnMSI:rnMS1243X:rvrVer1.000:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: U230
dmi.product.version: Ver 1.000
dmi.sys.vendor: Micro-Star International

garybrlow (garybrlow) wrote :
tags: removed: need-duplicate-check
garybrlow (garybrlow) wrote :

For Epson Stytus T10 or similar only.

visibility: private → public
Changed in system-config-printer (Ubuntu):
status: New → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package system-config-printer - 1.3.1+20110222-0ubuntu9

---------------
system-config-printer (1.3.1+20110222-0ubuntu9) natty; urgency=low

  * debian/patches/37_jobviewer-attributes-window-convert-numbers-to-strings.patch:
    In the code for the job attributes window in the job viewer (right-click a
    job and choose "View Attributes") on two points arguments have to be
    converted to strings. Once for the notebook page labels as the job IDs
    are numbers, and second for the attribute values, they can be numbers
    or even data structures (LP: #733088).
 -- Till Kamppeter <email address hidden> Mon, 21 Mar 2011 23:09:52 +0100

Changed in system-config-printer (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers