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

Bug #336182 reported by wios
This bug report is a duplicate of:  Bug #333727: [jaunty] Cannot add a printer . Edit Remove
28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
New
Undecided
Unassigned
Nominated for Jaunty by Sebastian Geiger

Bug Description

Binary package hint: system-config-printer

occured when trying to add a new printer

ProblemType: Crash
Architecture: amd64
DistroRelease: /usr/bin/lsb_release:81: DeprecationWarning: the sets module is deprecated import sets Ubuntu 9.04
ExecutablePath: /usr/share/system-config-printer/system-config-printer.py
InterpreterPath: /usr/bin/python2.6
NonfreeKernelModules: nvidia
Package: system-config-printer-gnome 1.1.3+git20090218-0ubuntu3
PackageArchitecture: all
ProcCmdline: python /usr/share/system-config-printer/system-config-printer.py
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/share/system-config-printer/system-config-printer.py']
SourcePackage: system-config-printer
Title: system-config-printer.py crashed with UnboundLocalError in fillDeviceTab()
Uname: Linux 2.6.28-8-generic x86_64
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev root sambashare scanner video

Revision history for this message
wios (wios) wrote :
Revision history for this message
Olivier Berten (olivier-berten) wrote :

Same problem here with version 1.1.3+git20090218-0ubuntu4

  File "/usr/share/system-config-printer/system-config-printer.py", line 3330, in on_new_printer_activate
    self.newPrinterGUI.init("printer")
  File "/usr/share/system-config-printer/system-config-printer.py", line 3742, in init
    self.fillDeviceTab()
  File "/usr/share/system-config-printer/system-config-printer.py", line 4940, in fillDeviceTab
    device_select_path = model.get_path (iter)
UnboundLocalError: local variable 'iter' referenced before assignment

Revision history for this message
NeoFax (neofax99) wrote :

Same problem here.

Revision history for this message
Glauco (glauco-hass) wrote :

Confirmed here, 9.04 with latest updates.

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.