From: Benny M. <ben...@gm...> - 2012-10-11 09:32:28
|
2012/10/11 jerome <rom...@ya...> > I made a bug report > https://bugs.launchpad.net/elementaryos/+bug/1065414 > > I suppose that I made something wrong by trying to test 'trunk'... > I see that this is related to > /usr/lib/python2.7/dist-packages/gobject/_gobject.so > > But how to get back a working Gramps 3.4.x??? > Did you install some of the gobject code? In the guide for trunk, we say to install from private repo the gobject code. Do you do that? If so, remove that repo, and reinstall the gnome libs from that. As the error is: cannot register existing type `GtkWidget' it means two instances of pygobject are being loaded. Removing one should fix that. As gramps 3.4.x only uses the old pygtk, somewhere code must be imported from two different places. In my case I have pygobject 3.0 for trunk, and pygobject 2.0 for gramps 3.4 as follows: /usr/include/pygobject-3.0 /usr/include/pygobject-3.0/pygobject.h /usr/include/pygtk-2.0/pygobject.h /usr/lib/pkgconfig/pygobject-2.0.pc /usr/lib/pkgconfig/pygobject-3.0.pc /usr/local/include/pygobject-3.0 /usr/local/include/pygobject-3.0/pygobject.h /usr/local/lib/pkgconfig/pygobject-3.0.pc /usr/share/pygobject pygtk on the other hand should only occur as one package /usr/lib/python2.7/dist-packages/pygtk.pth /usr/lib/python2.7/dist-packages/pygtk.py Also, use the guide in GEP for GTK3 on how to use gdb to run gramps, so as to investigate segfaults Benny > > It was running fine, last week. > I should have the correct libs (gtk2, pygtk, etc ...). > > It just seems that I made something wrong for properly switching between > versions on the same installation! :( > > Any idea? > > Thank you! > Jérôme > > --- En date de : Jeu 11.10.12, jerome <rom...@ya...> a écrit : > > > De: jerome <rom...@ya...> > > Objet: [Gramps-devel] Re : Gtk3 problems with ValidatedComboEntry on > ubuntu 12.10 > > À: "Gramps developers" <gra...@li...>, "Serge > Noiraud" <Ser...@fr...> > > Date: Jeudi 11 octobre 2012, 10h24 > > Hi, > > > > > > I also get problems since update (precise based), but on > > 3.4.x branch! > > > > <string>:31: Warning: cannot register existing type > > `GtkWidget' > > <string>:31: Warning: cannot add class private field > > to invalid type '<invalid>' > > <string>:31: Warning: g_type_add_interface_static: > > assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed > > <string>:31: Warning: cannot register existing type > > `GtkBuildable' > > <string>:31: Warning: > > g_type_interface_add_prerequisite: assertion > > `G_TYPE_IS_INTERFACE (interface_type)' failed > > <string>:31: Warning: g_once_init_leave: assertion > > `result != 0' failed > > <string>:31: Warning: g_type_register_static: > > assertion `parent_type > 0' failed > > <string>:31: Warning: g_type_get_qdata: assertion > > `node != NULL' failed > > Erreur de segmentation (core dumped) > > > > kernel: [ 2542.377297] switchboard[4574]: segfault at 0 ip > > 009759ee sp bf9593d0 error 4 in > > libgtk-3.so.0.517.0[8fe000+518000] > > kernel: [ 2660.438120] python[4678]: segfault at bf49afd4 ip > > 00301b66 sp bf49afd0 error 6 in libc-2.15.so[2bf000+1a3000] > > kernel: [ 3230.567319] python[8051]: segfault at bf79cf74 ip > > 00516b66 sp bf79cf70 error 6 in libc-2.15.so[4d4000+1a3000] > > > > > _______________________________________________ > > Gramps-devel mailing list > > Gra...@li... > > https://lists.sourceforge.net/lists/listinfo/gramps-devel > > > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Gramps-devel mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-devel > |