system-config-printer.py crashed with AttributeError in on_printer_removed(): 'NoneType' object has no attribute 'name'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
system-config-printer (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: system-
Trying to Add/Install Brother MFC7220 print drivers. Error appears following the deletion of an added printer.
ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: system-
ProcVersionSign
Uname: Linux 2.6.38-7-generic x86_64
Architecture: amd64
Date: Thu Mar 24 14:15:38 2011
ExecutablePath: /usr/share/
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110322.1)
InterpreterPath: /usr/bin/python2.7
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No destinations added.
MachineType: TOSHIBA PORTEGE M800
Papersize: a4
ProcCmdline: /usr/bin/python /usr/share/
ProcEnviron:
LANGUAGE=en_AU:en
LANG=en_AU.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
PythonArgs: ['/usr/
SourcePackage: system-
Title: system-
Traceback:
Traceback (most recent call last):
File "/usr/share/
if self.printer.name == printer:
AttributeError: 'NoneType' object has no attribute 'name'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 01/08/2009
dmi.bios.vendor: TOSHIBA
dmi.bios.version: V3.20
dmi.board.name: PORTEGE M800
dmi.board.vendor: TOSHIBA
dmi.board.version: Not Applicable
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: TOSHIBA
dmi.chassis.
dmi.modalias: dmi:bvnTOSHIBA:
dmi.product.name: PORTEGE M800
dmi.product.
dmi.sys.vendor: TOSHIBA
Related branches
tags: | removed: need-duplicate-check |
visibility: | private → public |
Changed in system-config-printer (Ubuntu): | |
status: | In Progress → Fix Committed |
Fixed upstream in GIT revision e046f1d34. Thanks to Tim Waugh for the quick fix.