From: jerome <rom...@ya...> - 2011-07-20 17:27:12
|
> I had to manually edit ~/.gramps/gramps32/gramps.ini Oh, you tried gramps 3.2.x ! Note, you could build '3.3.0' from last stable tarball... > - Known issue ? > - Anyway to disable gtk-moz-embed ? GeoView has been rewritten on last stable release. I do not know details, but some limitations and issues with 3.2 are listed on: http://bcs.net.nz/wiki/index.php/Geography and we get rid of them on 3.3.0! :) Maybe just try 3.3.0, which provides a better GeoView intergration ? Jérôme --- En date de : Mer 20.7.11, Matt Keenan <mat...@gm...> a écrit : > De: Matt Keenan <mat...@gm...> > Objet: Re: [Gramps-devel] Building Gramps on Solaris 11 Express > À: rom...@ya... > Cc: gra...@li... > Date: Mercredi 20 juillet 2011, 16h52 > In playing with Gramps for a few > minutes, wow it's incredibly > detailed, I really like the web page generation. > > it will take me quite a long time to enter all of the > family > information I have into this tool, should be fun though. > > Anyhow on solaris just got a core with following trace : > > $ pstack core > core 'core' of 3256: /usr/bin/python -O > /opt/gramps/share/gramps/gramps.py > f9373b48 __1cMEmbedPrivateHRealize6Mpi_I_ (91074d8, > 8043b3c, 0, f93708e3) + 140 > f9370a7b > .XD$BAABp1R8NU5e.__1cVgtk_moz_embed_realize6FpnK_GtkWidget__v_ > (9176818, 80da600, 0, fd86a6ea) + 2bb > fd86a739 g_cclosure_marshal_VOID__VOID (84dc518, 0, 1, > a3283b0, > 8043da8, f93707c0) + 5d > fd852a6a g_type_class_meta_marshal (84dc518, 0, 1, > a3283b0, 8043da8, 74) + 46 > fd852775 g_closure_invoke (84dc518, 0, 1, a3283b0, > 8043da8, fd891328) + e1 > fd8691e4 signal_emit_unlocked_R (84dd148, 0, 9176818, 0, > a3283b0, > 9176818) + 564 > fd86896d g_signal_emit_valist (9176818, 10, 0, 8043f6c, 0) > + 989 > fd868ad1 g_signal_emit (9176818, 10) + 25 > fd0b9221 gtk_widget_realize (9176818, 80da600, 8043fa8, > fd0b8e36) + e5 > fd0b8ea1 gtk_widget_map (9176818, fd890b14, 8044018, > fcf0f8c4) + 81 > . > . > > > Happens every time I attempt to select Geogragphy Tab, so I > 've no > idea what's in this tab :-(. > I had to manually edit ~/.gramps/gramps32/gramps.ini and > set > "last-view" to something other than "geoview", and remove > the database > lock under ~/.gramps/grampsdb/<num>/lock in order to > get back running > again. > > - Known issue ? > - Anyway to disable gtk-moz-embed ? > > cheers > > Matt > > > > On 20 July 2011 14:45, Matt Keenan <mat...@gm...> > wrote: > > Jerome, > > > > Yep can confirm that patch pretty much works on > Solaris. > > > > I built and installed BDB 4.7.25, and python bsddb > module and applied patch > > similar to the gentoo patch, I actually wrapped the > import bsddb calls in > > sys.platform checks > > > > e.g. > > if sys.platform == "sunos5": > > import bsddb3 as bsddb > > else: > > import bsddb > > > > I can generate a patch if needed of the changes I've > made. > > > > I now have gramps up and running.... going to have > some fun playing around > > with it. > > > > Before I even try, latest BSD version is 5.2.28, just > wondering is gramps > > compatible with this version ? > > > > cheers > > > > Matt > > > > > > On 07/20/11 09:53, Jérôme wrote: > >>> > >>> Benny has commited a patch (for BSD ? or other > OS with a different > >>> naming than bsddb) > >> > >> The patch was for Gentoo: > >> http://www.gramps-project.org/bugs/view.php?id=4110 > >> > >> I suppose this should run fine on Solaris too > because this was the > >> proposed changes on the wiki page! :) > >> > >> > >> Regards, > >> Jérôme > >> > >> > >> > >> Jérôme a écrit : > >>> > >>> Hi, > >>> > >>> > >>>> I'm having access issues with the Gramps > wiki site. > >>> > >>> At glance, Solaris page is not up-to-date! > >>> http://www.gramps-project.org/wiki/index.php?title=Solaris_Platforms > >>> > >>> You do not need "python ReportLab" anymore > (done by python cairo). > >>> > >>> Anyway, there is also some tips, like: > >>> > >>> * src/gen/db/base.py > >>> change line 39 to read: > >>> from bsddb3 import db > >>> > >>> * src/gen/db/dbdir.py > >>> change line 39 to read: > >>> from bsddb3 import dbshelve, db > >>> > >>> * src/Editors/_EditFamily.py > >>> change line 28 to read: > >>> from bsddb3 import db as bsddb_db > >>> > >>> * src/GrampsDbUtils/_GrampsBSDDB.py > >>> change line 38 to read: > >>> from bsddb3 import dbshelve, db > >>> > >>> I suppose the behavior is different since this > previous try (3.0.x) > >>> and Benny has commited a patch (for BSD ? or > other OS with a different > >>> naming than bsddb) > >>> > >>> > >>> I hope this could help. > >>> Jérôme > >>> > >>> > >>> > >>> Matt Keenan a écrit : > >>>> > >>>> Hi, > >>>> > >>>> I've never used Gramps before, but am a > budding genealogist, and > >>>> whilst also being a > >>>> Solaris user/developer I decided to give > Gramps a go. If all works out > >>>> and I start using > >>>> Gramps for my day-to-day genealogy work, > there's a strong chance I'll > >>>> end up > >>>> becoming a contributer back to the Gramps > project, as I am currently > >>>> developing on > >>>> solaris in Python and I've been an avid > contributor to the GNOME > >>>> desktop project > >>>> for a number of years now. > >>>> > >>>> Apologies of my questions have been > answered but I'm having access > >>>> issues with the > >>>> Gramps wiki site. > >>>> > >>>> The requirements noted in the README a > pretty much satisfied on > >>>> Solaris and > >>>> Gramps seems to configure and build no > problem. > >>>> > >>>> However upon launching gramps I get python > module error : > >>>> > >>>> ImportError: No module named bsddb > >>>> > >>>> I did a bit of hunting around, and from > what I can see Berkeley DB is > >>>> not installed by > >>>> default on Solaris I have just downloaded > source for 5.2.28 and it > >>>> appears to build fine > >>>> (I'm hunting at the moment for an IPS pkg > version to install, easier > >>>> to maintain in the > >>>> long run.) However this does not include > the python module os.bsddb. > >>>> > >>>> Here's my questions : > >>>> - Is Gramps reliant on Berkeley DB ? or > can other DB backends be used > >>>> e.g. mysql ? > >>>> - README really should state that bsddb is > a hard requirement if in > >>>> reality it is, based > >>>> on harded coded import statements in > Gramps Error Logging it > >>>> certainly appears to > >>>> be a hard requirement. > >>>> - os.bsddb python module I just can't > find, Solaris has python 2.6.4 > >>>> bundled just > >>>> wondering does the os.bsddb module only > get built if Python itself is > >>>> built on a machine with Berkeley DB > installed ? if not where or how > >>>> can I get it. > >>>> > >>>> cheers > >>>> > >>>> Matt > >>>> > >>> > >>> > >>> > >>> > ------------------------------------------------------------------------------ > >>> > >>> 10 Tips for Better Web Security > >>> Learn 10 ways to better secure your business > today. Topics covered > >>> include: > >>> Web security, SSL, hacker attacks & Denial > of Service (DoS), private > >>> keys, > >>> security Microsoft Exchange, secure Instant > Messaging, and much more. > >>> http://www.accelacomm.com/jaw/sfnl/114/51426210/ > >>> > _______________________________________________ > >>> Gramps-devel mailing list > >>> Gra...@li... > >>> https://lists.sourceforge.net/lists/listinfo/gramps-devel > >> > > > > > > > > -- > HH Golf Society > www.hh-gs.com > > IFLAF > www.iflaf.com > |