2011/7/28 John Ralls <jralls@ceridwen.us>

On Jul 27, 2011, at 1:21 PM, Doug Blank wrote:

> 2011/7/27 Michaël Van Dorpe <michael.vandorpe@gmail.com>:
>> Many thanks for that little note, John. Following those guidelines, running gramps in OSX Lion is very easy indeed.
>> I had expected that I could now just copy my entire ubuntu /home/user/.gramps/grampsdb folder to my OSX /Users/user/Library/Application Support/gramps/grampsdb folder, and while that does populate the 'family tree' opening dialog window in gramps, loading a specific family tree results in the familiar 'Berkeley environment' error… Are there any other elements that I should copy from my ubuntu install?
>> (I know that I can just take a proper export of each family tree in ubuntu, but if possible, I would like to just copy the entire relevant directory.)
> In general, it is not enough to copy database files between systems.
> BSDDB can vary from system to system, even from version to version. In
> a word, BSDDB is not binary compatible except with the exact same
> version of itself.
> Nothing will work around this, except for having XML backups/exports
> and exporting/importing.
> (Someday, I would like to fix this by having an alternate backend that
> is guaranteed to remain backwards and platform compatible.)

The current release of Gramps uses BSDDB 4.7, while most Linux distros are on 4.8, and Oracle changed the log format (again) between the two versions. The next release of Gramps will have 4.8, which should allow better binary compatibility.

Yes, you can normally go to a newer version of bsddb (as being proven by people upgrading their linux to a newer version), but going backward is never possible with bsddb. We also cannot check on this easily as it crashes on opening the database (I believe we added version check outside of bsddb to allow for a better error message, but michiel worked on that I believe, not sure how stable it is).


John Ralls

Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
Gramps-devel mailing list