[gcompris-devel] python crash

Olivier Samyn osamyn at ulb.ac.be
Tue Apr 22 09:05:12 UTC 2003


Le mar 22/04/2003 à 17:56, Olivier Berger a écrit :
> Hi.
> 
> I get this error when launching the python activity :
> 
> Fatal Python error: could not import gobject
> 
> I suspect it's because I need a python-gnome binding somewhere.
> 
> Do you have any clue on that issue ?
> 

Yes of course... you need pygtk, pyorbit and gnome-python...

> Now, I get a gnome crash dialog... wouldn't be best to catch python
> import  errors and just say that the plugin is somehow not available /
> or try all python imports first before displaying the icon of the
> activity in the board ?

Yes... good idea... I just done it and wanted people to test... This is
a good report... I'll add catching test BEFORE plugin initialisation.

Thanks.

-- 
Olivier Samyn <osamyn at ulb.ac.be>





More information about the Gcompris-devel mailing list