system-config-printer.py crashed with AttributeError in rename_printer(): 'GUI' object has no attribute 'printer'

Bug #726954 reported by Rod Davis
32
This bug affects 3 people
Affects Status Importance Assigned to Milestone
system-config-printer (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: system-config-printer

Printer Config crashed when renaming the short-name of a printer, also caused a duplicate to be formed.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: system-config-printer-gnome 1.3.1+20110222-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic x86_64
Architecture: amd64
Date: Mon Feb 28 22:28:03 2011
ExecutablePath: /usr/share/system-config-printer/system-config-printer.py
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
InterpreterPath: /usr/bin/python2.7
Lpstat:
 device for Deskjet-D1300-series: hp:/usb/Deskjet_D1300_series?serial=TH66L110G904SN
 device for Deskjet-D1320: hp:/usb/Deskjet_D1300_series?serial=TH66L110G904SN
MachineType: Hewlett-Packard Compaq Presario CQ50 Notebook PC
PackageArchitecture: all
Papersize: letter
PpdFiles:
 Deskjet-D1320: HP Deskjet d1300 Series, hpcups 3.11.1
 Deskjet-D1300-series: HP Deskjet d1300 Series, hpcups 3.11.1
ProcCmdline: /usr/bin/python /usr/share/system-config-printer/system-config-printer.py
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-5-generic root=UUID=c81bf10f-70b0-4749-9b9e-3c2ce03e0f34 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 rename_printer(): 'GUI' object has no attribute 'printer'
UpgradeStatus: Upgraded to natty on 2011-02-26 (2 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 08/26/2009
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.52
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 360B
dmi.board.vendor: Wistron
dmi.board.version: 09.66
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Wistron
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.52:bd08/26/2009:svnHewlett-Packard:pnCompaqPresarioCQ50NotebookPC:pvrPCID:rvnWistron:rn360B:rvr09.66:cvnWistron:ct10:cvrChassisVersion:
dmi.product.name: Compaq Presario CQ50 Notebook PC
dmi.product.version: PCID
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Rod Davis (ahylianhuman) wrote :
tags: removed: need-duplicate-check
visibility: private → public
Revision history for this message
Tim Waugh (twaugh) wrote :

Should be fixed upstream by commit f7427c0.

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

Tim, thank you very much for the quick fix. I have applied the patch to the Ubuntu package (-0ubuntu10) now.

Changed in system-config-printer (Ubuntu):
status: In Progress → 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-0ubuntu10

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

  * debian/patches/40_fix-traceback-on-renaming-printers.patch:
    Renaming print queues caused a traceback and the queue with the old name
    did not get removed (LP: #726954).
 -- Till Kamppeter <email address hidden> Wed, 23 Mar 2011 15:43:52 +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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.