printer-applet.py crashed with UnboundLocalError in set_statusicon_tooltip()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdeutils (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: kdeutils
In Kubuntu 10.04 64bit with KDE 4.4 udated today,
if i send a Test Page to my network Printer HP CM1312nfi, printer applet crash every time.
I've also my netbook with kubuntu 9.10 and KDE 4.4 and it print without plroblem.
ProblemType: Crash
Architecture: amd64
Date: Fri Feb 12 17:12:18 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/share/
InstallationMedia: Kubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100209)
InterpreterPath: /usr/bin/python2.6
NonfreeKernelMo
Package: printer-applet 4:4.4.0-0ubuntu1
ProcCmdline: python /usr/bin/
ProcEnviron:
LANG=it_IT.UTF-8
SHELL=/bin/bash
ProcVersionSign
PythonArgs: ['/usr/
SourcePackage: kdeutils
Title: printer-applet.py crashed with UnboundLocalError in set_statusicon_
Uname: Linux 2.6.32-13-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
tags: | removed: need-duplicate-check |
Changed in kdeutils (Ubuntu): | |
status: | New → Fix Committed |
SVN commit 1089254 by jmthomas:
Fix an incorrect variable name that caused an UnboundLocalError
CCMAIL: <email address hidden>
M +3 -3 printer-applet.py
--- trunk/KDE/ kdeutils/ printer- applet/ printer- applet. py #1089253:1089254
num_ jobs = len (self.jobs)
@@ -644,11 +644,11 @@
if tooltip == None:
if num_jobs == 0:
- tooltipText = i18n("No documents queued")
+ tooltip = i18n("No documents queued")
else:
- tooltipText = i18np("1 document queued", "%1 documents queued", num_jobs)
+ tooltip = i18np("1 document queued", "%1 documents queued", num_jobs)
- self.sysTray. setToolTip( "printer" , i18n("Print Status"), tooltipText) setToolTip( "printer" , i18n("Print Status"), tooltip)
+ self.sysTray.
def update_status (self, have_jobs=None):
# Found out which printer state reasons apply to our active jobs.