NotesScreenlet.py crashed with TypeError in __run_session()

Bug #197051 reported by Giuseppe Gortan
44
Affects Status Importance Assigned to Milestone
Screenlets
Fix Released
Undecided
Unassigned
screenlets (Ubuntu)
Fix Released
Low
Kjell Braden

Bug Description

Binary package hint: screenlets

The screenlets crash every time I log in.

ProblemType: Crash
Architecture: i386
Date: Fri Feb 29 16:54:37 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/share/screenlets/Notes/NotesScreenlet.py
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: nvidia
Package: screenlets 0.0.12-0ubuntu1
PackageArchitecture: all
ProcCmdline: python /usr/share/screenlets/Notes/NotesScreenlet.py > /dev/null
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/share/screenlets/Notes/NotesScreenlet.py', '>', '/dev/null']
SourcePackage: screenlets
Title: NotesScreenlet.py crashed with TypeError in __run_session()
Uname: Linux 2.6.24-10-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev vboxusers video

Tags: apport-crash
Revision history for this message
Giuseppe Gortan (superbeppe) wrote :
Revision history for this message
Kjell Braden (afflux) wrote :

This is because the signal handler defined in src/lib/session.py line 414 is being called with two arguments (see http://docs.python.org/lib/module-signal.html). I'll attach a patch in a minute.

Changed in screenlets:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Kjell Braden (afflux) wrote :

This patch also applies with patch -p1 to rev 219

Revision history for this message
Kjell Braden (afflux) wrote :
Revision history for this message
Helder Fraga (whise) wrote :

fixed in 0.0.15

Changed in screenlets:
status: New → Fix Released
Revision history for this message
Helder Fraga (whise) wrote :

thanks alot for your patch

Revision history for this message
Kjell Braden (afflux) wrote :

preparing a new ubuntu revision containing a fix for this and bug 201649.

Changed in screenlets:
assignee: nobody → afflux
status: Triaged → In Progress
Revision history for this message
Kjell Braden (afflux) wrote :

Uploading the new candidate in bug 208974 will fix this issue.

Changed in screenlets:
status: In Progress → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

  * debian/patches/12_fix-SIGTERM-handler.patch: don't crash on SIGTERM
    (LP: #197051)
  * debian/patches/13_fix-clearcalendar-url-crashes.patch: don't try
    opening calendars locally just because opening them via urllib2 threw an
    exception (LP: #201649)

 -- Kjell Braden <email address hidden> Sat, 29 Mar 2008 22:12:24 +0100

Changed in screenlets:
status: Triaged → 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.