From: jerome <rom...@ya...> - 2012-10-11 10:01:13
|
> 'In my case I have pygobject 3.0 for trunk, and pygobject 2.0 for gramps 3.4' my config seems as close as yours: /usr/bin/pygobject-codegen-2.0 /usr/bin/X11/pygobject-codegen-2.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/lib/libpyglib-gi-2.0-python.so > "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" /usr/lib/python2.7/dist-packages/pygtk.py /usr/lib/python2.7/dist-packages/pygtk.pyc > 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. Both versions (3.4 and trunk) ran fine some days ago! I will try to reinstall. But does it mean that we have to do that every time an OS update will rebuild some links/references related to python or gobject? > "use the guide in GEP for GTK3 on how to use gdb to run gramps, so as to investigate segfaults" Is was added on bug report[1] Program received signal SIGSEGV, Segmentation fault. 0x003b0b66 in vfprintf () from /lib/i386-linux-gnu/libc.so.6 (gdb) bt #0 0x003b0b66 in vfprintf () from /lib/i386-linux-gnu/libc.so.6 #1 0x00471cc1 in __vasprintf_chk () from /lib/i386-linux-gnu/libc.so.6 #2 0x00624da6 in g_vasprintf () from /lib/i386-linux-gnu/libglib-2.0.so.0 #3 0x00601f03 in g_strdup_vprintf () from /lib/i386-linux-gnu/libglib-2.0.so.0 #4 0x005ec5d1 in g_logv () from /lib/i386-linux-gnu/libglib-2.0.so.0 #5 0x005ec8f3 in g_log () from /lib/i386-linux-gnu/libglib-2.0.so.0 #6 0x005ec93d in g_return_if_fail_warning () from /lib/i386-linux-gnu/libglib-2.0.so.0 #7 0x00726554 in g_type_get_qdata () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 #8 0x006e5da4 in ?? () from /usr/lib/python2.7/dist-packages/gobject/_gobject.so #9 0x006e5e1b in ?? () from /usr/lib/python2.7/dist-packages/gobject/_gobject.so #10 0x006e5ed4 in ?? () from /usr/lib/python2.7/dist-packages/gobject/_gobject.so #11 0x006e5dc8 in ?? () from /usr/lib/python2.7/dist-packages/gobject/_gobject.so #12 0x006e5e1b in ?? () from /usr/lib/python2.7/dist-packages/gobject/_gobject.so [1] https://bugs.launchpad.net/elementaryos/+bug/1065414/comments/1 --- En date de : Jeu 11.10.12, Benny Malengier <ben...@gm...> a écrit : De: Benny Malengier <ben...@gm...> Objet: Re: [Gramps-devel] Get Gramps 3.4 back? (was Gtk3 problems with ValidatedComboEntry on ubuntu 12.10) À: "jerome" <rom...@ya...> Cc: "Gramps developers" <gra...@li...>, "Serge Noiraud" <Ser...@fr...> Date: Jeudi 11 octobre 2012, 11h32 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 |