screenlets-daemon.py crashed with AttributeError in show_error()

Bug #218570 reported by Olaf on 2008-04-17
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
screenlets (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: screenlets

Installed screenlets.
Configured a few screenlets (temp sensor, weather, GMail, clipboard stack)
worked fine
restarted Ubuntu
saw no screenlets - selected "Launch Screenlets" from tray icon -> config.ini
crash

3 of the screenlets (2x temp - ACPI & CPU - and the clipboard stack) were set to widget layer (activated plugin in compiz).

ProblemType: Crash
Architecture: i386
Date: Thu Apr 17 11:25:27 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/share/screenlets-manager/screenlets-daemon.py
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: nvidia
Package: screenlets 0.0.12-0ubuntu4
PackageArchitecture: all
ProcCmdline: python /usr/share/screenlets-manager/screenlets-daemon.py
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/share/screenlets-manager/screenlets-daemon.py']
SourcePackage: screenlets
Title: screenlets-daemon.py crashed with AttributeError in show_error()
Uname: Linux 2.6.24-16-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev sambashare vboxusers video

Olaf (tholap) wrote :
Helder Fraga (whise) wrote :

if you want to fix this just replace

screenlets.show_error(self, 'Failed to add %sScreenlet.' % name)

with

 screenlets.show_error(None, 'Failed to add %sScreenlet.' % name)

Kjell Braden (afflux) on 2008-04-19
Changed in screenlets:
importance: Undecided → Medium
status: New → Triaged
Kjell Braden (afflux) wrote :

thanks whise, I've attached a debdiff for that fix.

Scott Kitterman (kitterman) wrote :

Ack from motu-release.

Emilio Pozuelo Monfort (pochu) wrote :

Uploaded.

Changed in screenlets:
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package screenlets - 0.0.12-0ubuntu5

---------------
screenlets (0.0.12-0ubuntu5) hardy; urgency=low

  * debian/patches/20_fix-crasher_lp-218570.patch: taken from upstream, fix a
    crash in the daemon (LP: #218570)

 -- Kjell Braden <email address hidden> Sat, 19 Apr 2008 17:15:58 +0200

Changed in screenlets:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers