[gcompris-devel] Python plugin startup

Bruno Coudoin bruno.coudoin at free.fr
Sat May 17 13:32:07 UTC 2003


Le sam 17/05/2003 à 13:15, Olivier Samyn a écrit :
> Two things that let me think that's an installation problem ... :)
> 
> First, it seems the bug is shown just afert the init_pygobject() call
> which comes from the PyGTK module...
> 
> Second, you have a gnome-python version 1.99.16 and a pygtk version
> 1.99.15 ... and of course the gnome-python module depends on the pygtk
> one...
> 
> Maybe some upgrade are needed no ? let me know about this...
> 

Right, that's it. Finaly it works. Now it's time to make a RELEASE ;)

Bruno.


> Also, I'll try to find time to come back ...
> 
> Olivier
> 
> Le jeu 15/05/2003 à 23:14, Bruno Coudoin a écrit :
> > I am not sure to have the correct level of libraries. I remember that I
> > got a mail from you concerning this but can get it anymore.
> > Here is what I have on my mandrake 9.1:
> > gnome-python-1.99.16-2mdk
> > python-base-2.2.2-6mdk
> > libpython2.2-devel-2.2.2-6mdk
> > pygtk2.0-wrapper-1.99.15-5mdk
> > libpython2.2-2.2.2-6mdk
> > pygtk2.0-1.99.15-5mdk
> > python-2.2.2-6mdk
> > python-numeric-22.0-2mdk
> > pygtk2.0-devel-1.99.15-5mdk
> > gnome-python-canvas-1.99.16-2mdk
> > 
> > Finaly got time to continue to debug. Here is the trace.
> > 
> > 
> > Breakpoint 1, pythonboard_start (agcomprisBoard=0x8232388) at
> > python.c:180
> > 180       if(agcomprisBoard!=NULL){
> > (gdb) n
> > 167     pythonboard_start (GcomprisBoard *agcomprisBoard){
> > (gdb) n
> > 180       if(agcomprisBoard!=NULL){
> > (gdb) n
> > 182         Py_SetProgramName(python_prog_name);
> > (gdb) n
> > 183         Py_Initialize();
> > (gdb) n
> > 185         PySys_SetArgv(1, python_args);
> > (gdb) n
> > 187         init_pygobject();
> > (gdb) n
> >  
> > (gcompris:24284): GLib-GObject-CRITICAL **: file gboxed.c: line 312
> > (g_boxed_type_register_static): assertion `g_type_from_name (name) == 0'
> > failed
> > 189         main_module = PyImport_AddModule("__main__");
> > 
> > 
> > 
> > Le sam 10/05/2003 à 17:51, Olivier Samyn a écrit :
> > > I already had a problem like this one during my developpements... but 
> > > don't remind when and what I done to go over...
> > > 
> > > Also I tested the current version and it worked for me :(
> > > 
> > > Can you try to find where it happens in the code ?
> > > 
> > > Olivier
> > > 
> > > Bruno Coudoin wrote:
> > > 
> > > >Olivier, then the issue I am facing is this error when I click on the
> > > >python board :
> > > >
> > > >(gcompris:3313): GLib-GObject-CRITICAL **: file gboxed.c: line 312
> > > >(g_boxed_type_register_static): assertion `g_type_from_name (name) == 0'
> > > >failed
> > > > 
> > > >
> > > >For your planning, as many people are waiting for a new release
> > > >especially due to the canvas bug. I suggest to create a new release as
> > > >soon as I have solved the problem mentionned above.
> > > >I propose to include a text in the python plugin saying :
> > > >Now gcompris activities can be coded in the Python scripting language
> > > >see www.python.org
> > > >That makes it easier than ever to implement your activity idea in
> > > >gcompris.
> > > >(of course, thanks Olivier Samys for this accomplishment)
> > > >
> > > >Bruno.
> > > >
> > > >
> > > >
> > > >
> > > >Le mar 06/05/2003 à 09:35, Olivier Samyn a écrit :
> > > >
> > > >>It comes just because gnome-python register itself as a gnome module ... 
> > > >>and it happends after the gnome main function is called. It's just a warning... 
> > > >>So just don't care...
> > > >>
> > > >>
> > > >>Also, I just started my new work and don't already have an ADSL connection at home. So I'll not read my e-mails for some weeks now.
> > > >>
> > > >>Olivier.
> > > >>
> > > >>>I have reinstalled my box from scratch with a Mandrake 9.1 and I have
> > > >>>this error :
> > > >>>
> > > >>>** Message: scan_plugins /usr/local/lib/gcompris/
> > > >>>
> > > >>>(gcompris:22378): Gnome-WARNING **: gnome-program.c:1185: cannot load
> > > >>>modules after program is initialized
> > > >>>
> > > >>>
> > > >>>I am sure Olivier that you already told me what it was but can't find it
> > > >>>back.
> > > >>>
> > > >>>Bruno.
> > > >>>
> > > >>>
> > > >>>
> > > >>>-------------------------------------------------------
> > > >>>This sf.net email is sponsored by:ThinkGeek
> > > >>>Welcome to geek heaven.
> > > >>>http://thinkgeek.com/sf
> > > >>>_______________________________________________
> > > >>>gcompris-devel mailing list
> > > >>>gcompris-devel at lists.sourceforge.net
> > > >>>https://lists.sourceforge.net/lists/listinfo/gcompris-devel
> > > >>>
> > > >>>
> > > >>
> > > >>
> > > >>
> > > >>-------------------------------------------------------
> > > >>This sf.net email is sponsored by:ThinkGeek
> > > >>Welcome to geek heaven.
> > > >>http://thinkgeek.com/sf
> > > >>_______________________________________________
> > > >>gcompris-devel mailing list
> > > >>gcompris-devel at lists.sourceforge.net
> > > >>https://lists.sourceforge.net/lists/listinfo/gcompris-devel
> > > >>
> > > >
> > > >
> > > >
> > > >-------------------------------------------------------
> > > >This sf.net email is sponsored by:ThinkGeek
> > > >Welcome to geek heaven.
> > > >http://thinkgeek.com/sf
> > > >_______________________________________________
> > > >gcompris-devel mailing list
> > > >gcompris-devel at lists.sourceforge.net
> > > >https://lists.sourceforge.net/lists/listinfo/gcompris-devel
> > > >
> > > >
> > > 
> > > 
> > > 
> > > 
> > > 
> > > -------------------------------------------------------
> > > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
> > > The only event dedicated to issues related to Linux enterprise solutions
> > > www.enterpriselinuxforum.com
> > > 
> > > _______________________________________________
> > > gcompris-devel mailing list
> > > gcompris-devel at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gcompris-devel
> > > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
> > The only event dedicated to issues related to Linux enterprise solutions
> > www.enterpriselinuxforum.com
> > 
> > _______________________________________________
> > gcompris-devel mailing list
> > gcompris-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gcompris-devel





More information about the Gcompris-devel mailing list