system-config-printer.py crashed with AttributeError in setNPButtons(): 'NewPrinterGUI' object has no attribute 'printers'

Bug #749762 reported by Manuel Lopez Mateos
50
This bug affects 6 people
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Fix Released
High
Till Kamppeter

Bug Description

Binary package hint: system-config-printer

Trying to config printer.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: system-config-printer-gnome 1.3.1+20110222-0ubuntu12
ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
Uname: Linux 2.6.38-7-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Sun Apr 3 17:09:29 2011
ExecutablePath: /usr/share/system-config-printer/system-config-printer.py
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
InterpreterPath: /usr/bin/python2.7
Lpstat: device for HP-LaserJet-2100: dnssd://HP%20LaserJet%202100%20Series%20cups+gut%20%40%20iMLMac._ipp._tcp.local/cups
MachineType: Hewlett-Packard Compaq 515
Papersize: letter
ProcCmdline: /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-7-generic root=UUID=638a3b85-5b34-4702-9cea-900436810e06 ro quiet splash vt.handoff=7
PythonArgs: ['/usr/share/system-config-printer/system-config-printer.py']
SourcePackage: system-config-printer
Title: system-config-printer.py crashed with AttributeError in setNPButtons(): 'NewPrinterGUI' object has no attribute 'printers'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 12/17/2009
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68GVV Ver. F.0F
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 308C
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 27.09
dmi.chassis.asset.tag: CNU0282SR1
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68GVVVer.F.0F:bd12/17/2009:svnHewlett-Packard:pnCompaq515:pvrF.0F:rvnHewlett-Packard:rn308C:rvrKBCVersion27.09:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: Compaq 515
dmi.product.version: F.0F
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Manuel Lopez Mateos (manuel-unam) wrote :
tags: removed: need-duplicate-check
visibility: private → public
Revision history for this message
Sebastien Bacher (seb128) wrote :

Confirmed since it got some duplicates

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

Tim, can you have a look into this?

Revision history for this message
Tim Waugh (twaugh) wrote :

Sure this isn't already fixed upstream? e.g. with d08a302f or de427e5b

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Tim, thanks for the fixes. I had already applied d08a302f, now I have also applied de427e5b in 1.3.1+20110222-0ubuntu14. I hope this will solve the problem.

Changed in system-config-printer (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package system-config-printer - 1.3.1+20110222-0ubuntu14

---------------
system-config-printer (1.3.1+20110222-0ubuntu14) natty; urgency=low

  * debian/patches/63_more-error-handling-in-scp-dbus-service.patch:
    More error handling in scp-dbus-service.py (LP: #744783).
  * debian/patches/60_ensure-consistency-in-jobviewer-if-add-job-fails.patc:
    Ensure consistency in jobviewer if add-job fails (LP: #748366, Red Hat
    bugs #693055 and #632551).
  * debian/patches/57_make-sure-everything-is-ready-before-handlers-might-be-called.patch:
    Make sure everything is ready before handlers might be called.
    The NPTNetworkHostname entry widget seems to be emitting 'changed'
    (and the handler is called) immediately as it is initialised to the
    empty string. Make sure our handler is ready for that (LP: #749762,
    Red Hat bug #689336).
 -- Till Kamppeter <email address hidden> Wed, 13 Apr 2011 12:55:00 +0100

Changed in system-config-printer (Ubuntu):
status: Fix Committed → Fix Released
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.