scp-dbus-service.py crashed with TypeError in __new__(): 'NoneType' object is not iterable

Bug #1218574 reported by Cristian Aravena Romero
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Install printer and crash.

ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: system-config-printer-common 1.4.2-0ubuntu1
ProcVersionSignature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7
Uname: Linux 3.11.0-4-generic x86_64
ApportVersion: 2.12.1-0ubuntu2
Architecture: amd64
CupsErrorLog:
 W [28/Aug/2013:18:16:34 -0400] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'MFC-8860DN-Gray..' already exists
 E [29/Aug/2013:15:25:13 -0400] [Job 14] Unable to queue job for destination "Aficio-MP-C2051".
Date: Thu Aug 29 15:26:24 2013
ExecutablePath: /usr/share/system-config-printer/scp-dbus-service.py
InstallationDate: Installed on 2013-07-31 (29 days ago)
InstallationMedia: Ubuntu-GNOME 13.10 "Saucy Salamander" - Alpha amd64 (20130724)
InterpreterPath: /usr/bin/python2.7
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added.
MachineType: SAMSUNG ELECTRONICS CO., LTD. 530U3C/530U4C
MarkForUpload: True
PackageArchitecture: all
Papersize: letter
ProcCmdline: /usr/bin/python /usr/share/system-config-printer/scp-dbus-service.py
ProcEnviron:
 LANGUAGE=es_CL:es
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=es_CL.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-3.11.0-4-generic root=UUID=0c67119c-ddae-476a-b510-142ec598f691 ro rootflags=subvol=@ 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 __new__(): 'NoneType' object is not iterable
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 04/15/2013
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: P14AAJ
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: SAMSUNG_NP1234567890
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: FAB1
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvrP14AAJ:bd04/15/2013:svnSAMSUNGELECTRONICSCO.,LTD.:pn530U3C/530U4C:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rnSAMSUNG_NP1234567890:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
dmi.product.name: 530U3C/530U4C
dmi.product.version: 0.1
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

Revision history for this message
Cristian Aravena Romero (caravena) wrote :
tags: removed: need-duplicate-check
Changed in system-config-printer (Ubuntu):
importance: Undecided → Medium
information type: Private → Public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in system-config-printer (Ubuntu):
status: New → Confirmed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can you update your system to the newest state and try again?

Please run the command

system-config-printer --debug

in a terminal window, do the steps to get the crash, and post the screen output here? Thanks.

Changed in system-config-printer (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Stefan (stefan13) wrote :
Download full text (17.7 KiB)

ethodCall instance at 0xa6f804c>>, <bound method _IPPAuthOperation.error_handler of <asyncipp._IPPAuthOperation instance at 0xa6f81cc>>, <bound method _IPPAuthOperation.auth_handler of <asyncipp._IPPAuthOperation instance at 0xa6f81cc>>)
-<asyncipp._IPPAuthOperation instance at 0xa6f1c8c>
Call <method 'getPPD3' of 'cups.Connection' objects>
<asyncpk1._PK1AsyncMethodCall instance at 0xa6f18ac>: chaining up to <bound method _AsyncMethodCall.reply_handler of <asyncconn._AsyncMethodCall instance at 0xa6f1e2c>>
<asyncconn._AsyncMethodCall instance at 0xa6f1e2c>: to reply_handler at <bound method Connection._subst_reply_handler of <asyncconn.Connection object at 0xa6d604c>>
DESTROY: <asyncconn._AsyncMethodCall instance at 0xa6f1e2c>
<asyncconn.Connection object at 0xa6d604c>: chaining up to <function <lambda> at 0xa6f91ec>
DESTROY: <asyncpk1._PK1AsyncMethodCall instance at 0xa6f18ac>
-<asyncconn._AsyncMethodCall instance at 0xa6f1e2c>
-_PK1AsyncMethodCall: <asyncpk1._PK1AsyncMethodCall instance at 0xa6f18ac>
get_notifications
62 printer-state-changed Printer "Canon-MP830" state changed.
{'notify-charset': u'utf-8',
 'notify-natural-language': u'en-us',
 'notify-printer-uri': u'ipp://<computername>/printers/Canon-MP830',
 'notify-sequence-number': 62,
 'notify-subscribed-event': u'printer-state-changed',
 'notify-subscription-id': 780,
 'notify-text': u'Printer "Canon-MP830" state changed.',
 'printer-is-accepting-jobs': True,
 'printer-name': u'Canon-MP830',
 'printer-state': 4,
 'printer-state-reasons': [u'offline-report'],
 'printer-up-time': 1383990144}
<ppdcache.PPDCache instance at 0xa6d602c>: fetch PPD for Canon-MP830
+<asyncconn._AsyncMethodCall instance at 0xa6f1e2c>
<asyncconn._AsyncMethodCall instance at 0xa6f1e2c>: calling <function binding at 0xa6f995c>
+_PK1AsyncMethodCall: <asyncpk1._PK1AsyncMethodCall instance at 0xa6f1c8c>
<asyncpk1._PK1AsyncMethodCall instance at 0xa6f1c8c>: calling <function <lambda> at 0xa6f34c4>
+<asyncipp._IPPAuthOperation instance at 0xa6f16cc>
Deferred populateList by 200ms
on_printer_modified called
63 printer-state-changed Printer "Canon-MP830" state changed.
{'notify-charset': u'utf-8',
 'notify-natural-language': u'en-us',
 'notify-printer-uri': u'ipp://<computername>/printers/Canon-MP830',
 'notify-sequence-number': 63,
 'notify-subscribed-event': u'printer-state-changed',
 'notify-subscription-id': 780,
 'notify-text': u'Printer "Canon-MP830" state changed.',
 'printer-is-accepting-jobs': True,
 'printer-name': u'Canon-MP830',
 'printer-state': 4,
 'printer-state-reasons': [u'offline-report'],
 'printer-up-time': 1383990144}
<ppdcache.PPDCache instance at 0xa6d602c>: fetch PPD for Canon-MP830
+<asyncconn._AsyncMethodCall instance at 0xb37b12c>
<asyncconn._AsyncMethodCall instance at 0xb37b12c>: calling <function binding at 0xa6f995c>
+_PK1AsyncMethodCall: <asyncpk1._PK1AsyncMethodCall instance at 0xb37b20c>
<asyncpk1._PK1AsyncMethodCall instance at 0xb37b20c>: calling <function <lambda> at 0xa6f34c4>
+<asyncipp._IPPAuthOperation instance at 0xb37b2ac>
Deferred populateList by 200ms
on_printer_modified called
update_jobs
Ignoring stale connecting-to-device
{}
Ignoring stale connecting-to-device x
<authco...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for system-config-printer (Ubuntu) because there has been no activity for 60 days.]

Changed in system-config-printer (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

This problem was also reported as part of bug 1248303, so I mark this one as duplicate.

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.