Using Gramps on Linux and Windows is causing problems with sharing the same data. Windows is on version 3.4.8 but Linux on 3.4.0. Data exported from Windows does not import into 3.4.0 on Linux. How can share data across when using different versions? Even if versions are the same at some stage, they will fall apart again. Are there conversion tools available, or a more suitable data format for this purpose? I tried GEDCOM but all the media links are lost.
Although it's not obvious on our download page, we always try to release a Gramps version for all platforms at the same time. You can download version 3.4.8 for Linux, Mac OS X, and Windows here:
For Linux, you need the .deb file from the list, and not the latest version recommended by SourceForge on the top of your screen, because that would give you version 4.1.1.
You can probably install the .deb file by double clicking it, just like you would install a .exe file on Windows. You may then see a warning that there is an official version from your Linux distribution, but you can ignore that and continue the install process. The files that we distribute on our official SourceForge download page are safe.
If all goes well, starting Gramps from the menu should now give you 3.4.8. If it does not, remove 3.4.0 with your Linux software manager first.
I'll take a stab at providing an answer -- or at least, some useful debugging questions -- although I am not a GRAMPS user.
On the Wiki page: Gramps 4.0 Wiki Manual - Manage Family Trees the section on Importing data describes which formats are available for importing files into GRAMPS.
The wiki cautions:
Please recognize that importing a database is different from opening a database. When you import, you are actually bringing data from one database into a Gramps database. When you open a file, you are editing your original file.
Further down on the page, they have a section Gramps XML and XML Package import with the following information:
The Gramps XML and Gramps XML Package database are the native Gramps formats. There is no risk of information loss when importing from or exporting to these formats.
Gramps XML (.gramps): The Gramps XML file is the standard Gramps data-exchange and backups format, and was also the default working-database format for older (pre 2.x) versions of Gramps. Unlike the GRAMPS V2.x grdb format, it is architecture independent and human-readable. The database may also have references to non-local (external) media objects, therefore it is not guaranteed to be completely portable (for full portability including media objects in the Gramps XML package (.gpkg) should be used). The Gramps XML database is created by exporting (Menu Family Trees ->Export...) to that format.
Gramps XML package (.gpkg): The Gramps XML package is a compressed archive containing the Gramps XML file and all media objects (images, sound files, etc.) to which the database refers. Because it contains all the media objects, this format is completely portable. The Gramps XML package is created by exporting ( Menu Family Trees ->Export... ) data in that format.
The thread [Gramps-users] How can I import to an older version? has a question from a user who posts:
The .gramps file you are importing was made by version 4.1.0 of Gramps, while you are running an older version 4.0.3. The file will not be imported. Please upgrade to the latest version of Gramps and try again.
Are you getting a similar error?
I don't know if any of the discussion in that Gramps-users thread will provide any clues. Unfortunately the Wiki only discusses the process of bringing forward data from earlier versions of GRAMPS to later ones. If you can figure out which build the Windows version is on versus your Linux version, you may be able to search for other conversations that will have more information by searching for conversations about the individual build numbers.
The Wiki page on database formats says that Gramps 3.4 - 4.0 use database format 16. Are you sure that your sister is using 3.4.8? Could she have downloaded the most recent version 4.1, which uses database 17?
On the page Run Gramps from a Portable Drive the wiki says:
While these instructions help you easily move your Gramps data between computers, no testing has been done to explore compatibility between different software versions. It is recommended that you only move your data between computers that share the same Gramps, Python, database and operating system versions. The more those versions differ, the greater risk of database corruption and data loss. You are encouraged to export your database to GRAMPS XML for safety when moving the data between computers with differing (or unknown) software versions. Do this on your known safe computer before moving to an unknown computer, and again when you have finished with Gramps on the new computer before moving back to your regular computer.
Does your sister explicitly perform an export, or are you trying to import a copy of her file which she has simply saved? (Sorry if that's a nonsensical question -- I haven't looked at Gramps in several years.)
I think you should use GEDCOM and resolve why your media links are lost.
I believe Gramps does already export the media links to GEDCOM. For example, see this GEDCOM file created by Gramps and look for the "1 OBJE" tag and you'll see a "2 FILE" line under it which should contain the path to the object.
So there's three possible reasons why your media links may not transfer.
Your GEDCOM export has not included the media links. If that's the case, maybe there's some Gramps option you're missing to turn those on, or you're not including your media properly in Gramps.
Your Gramps version is not importing the media links again. If this is the case, it is a bug in Gramps and you should report it and get it fixed.
You must ensure that your media is put into exactly the same directories on the machine you are importing. That would be the only way the links will point correctly to the files.
Maybe keep a copy of all your media files in one directory, so then you'll be able to transfer that single directory every time easily. The example file has all its media in the /home/jgoulet/Documents/Genealogy/Gallery/ directory.
If your Unix machine uses a different syntax for specifying the path or if you put your files in a different directory, then use a text editor to change all the occurences of the source machine's media directory in the GEDCOM to that of the destination machine's media directory prior to import.