printer-applet.py crashed with UnboundLocalError in set_statusicon_tooltip()

Bug #521061 reported by Errico Picchiarelli
38
This bug affects 6 people
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/kde4/apps/printer-applet/printer-applet.py
InstallationMedia: Kubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100209)
InterpreterPath: /usr/bin/python2.6
NonfreeKernelModules: nvidia
Package: printer-applet 4:4.4.0-0ubuntu1
ProcCmdline: python /usr/bin/printer-applet
ProcEnviron:
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-13.18-generic
PythonArgs: ['/usr/bin/printer-applet']
SourcePackage: kdeutils
Title: printer-applet.py crashed with UnboundLocalError in set_statusicon_tooltip()
Uname: Linux 2.6.32-13-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

tags: removed: need-duplicate-check
Revision history for this message
Jonathan Thomas (echidnaman) wrote : KDE/kdeutils/printer-applet

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
@@ -644,11 +644,11 @@
         if tooltip == None:
             num_jobs = len (self.jobs)
             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)
+ self.sysTray.setToolTip("printer", i18n("Print Status"), tooltip)

     def update_status (self, have_jobs=None):
         # Found out which printer state reasons apply to our active jobs.

visibility: private → public
Changed in kdeutils (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kdeutils - 4:4.4.1-0ubuntu1

---------------
kdeutils (4:4.4.1-0ubuntu1) lucid; urgency=low

  * New upstream bugfix release:
    - Bump build-depend versions
    - Update kdelirc.install, printer-applet.install and okteta.install
  * Backport svn revision 1089254 (LP: #521061)
 -- Jonathan Thomas <email address hidden> Sun, 28 Feb 2010 11:30:24 -0500

Changed in kdeutils (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.