You have inconsistencies in your data, probably due to bad import or crash.

To resolve it, do the following:

1/take a backup by exporting to .gramps file format or copy .backup.gramps file to a save location
2/run the Rebuild Reference tables tool
3/run the Rebuild secondary indices too
4/run the Check and Repair tool

That should solve it,


2008/11/8 Peter Lister <>
User Information:

Attempting to remove duplicates

Error Details:

2272343: ERROR: line 148: Unhandled exception
Traceback (most recent call last):
 File "/usr/share/gramps/plugins/", line 620, in
 File "/usr/share/gramps/Merge/", line 75, in __init__
   self.display(self.text2.get_buffer(), person2)
 File "/usr/share/gramps/Merge/", line 123, in display
 File "/usr/share/gramps/", line 503, in display
   name = person.get_primary_name()
AttributeError: 'NoneType' object has no attribute 'get_primary_name'

System Information:

Python version: 2.5.1 (r251:54863, Jun 15 2008, 18:24:51) [GCC 4.3.0
20080428 (Red Hat 4.3.0-8)]
BSDDB version:
Gramps version: 2.2.10-1
OS: Linux

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
Gramps-bugs mailing list