From: Peter M. <pet...@gr...> - 2008-12-31 06:13:04
|
Dear Stephane Thank you for bearing with us during these holiday times. In my case my problem has arisen from the a catastrophic failure of an old machine. I was able to save my old home directory and data partitions so I was able to copy the old .gramps directory to the new home directory and restore the /data1/gramps directory where the gramps data base existed. I therefore thought it appropriate to follow the upgrading directions that are found in http://www.gramps-project.org/wiki/index.php?title=Upgrading_from_GRAMPS_2.2.x_to_3.0.x I have now tested several other options due to the discussion. Most of what I find is distressing. Firstly I am running Fedora Core 10, kernel 2.6.27.9-159 on a 64 bit machine equipped with Intel dual core 8400 operating at 3.0 GHZ. The version of Gnome is 2.24.2 This version of the Berkley Database tools use the nomenclature of db45_ Here is what I have on my system. ./usr/bin/db45_recover ./usr/bin/db45_deadlock ./usr/bin/db45_hotbackup ./usr/bin/db45_upgrade ./usr/bin/db45_archive ./usr/bin/db45_load ./usr/bin/db45_verify ./usr/bin/db45_dump ./usr/bin/db45_printlog ./usr/bin/db45_checkpoint ./usr/bin/db45_stat using the dump command as per the web site is oksy $ db45_dump gramps_test.grdb > somefile.txt Then using the load command db45_load new_gramps_test.grdb < somefile.txt we get the new grdb file. Here are the results from a listing of /data1/gramps where the data is stored. -rwxrwxr-x 1 peterm peterm 10354688 Dec 31 16:52 gramps_test.grdb* -rw-rw-r-- 1 peterm peterm 8173215 Dec 31 16:53 somefile.txt -rw-rw-r-- 1 peterm peterm 6701056 Dec 31 16:56 new_gramps_test.grdb When I attempt to load these I get the same error messages. I am a little concerned as to the sizes of the files. The .txt file is smaller than the grdb file and the new file is even smaller. The error message that I get is /tmp/tmpxxxxxx could not be opened xxxxxxx is a system assigned string. In all cases the file exists but the permissions seems screwed up as they are like -rw------- 1 peterm peterm 7798784 Dec 31 17:08 tmpmz6fEe This is I own them and can read and write to them. Gramps issues the following message during execution Found import plugin for GRAMPS 2.x database I will patiently sit and wait for the holidays to pass and new suggestions to come ths Peter Stéphane Charette wrote: >> using version 3. I created a new family tree and tried to import my old >> database (a file ending in .grdb). When I try to do that, I get an >> error that /tmp/tmp<some-random-string> could not be opened. The file >> exists and permissions look ok (I own it and have r/w access to it. >> > > > The data is not lost. But the .grdb file cannot be used as-is without > the environment that goes with it. > > If you don't have the xml backups of your database, the easiest thing > to do to recover the database is to follow the steps described on the > wiki page you found: > > http://www.gramps-project.org/wiki/index.php?title=Recover_corrupted_grdb > > This is by far the most common problem and frequently asked question > for GRAMPS version 2.x. This problem has gone away in GRAMPS 3, which > uses the new "family trees" interface and has done away with the grdb > files. > > If the steps on that wiki page have not resolved the problem and > allowed you to retrieve your old database, please let us know exactly > where/how it fails so we can help out. > > Stéphane > > ------------------------------------------------------------------------------ > _______________________________________________ > Gramps-users mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-users > > -- *************************************************** * * Peter and Carol Morgan * 20 Goodparla St * Hawker, ACT, 2614 * Australia * * Home Phone +61 (0)2 6254 0137 * Peter's Mobile +61 (0)4 1854 0137 * * * *************************************************** |