From: Alex R. <sh...@al...> - 2003-07-24 22:50:55
|
On Thu, Jul 24, 2003 at 10:44:24PM +0200, Richard Bos wrote: > (gramps:10217): GLib-GObject-WARNING **: gobject.c:946: object class > `GnomeProgram' has no property named `default-icon' > Segmentation fault > > What does this error msg tell (involve, etc) and how severe is it? Does this > only show the top of iceberg or is it a single problem??? > > BTW: the error msg above is now reported, each time I start gramps. In fact, the GLib-GObject-WARNING message is due to libgnome bug which just have been fixed a few days ago. It should appear in the maintanence releases of 2.2 and in 2.4 of libgnome. See this page for the details: http://bugzilla.gnome.org/show_bug.cgi?id=109407 This message shows up on most systems and does not indicate the improper behavior of gramps, python, pygtk, or pygnome, since the bug is in the gnome library itself (although it surfaces only in the bindings :-) I have no idea why segmentation fault happens. I only know that is not necessarily related to the previous error message :-), since I have the one and not the other. To find out what causes the segfault, one can try inserting print statements into the code to determine how far the program goes and what exactly statement causes the segfault. A proper place would be the method __init__() of class Gramps in file src/gramps_main.py -- putting print "1" print "2" and so on every so often should produce the output when this modified version is run, up until the segfault. After that, one can further split the block in question until the culprit is found. The important thing here is to run a modified version, not the one you have unstalled under /usr/local/bin or elsewhere. One can just do $ cd gramps2/src $ ./gramps.py to run without re-installing every time. What to do after the culprit is found really depends on what it is. Unfortunately, it has to be done on SuSe machine and I don't have one. Richard, could you maybe try to pinpoint the segfaulting statement when you have a chance? Alex -- Alexander Roitman http://ebner.neuroscience.umn.edu/people/alex.html Dept. of Neuroscience, Lions Research Building 2001 6th Street SE, Minneapolis, MN 55455 Tel (612) 625-7566 FAX (612) 626-9201 |