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

Bug #734968 reported by Peter Maunder
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: system-config-printer

Natty Alpha 3 adding a network HP D7100 printer connected to LAN Ubuntu 10.10 desktop. Previously worked with 10.10 to 10.10.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: system-config-printer-gnome 1.3.1+20110222-0ubuntu6
ProcVersionSignature: Ubuntu 2.6.38-6.34-generic 2.6.38-rc7
Uname: Linux 2.6.38-6-generic i686
Architecture: i386
CupsErrorLog:

Date: Mon Mar 14 18:20:44 2011
ExecutablePath: /usr/share/system-config-printer/system-config-printer.py
InterpreterPath: /usr/bin/python2.7
Lpstat:
 device for Brother-HL-5250DN: socket://192.168.0.2:9100
 device for HP-Photosmart-d7100: smb://peter-desktop/HP-PhotoTray
MachineType: Acer Aspire one
Papersize: A4
PpdFiles:
 Brother-HL-5250DN: Brother HL-5250DN BR-Script3
 HP-Photosmart-d7100: HP Photosmart d7100 Series, hpcups 3.11.1
ProcCmdline: /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
ProcEnviron:
 LANGUAGE=en_GB:en
 LANG=en_US.UTF-8
 LC_MESSAGES=en_GB.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: root=UUID=d9357b39-c1b8-4c81-8dcb-d67ef0a1209d ro quiet splash
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: Upgraded to natty on 2011-03-08 (6 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 02/20/2009
dmi.bios.vendor: Acer
dmi.bios.version: V1.05
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Aspire one
dmi.board.vendor: Acer
dmi.board.version: V1.05
dmi.chassis.type: 1
dmi.chassis.vendor: Acer
dmi.chassis.version: V1.05
dmi.modalias: dmi:bvnAcer:bvrV1.05:bd02/20/2009:svnAcer:pnAspireone:pvrV1.05:rvnAcer:rnAspireone:rvrV1.05:cvnAcer:ct1:cvrV1.05:
dmi.product.name: Aspire one
dmi.product.version: V1.05
dmi.sys.vendor: Acer

Revision history for this message
Peter Maunder (peter-maunder) wrote :
visibility: private → public
Changed in system-config-printer (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

  * debian/patches/35_set-connected-state-when-connecting-to-server-fails.patch:
    Set the "connected" state after a failure of connecting to CUPS, to
    avoid a runtime error (Red Hat bug 685098).
  * debian/patches/33_newprintergui-fix-traceback-with-self-printers-not-set.patch:
    New printer wizard crashes when adding a network (AppSocket/JetDirect)
    printer manually (LP: #734968, Red Hat bug #680683).
  * debian/patches/23_wait-for-cups-daemon-to-listen-after-sighup.patch,
    debian/patches/23_reconnect-automatically-on-cups-restart.patch:
    Replaced the patch to handle restarts of the CUPS daemon by the solution
    provided by upstream
    (https://fedorahosted.org/system-config-printer/ticket/219). Instead
    of waiting for the CUPS daemon coming back listening for a fixed timeout
    and only after that timeout showing the interface to handle the lost
    CUPS service, we show this screen immediately but in the background we
    listen to D-Bus signals of CUPS. If an appropriate signal appears, we
    cancel this interface immediately and show the CUPS queues again. So we
    can both manually switch to another CUPS server immediately in case of
    a total loss of the original CUPS server and do nothing and wait for
    the original server to come back.
 -- Till Kamppeter <email address hidden> Wed, 16 Mar 2011 23:09:52 +0100

Changed in system-config-printer (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Fix taken from upstream, GIT rev. fdbaa96b71d.

Tim, thanks for the fix.

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.