This is a Third-party Addon.
Please use carefully on data that is backed up, and help make it better by reporting any comments or problems to the author, or issues to the bug tracker
The GeneanetForGramps addon allows you to import ancestors and descendants for a selected person from the Geneanet website.
Once this addon and its Prerequisite has been installed:
- Select Menu Tools > Family Tree Processing -> Import Geneanet data for Gramps...
Undo history warning
Proceeding with this tool will erase the undo history for this session. In particular, you will not be able to revert the changes made by this tool or any changes made prior to it. If you think you may want to revert running this tool, please stop here and backup your database.
- From the Undo history warning dialogue you can choose Stop or Proceed with the tool.
- The Geneanet Import Options tab is displayed with the following:
- Center Person: - Person to process in Geneanet (by default the active one)
- [ ] Import spouses: - Check that box if you want to import spouses of the person (False by default).
Once you have made your choices, you can either choose Close or Execute to launch the import.
Note that for the parsing to work, you need to have the same firstname/lastname and birth date/death date for the person in both Gramps and Geneanet. Using force mmay overwrite this security.
Make a try by just importing ancestors to check it's working correctly for you, and the you can add more persons. Limit the level of import when starting at 2 before increasing once you verified it's working for you. Note that the plugin can also be called from the CLI:
usage: GeneanetForGramps.py [-h] [-v] [-a] [-d] [-s] [-l LEVEL] [-g GRAMPSFILE] [-i ID] [-f] [searchedperson] Import Geneanet subtrees into Gramps positional arguments: searchedperson Url of the person to search in Geneanet optional arguments: -h, --help show this help message and exit -v, --verbosity Increase verbosity -a, --ascendants Includes ascendants (off by default) -d, --descendants Includes descendants (off by default) -s, --spouses Includes all spouses (off by default) -l LEVEL, --level LEVEL Number of level to explore (2 by default) -g GRAMPSFILE, --grampsfile GRAMPSFILE Full path of the Gramps database (under $HOME/.gramps/grampsdb) -i ID, --id ID ID of the person to start from in Gramps -f, --force Force processing
For the addon to work you will need to install both the Request and lxml Python modules.
Install the python module Requests otherwise you will get the following error:
2020-12-06 10:29:40.191: WARNING: _manager.py: line 308: Plugin error (from 'GeneanetForGramps'): No module named 'requests'
Install the python module lxml otherwise you will get the following error:
2020-12-07 00:22:41.100: WARNING: _manager.py: line 308: Plugin error (from 'GeneanetForGramps'): No module named 'lxml'
SQLite only supported
Also note that you need to use a SQLite DB (based on API-DB) and NOT a BSDDB for the plugin to work. When using a BSDDB base you'll get the following error:
File "/users/gnucash/.gramps/gramps51/plugins/GeneanetForGramps/GeneanetForGramps.py", line 1339, in find_grampsp ids = db.get_person_gramps_ids() AttributeError: 'DbBsddb' object has no attribute 'get_person_gramps_ids'
You can Convert a BSDDB Family Tree to SQLite and then export from the previous and import into the new.
- GitHub - bcornec/GeneanetForGramps - Gramplet/Script to import into Gramps persons from Geneanet
- GitHub - romjerome/GeneanetForGramps - minor updates since Geneanet's changes on server side: '301 return' creates a new "empty/fake" responses with Requests - alternate ways and additional features like tag support and debug statements (MacOS and WindowsOS may also be supported with minor changes on code, see comments and the try/except section). Geneanet wants user to log in, so to get more than few pages back will generate an import without data on persons, only relations!
- Geneanet uses GeneWeb engine : Manage Family Trees -> Export -> GeneWeb (.gw)
- Web Connect Packs - adds a Geneanet option Web Connection pop-up menu search in People View (requires an account)
- Gramps on Geneanet dot org - a French genealogy site with over 4 million members
Discourse discussion forum threads
Gramps-User maillist threads
- 2016-01-11 Gramps importing woes - Geneanet GEDCOM to Gramps 4.2.1
- 2012-07-18 Geneanet location problème - GEDCOM export missing some place enclosures
Gramps-Devel maillist threads
- 2020-12-06 Announce of the GeneanetForGramps plugin - an import tool for data provided by Geneanet