2009/5/29 Dianne Reuby <pramclub@yahoo.co.uk>
This mod worked for a couple of days, but now I'm back with the
segmentation fault (no other error message but that). I had a look at
bug 2901, which took me to a bug on Python
http://bugs.python.org/issue5909 dated this month, so I'm still
stuck. :( Do I just need to wait for that Python correction to filter
through to Ubuntu? (Sorry, I'm a beginner with Linux.)

Strange. Perhaps ubuntu upgraded a dependency of python 2.5 to the code that has this bug.
The error is not due to GRAMPS, but we can change the code to make things work again we believe.
The solution is in bug http://www.gramps-project.org/bugs/view.php?id=3008 and will be present in version 3.1.2 of GRAMPS which should be ready the coming weeks.

You can try the fix by editing one file. Let us know if it works for you. Do backup your gramps data first (the .gramps folder). No issues have been seen with the developers, but you never know.

So, the fix is in the file ManagedWindow.py:

-class ManagedWindow:
+class ManagedWindow(object):

Yes, you read that correctly, just add the "(object)"
To find that file on your computer, it is easiest in a terminal, where you type:
locate  ManagedWindow.py

It probably will be in the directory: /usr/local/share/gramps/ManagedWindow.py
You need a root session to edit this file.

If you can wait, version 3.1.2 will have some more likewise changes we assume are beneficial. Our release manager normally also makes an ubuntu .deb package you will be able to install.

Benny



Dianne

On Wed, 2009-05-13 at 12:38 +0000, J?r?me wrote:
> On Tue, 2009-05-12 at 20:23 +0200, J?r?me wrote:
> > https://bugs.edge.launchpad.net/ubuntu/+source/gtkspell/+bug/120569
> > this was an old bug (I hope this should be fixed on 9.04 !)
> >
> > Seems you don't have installed hebrew hspell, but this is just a
> warning
> > (spell is used on Note Editor as an option)
> > I just find strange that Gramps loads Mozilla xulrunner libs :
> > /usr/lib/xulrunner-1.9.0.10/libxpcom.so
> >
> > True, some people have segmentation faults under Ubuntu-9.04 with
> > 8.10.deb package.
> http://www.gramps-project.org/bugs/view.php?id=2901
> >
> > Sometimes, this might be fixed by using a modified launcher.
> > Modifying the startup script in /usr/bin/gramps :
> >
> >      exec /usr/bin/python $GRAMPSDIR/gramps.py "$@"
> > to:
> >      exec /usr/bin/python2.5 -O $GRAMPSDIR/gramps.py "$@"
> >
> >
> >
> >
> > Maybe I need to compile Gramps-3.1.1 under Ubuntu-9.04, because I do
> not  segfaults by using sources !
> >


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Gramps-users mailing list
Gramps-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-users