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

Bug #436099 reported by Juan Tyson
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

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

This happened when I tried to find a printer located on my M$ windows system,which is part of my network.

ProblemType: Crash
Architecture: amd64
CheckboxSubmission: 333b462fcd8d23b08971d4496ce8997f
CheckboxSystem: e704f33cc0866ff0f0256a33de39ea1c
CurrentDmesg:
 Error: command ['sh', '-c', 'dmesg | comm -13 /var/log/dmesg -'] failed with exit code 1: [ 38.654217] ppdev: user-space parallel port driver
 [ 39.121027] eth0: no IPv6 routers present
 [ 39.548025] eth1: no IPv6 routers present
 comm: file 2 is not in sorted order
 [ 102.500052] Clocksource tsc unstable (delta = -114063490 ns)
Date: Thu Sep 24 14:38:15 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/share/system-config-printer/system-config-printer.py
InterpreterPath: /usr/bin/python2.6
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added.
Lsusb:
 Bus 002 Device 002: ID 045e:00e1 Microsoft Corp. Wireless Laser Mouse 6000 Reciever
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 002: ID 05ca:1810 Ricoh Co., Ltd Pavilion Webcam [R5U870]
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Hewlett-Packard HP Pavilion dv9000 (RP115UA#ABA)
NonfreeKernelModules: nvidia wl
Package: system-config-printer-gnome 1.1.12+git20090826-0ubuntu3
PackageArchitecture: all
Papersize: letter
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-10-generic root=UUID=cbcfcdc9-ce8c-411c-85b7-ae1e183db5bb 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 x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 03/09/2009
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.42
dmi.board.name: 30B9
dmi.board.vendor: Quanta
dmi.board.version: 65.2C
dmi.chassis.type: 10
dmi.chassis.vendor: Quanta
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.42:bd03/09/2009:svnHewlett-Packard:pnHPPaviliondv9000(RP115UA#ABA):pvrRev1:rvnQuanta:rn30B9:rvr65.2C:cvnQuanta:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv9000 (RP115UA#ABA)
dmi.product.version: Rev 1
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Juan Tyson (juant) 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 #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
visibility: private → public
Revision history for this message
Juan Tyson (juant) wrote :

I was able to add the printer after reporting this error.

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.