2008/3/6, David and Janet <djrpublic@cfl.rr.com>:
Suppose that an XML format data base was exported to the USB stick would
Gramps be happy with using that same DB on both machines?  That is
without all the complication of the formal grdb file system?

Yes, however, a crash during saving on an xml file might mean your entire file is corrupted. That is one of the reasons direct XML edit will no longer be possible in 3.0. Use it to it's full benifit in 2.2.x though, as long as you keep multiple copies.
Note further that as long as the entire xml file goes into RAM memory, editing should be fairly fast, some users prefer it even and claim it's faster (which I defenitely don't see on my box, I would say it's a lot slower).  None of the developers (I think) uses GRAMPS directly on XML files.


Dave Rowell

Benny Malengier wrote:
> 2008/3/6, David and Janet <djrpublic@cfl.rr.com

> <mailto:djrpublic@cfl.rr.com>>:

>     Is there some reason why she shouldn't consider a USB drive big enough
>     for the whole database - notes media and all?  If that were reasonable
>     then all she would have to do is move the USB stick from computer to
>     computer.  That is after she installed 2.2.10 on both computers.
> You can run from an USB,  but note that USB sticks will fail more
> easily than a hard disk on multiple writes (I think). So backup in time.
> In 2.2.10 you can however only run from USB if you hack GRAMPS so that
> the database environment is also on the stick. Somebody who has this
> up and running should do a wiki page on that! So this means that the
> grdb database and the log files in your ~/.gramps dir both have to be
> on the stick. Needs testing!
> In 3.0 this will be a lot simpler, you can just run data from where
> ever you want.
> There is a cavaet though with running from a usb stick. Let me explain
> it with eg a .doc word file. If one one pc you have Word 95, and on
> the other pc you have Word 2003, opening the same file to work on from
> the usb stick will not be trouble free due to the different versions.
> For gramps grdb files, that means two things: to really be sure it
> works you need to run the same gramps version on both devices, but
> more importantly, the same database engine (we use BSDDB, which comes
> with python, so in essence this probably means using the same python
> version). To know the versions you have on the Eee, do the following:
> 1/open the command line
> 2/type: python
> 3/you will see the python version now, eg on my PC:
> Python 2.5.1 (r251:54863, May  2 2007, 16:27:44)
> [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> 4/type:
> >>> import bsddb
> >>> bsddb.__version__
> On my PC I now see I have version

> ' <>'

> So optimally, to work from database on usb stick, I would want the
> above bsddb version to be the same on both devices. It should be clear
> that working with .gramps xml files for transferring data is perhaps
> more hassle, but is at least error free!
> Benny

This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
Gramps-users mailing list