From: <bm...@ca...> - 2007-04-06 10:49:08
|
Great to hear you have your data back. Don't forget to backup from now on with the .gramps xml format. Probably the directory structure on your DVD image is exactly as the Berkeley DB wants it to be, even if it only opens it readonly. Benny Quoting "Sebastian R. Wain" <seb...@ne...>: > Hi Benny, > > The behaviour is really weird and it seems I have found a solution by > chance and it's not related with environment stored: > > 1) I put my DVD backup of only "My Documents" > 2) I tried to open my grdb file, it says [obviously] "You do not have > write access to the selected file" > 3) I clicked OK and the file was opened ok. > > If I do the same but with a copy in my HD it doesn't open and gave > the same problem as before. > > In brief: trying to open the same file from DVD or from a HD copy, > the DVD copy opens but the HD does not. > The DVD and the HD has exactly the same information without > preserving previously full path. > > Hoping to give some 'light' to other gramps users with the same > problem. > > Regards, > Sebastian > > -- Sebastian R. Wain Nektra Advanced Computing > http://www.nektra.com > > bm...@ca... wrote: > > As an extra to this, if you after reinstall set back the > /.gramps/env directory, open of database will only work if the > database is in EXACTLY the same directory and with EXACTLY the same > name as before you deleted windows. This is because the env dir > contains this data and the database uses dirname and filename to know > which environment is the correct one.Let us know if you can solve the > problem like this.BennyQuoting ben...@ug...: > > Hi,The grdb file format is unfortunately *not* a portable format. > It can only be opened if also the original ..../.gramps/env directory > is present (and on the same architecture).You should backup and port > data via the .gramps fileformat which is an XML fileformat. (think of > .grdb as an SQL database, needing more than a file for storage, it > needs an environment per database table)Apart from that, it is > unclear to me why the error you get is 'unexpected file type or > format', I'm not really a GRAMPS code guru.Do you also get this error > if you in a console start gramps with: gramps --open filename --format > grdb You can use the 'run' command or dos console I suppose in windows > for that.About the portability issues of the .grdb file format, this > will be addressed in the future with GRAMPS 3.0, redesigning > completely how you work with family-trees, learning form the mistakes > made in 2.2.x series. Unfortunately the 2.2.x series has to continue > with this problem.Note that version 2.2.6 saves a backup on exit to > mitigate this problem, and this backup is in the .gramps format, and > can hence be used for porting. I hope you have kept one of these > files before reinstalling Windows.BennyQuoting Paul Clarke : > > SebastianDid you get a reply on this issue as I also have > it.RegardsPaul On Mon, 2007-03-19 at 19:14 -0300, Sebastian R. Wain > wrote: > > Hi,I have tried Gramps windows version on December/2006. After > reinstalling my PC and Gramps three weeks ago I tried to open my > files but all I receive was: "Could not open file family.grdb ... > Invalid argument -- family.grdb: unexpected file type or format"Is it > possible to load my previous .grdb files or do I need to install an > old gramps version and export it to load in latest release?Thanks, > Sebastian > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys-and earn > cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ Gramps-users mailing > list Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-users > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging > Program.------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys-and earn > cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ Gramps-users mailing > list Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-users > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging > Program.------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys-and earn > cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ Gramps-users mailing > list Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-users ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |