Difference between revisions of "Gramps Old database"

From Gramps
Jump to: navigation, search
(See also)
(Solutions)
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{languages|Old_database}}
 
{{languages|Old_database}}
  
Note: Commencing with Gramps 3.1.2 all official versions of Gramps XML files can be imported. However, a warning will be given on import of 1.0.0 xml.[http://sourceforge.net/mailarchive/message.php?msg_id=23262334]
+
{{man tip|Note:|Commencing with Gramps 3.1.2 all official versions of Gramps XML files can be imported. However, a warning will be given on import of 1.0.0 xml. [http://sourceforge.net/p/gramps/mailman/message/23262334/]}}
  
 
{{out of date}}
 
{{out of date}}
Line 9: Line 9:
 
'''Gramps-1''' did not store '''[[Events_in_Gramps|event]]''' as primary object and did not use bsddb references.  
 
'''Gramps-1''' did not store '''[[Events_in_Gramps|event]]''' as primary object and did not use bsddb references.  
  
There was some [[Database_Formats#GRAMPS_1.0_and_earlier|limitations]] (''size, informations, encoding''), '''new Gramps versions''' tried to fix them.
+
There was some [[Database_Formats#Gramps_1.0_and_earlier|limitations]] (''size, informations, encoding''), '''new Gramps versions''' tried to fix them.
  
 
==Solutions==
 
==Solutions==
  
 
* The safety way is to import it into '''[http://sourceforge.net/projects/gramps/files/Stable/2.2.10/ Gramps-2]''' and to export this updated database. This will generate a new Gramps XML more compatible for an import into '''Gramps-3'''.
 
* The safety way is to import it into '''[http://sourceforge.net/projects/gramps/files/Stable/2.2.10/ Gramps-2]''' and to export this updated database. This will generate a new Gramps XML more compatible for an import into '''Gramps-3'''.
**If your operating system does not support '''Gramps-2''' any more as some dependancies has been removed since '''Gramps-2''' (''GCONF, gnome-doc-utils, yelp, python-reportlab, libglade, etc...'') or updated like python libs and related, then you could have a look at [[Linux_Genealogy_CD|Linux Genealogy Live CD]] archives.
+
**If your operating system does not support '''Gramps-2''' any more as some dependencies has been removed since '''Gramps-2''' (''GCONF, gnome-doc-utils, yelp, python-reportlab, libglade, etc...'') or updated like python libs and related, then you could have a look at [[Linux_Genealogy_CD|Linux Genealogy Live CD]] archives.
  
 
* Also, you may [[Using_the_bug_tracker|submit your old database on bug-tracker]], mark this report as '''private''' (''will be hidden for non-developers'') and a developer will try to help you for updating your database.
 
* Also, you may [[Using_the_bug_tracker|submit your old database on bug-tracker]], mark this report as '''private''' (''will be hidden for non-developers'') and a developer will try to help you for updating your database.
Line 26: Line 26:
 
     * import the 20060115.grdb ( your grdb file )
 
     * import the 20060115.grdb ( your grdb file )
 
     * export in gramps xml
 
     * export in gramps xml
 +
 +
To run gramps 2.2.10 on Ubuntu 14.04.3 install the following first:
 +
sudo apt-get install gnome-common
 +
sudo apt-get install libglib2.0-dev
 +
sudo apt-get install gnome-doc-utils
 +
sudo apt-get install glade-gtk2
  
 
You can now load the new created file in your last gramps version. I hope it will work for everybody.
 
You can now load the new created file in your last gramps version. I hope it will work for everybody.
  
 
I choose 2.2.10 because the original file was 20060115 : at this period, gramps was 2.2. or 2.0.
 
I choose 2.2.10 because the original file was 20060115 : at this period, gramps was 2.2. or 2.0.
 +
 
So I used the last 2.2 available version.
 
So I used the last 2.2 available version.
 +
 
If this had not worked, I think I would have tried the last 2.0.11 available version.
 
If this had not worked, I think I would have tried the last 2.0.11 available version.
  

Revision as of 00:12, 15 August 2015

Tango-Dialog-information.png
Note:

Commencing with Gramps 3.1.2 all official versions of Gramps XML files can be imported. However, a warning will be given on import of 1.0.0 xml. [1]


Gramps-notes.png This page's factual accuracy may be compromised due to out-of-date information. Please help improve the Gramps Wiki as a useful resource by updating it.

If you have an old Gramps XML database generated some years ago, then you may have some difficulties to import it into last stable release.

Gramps-1 did not store event as primary object and did not use bsddb references.

There was some limitations (size, informations, encoding), new Gramps versions tried to fix them.

Solutions

  • The safety way is to import it into Gramps-2 and to export this updated database. This will generate a new Gramps XML more compatible for an import into Gramps-3.
    • If your operating system does not support Gramps-2 any more as some dependencies has been removed since Gramps-2 (GCONF, gnome-doc-utils, yelp, python-reportlab, libglade, etc...) or updated like python libs and related, then you could have a look at Linux Genealogy Live CD archives.
  • related to bug 6129 : I downloaded the gramps 2.2.10 on my ubuntu 11.10 and did the following :
 $ tar xzvf gramps-2.2.10.tar.gz
 $ ./autogen.sh
 $ make
 $ python src/gramps.py
    then
    * import the 20060115.grdb ( your grdb file )
    * export in gramps xml

To run gramps 2.2.10 on Ubuntu 14.04.3 install the following first:

sudo apt-get install gnome-common
sudo apt-get install libglib2.0-dev
sudo apt-get install gnome-doc-utils
sudo apt-get install glade-gtk2

You can now load the new created file in your last gramps version. I hope it will work for everybody.

I choose 2.2.10 because the original file was 20060115 : at this period, gramps was 2.2. or 2.0.

So I used the last 2.2 available version.

If this had not worked, I think I would have tried the last 2.0.11 available version.

Experimental

XML databases generated by Gramps-1 are not lost as they are written into a documented open format.

If a XML/XSL wizard planned to generate a script, here an experimental and partial test, which try to migrate a part of data to an other Gramps XML file, according to last XML DTD.

Old Note:Event, Repository and Note references are broken because they was not primary objects on Gramps-1. If someone knows how to handle this, then feel free to do changes.

See also