system-config-printer.py crashed with UnboundLocalError in on_tvNPDevices_cursor_changed()

Bug #436655 reported by Matej Kenda
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

The error happened when I wanted to add new (network) printer in Karmic.

ProblemType: Crash
Architecture: i386
CupsErrorLog:
 E [25/Sep/2009:07:52:51 +0200] Unable to remove temporary file "/var/spool/cups/tmp/.hplip" - Is a directory
 E [25/Sep/2009:13:54:25 +0200] Unable to remove temporary file "/var/spool/cups/tmp/.hplip" - Is a directory
 E [25/Sep/2009:16:18:54 +0200] Unable to remove temporary file "/var/spool/cups/tmp/.hplip" - Is a directory
 E [25/Sep/2009:16:22:21 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
 E [25/Sep/2009:16:23:41 +0200] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
CurrentDmesg:
 [ 27.056455] Linux agpgart interface v0.103
 [ 27.427261] [drm] Initialized drm 1.1.0 20060810
 [ 27.436768] pci 0000:00:02.0: setting latency timer to 64
 [ 27.444497] [drm] Initialized vboxvideo 1.0.0 20090303 for 0000:00:02.0 on minor 0
 [ 32.912073] eth0: no IPv6 routers present
Date: Fri Sep 25 16:23:49 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/share/system-config-printer/system-config-printer.py
InterpreterPath: /usr/bin/python2.6
Lpstat: device for KONICA-MINOLTA-C352-C300: socket://10.0.2.11:9100
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: innotek GmbH VirtualBox
Package: system-config-printer-gnome 1.1.12+git20090826-0ubuntu3
PackageArchitecture: all
Papersize: letter
PpdFiles: KONICA-MINOLTA-C352-C300: KONICA MINOLTA C352/C300 PS(P)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-10-generic root=UUID=e3a253bc-56da-429c-9986-03947ce4e4fa ro quiet splash
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-10.35-generic
PythonArgs: ['/usr/share/system-config-printer/system-config-printer.py']
SourcePackage: system-config-printer
Title: system-config-printer.py crashed with UnboundLocalError in on_tvNPDevices_cursor_changed()
Traceback:
 Traceback (most recent call last):
   File "/usr/share/system-config-printer/system-config-printer.py", line 5662, in on_tvNPDevices_cursor_changed
     if host == None and device.type in ["socket", "lpd", "ipp"]:
 UnboundLocalError: local variable 'host' referenced before assignment
Uname: Linux 2.6.31-10-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 12/01/2006
dmi.bios.vendor: innotek GmbH
dmi.bios.version: VirtualBox
dmi.modalias: dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:
dmi.product.name: VirtualBox
dmi.product.version: 1.2
dmi.sys.vendor: innotek GmbH

Revision history for this message
Matej Kenda (matejken) wrote :
visibility: private → public
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 #435740, 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
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.