Yes, there was a drag and drop error in that version of GRAMPS.

So you have inconsistent data. Some element in the family is referenced in the family but does in reality not exist anymore after the delete.

Your best chance is that GRAMPS can fix it itself. For that run the tools

1. rebuild reference tables
2. rebuild secondary indexes
3. check and repair tool

That should fix it. Yes?

Note that version 2.2.10 has an improved check and repair tool and fixes some bugs. Ubuntu version available.
Note that version 3.0.4 is also available for ubuntu from our website. Backup to .gramps file before upgrade!


2008/12/19 Juergen Roland <>
User Information:

Habe in "Familie" F0000 festgestellt das 1 Kind richtig (einfach) eingetragen
Das zweite Kind wurde mit der selben ID "I0001" jedoch zweimal aufgeführt.
Als Kind 2 und als Kind 3. Beim löschen eines der beiden kam diese

Error Details:

53918: ERROR: line 148: Unhandled exception
Traceback (most recent call last):
 File "/usr/share/gramps/Editors/", line 792, in save
 File "/usr/share/gramps/Editors/", line 891, in __do_save
   self.db.transaction_commit(trans, _("Edit Family"))
 File "/usr/share/gramps/GrampsDb/", line 1410, in
DBNotFoundError: (-30989, 'DB_NOTFOUND: No matching key/data pair found')

System Information:

Python version: 2.5.1 (r251:54863, Jul 31 2008, 23:17:40) [GCC 4.1.3 20070929
(prerelease) (Ubuntu 4.1.2-16ubuntu2)]
BSDDB version:
Gramps version: 2.2.8-0.SVN
OS: Linux
Distribution: 2.6.22-15-generic

Jürgen Roland

Gramps-bugs mailing list