system-config-printer.py crashed with UnboundLocalError in on_tvNPDevices_cursor_changed()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
system-config-printer (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Binary package hint: system-
Karmic Koala
Expected to be able to add a network printer and print.
Crashes on locating step.
ProblemType: Crash
Architecture: amd64
Date: Thu Sep 24 04:43:58 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/share/
InterpreterPath: /usr/bin/python2.6
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added.
MachineType: Gateway ML6732
Package: system-
PackageArchitec
Papersize: letter
ProcCmdLine: BOOT_IMAGE=
ProcCmdline: python /usr/share/
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
PythonArgs: ['/usr/
SourcePackage: system-
Title: system-
Traceback:
Traceback (most recent call last):
File "/usr/share/
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/24/2008
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: 93.13
dmi.board.vendor: Gateway
dmi.board.version: 93.13
dmi.chassis.
dmi.chassis.type: 8
dmi.chassis.vendor: Gateway
dmi.chassis.
dmi.modalias: dmi:bvnPhoenixT
dmi.product.name: ML6732
dmi.product.
dmi.sys.vendor: Gateway
Related branches
tags: | removed: need-duplicate-check |
visibility: | private → public |
Changed in system-config-printer (Ubuntu): | |
status: | New → In Progress |
Changed in system-config-printer (Ubuntu): | |
milestone: | none → ubuntu-9.10-beta |
status: | In Progress → Fix Committed |
importance: | Undecided → Critical |
Please apply the attached patch with
sudo patch -p4 < unboundlocalerr or-in-on_ tvnpdevices_ cursor_ changed- lp435740. patch
Please test whether this fixes the problem.
Please also have a look at bug 436218.