screenlets-daemon.py crashed with IndexError in __init__()

Bug #256329 reported by Atanas Atanasov
206
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Screenlets
Fix Released
Medium
Unassigned
human-theme (Ubuntu)
Invalid
Undecided
Unassigned
pygtk (Ubuntu)
Invalid
Undecided
Unassigned
screenlets (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: screenlets

Screenlets daemon crashed when clicked on the notification icon.

ProblemType: Crash
Architecture: amd64
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/share/screenlets-manager/screenlets-daemon.py
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: fglrx
Package: screenlets 0.1.2-1
PackageArchitecture: all
ProcAttrCurrent: unconfined
ProcCmdline: python /usr/share/screenlets-manager/screenlets-daemon.py
ProcEnviron:
 LANGUAGE=en_US.UTF-8:en
 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 IndexError in __init__()
Uname: Linux 2.6.26-5-generic x86_64
UserGroups: adm admin audio cdrom dialout dip floppy libvirtd lpadmin netdev plugdev powerdev sambashare scanner video

Tags: apport-crash
Revision history for this message
Atanas Atanasov (thenasko) wrote :
Revision history for this message
Kjell Braden (afflux) wrote :

Thanks for your report. I've forwarded it to the developers of the software.

Changed in screenlets:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Daniel Holm (danielholm) wrote :

Confirmed.

Revision history for this message
Viorel Cernăţeanu (vrilutza) wrote :

hello,
        me too

Revision history for this message
Rhonald (rhonaldmoses-gmail) wrote :

hi, me too, the same problem, but on 32-bit interpid

Revision history for this message
Hellsgator (hellsgate) wrote :

same here.

Revision history for this message
stormelf (elfwind) wrote :

Same thing here. Rightclicked screenlets icon in Intrepid 32bit

Revision history for this message
vikhyath (vikhyath-gmail) wrote :

same here intrepid 32bit, right clicked screenlets icon

Revision history for this message
mike.wilmoth (mike-wilmoth-gmail) wrote :

Same here, intrepid 32bit, right click then crash.

Revision history for this message
Julien Lavergne (gilir) wrote :

Confirmed.
Context menu for tray icon generate the crash.
Same package on Debian don't have the crash.

Changed in screenlets:
status: Triaged → Confirmed
Revision history for this message
Julien Lavergne (gilir) wrote :

The problem seems to be in gtk.ImageMenuItem : the get_children should return a label and a image but it return only a label in Ubuntu.

In Ubuntu, I do this :
import gtk
Imenu = gtk.ImageMenuItem(gtk.STOCK_MISSING_IMAGE)
children = Imenu.get_children()
print children
[<gtk.AccelLabel object at 0xd9ea00 (GtkAccelLabel at 0xbf7010)>]

In Debian, I do this
import gtk
Imenu = gtk.ImageMenuItem(gtk.STOCK_MISSING_IMAGE)
children = Imenu.get_children()
print children
[<gtk.AccelLabel object at 0xb7d7f6e4 (GtkAccelLabel at 0x8673018)>, <gtk.Image object at 0xb7d7f874 (GtkImage at 0x8652570)>]

Changed in human-theme:
status: New → Invalid
Changed in screenlets:
status: New → Invalid
Revision history for this message
Julien Lavergne (gilir) wrote :

Ok already reported in #275188 for pygtk, I'll try to prepare a workaround for screenlets.

Revision history for this message
Julien Lavergne (gilir) wrote :
Revision history for this message
James Westby (james-w) wrote :

Uploaded, thank you.

James

Changed in screenlets:
status: Confirmed → Fix Committed
Revision history for this message
James Westby (james-w) wrote :

Hi,

I'm closing the pygtk task as the bug is already open separately.

Thanks,

James

Changed in pygtk:
status: New → Invalid
Revision history for this message
James Westby (james-w) wrote :

Julien, it sounds like this gtk change will affect more than Ubuntu users
later on, are you sure the Screenlets task should be Invalid?

Thanks,

James

Revision history for this message
Julien Lavergne (gilir) wrote :

Correct, I reopen it.

Changed in screenlets:
status: Invalid → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package screenlets - 0.1.2-3ubuntu1

---------------
screenlets (0.1.2-3ubuntu1) intrepid; urgency=low

  * debian/10-ImageMenuItem-update.patch
   - Replace get_children() by get_child() and get_image() following pygtk
     modifications (LP: #256329).

 -- Julien Lavergne <email address hidden> Tue, 21 Oct 2008 21:13:22 +0200

Changed in screenlets:
status: Fix Committed → Fix Released
Revision history for this message
BernyMadriz (bernyamm) wrote :

me too, the error message appeared but I don't has big problem just fail for a few seconds

Revision history for this message
Jason J. Herne (hernejj) wrote :

The patch seems good, and it is currently working to fix screenlets in Ubuntu. Any reason why this has not been merged upstream yet?

Revision history for this message
Julien Lavergne (gilir) wrote :

Committed in revision 468 of screenlets trunk.

Changed in screenlets:
status: Confirmed → Fix Committed
importance: Undecided → Medium
Märt Põder (boamaod)
Changed in screenlets:
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.