You have a family with a father, which is not present in the database.

Run from the tools menu the repair function: Check and repair database.
It should remove the unexisting father from the family.

Take a backup of your data as xml (.gramps) before running the tool.
Note that double gramps ids can lead to many problems, normally GRAMPS forces them to be unique, no idea how it is possible that that is not the case on your data.

Know that version 2.2.9 is out.


2007/10/24, Joe User <>:
User Information:

I was displaying the family list.

There was a duplicate Family ID.  I double-clicked on
one of them, in order to assign it a new ID.

The exception occured.

Error Details:

92437: ERROR: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/share/gramps/", line 831, in
  File "/usr/share/gramps/DataViews/",
line 204, in edit
    EditFamily(self.dbstate, self.uistate, [], family)
  File "/usr/share/gramps/Editors/",
line 380, in __init__
    family, dbstate.db.get_family_from_handle)
  File "/usr/share/gramps/Editors/",
line 51, in __init__
  File "/usr/share/gramps/Editors/",
line 421, in _local_init
  File "/usr/share/gramps/Editors/",
line 535, in load_data
  File "/usr/share/gramps/Editors/",
line 595, in update_father
    _("Remove the person as the father"))
  File "/usr/share/gramps/Editors/",
line 742, in load_parent
    name = "%s [%s]" %
(NameDisplay.displayer.display (person),
  File "/usr/share/gramps/", line 500,
in display
    name = person.get_primary_name()
AttributeError: 'NoneType' object has no attribute

System Information:

Python version: 2.5.1 (r251:54863, Oct  5 2007,
13:50:07) [GCC 4.1.3 20070929 (prerelease) (Ubuntu
BSDDB version:
Gramps version: 2.2.8-0.SVN
OS: Linux
Distribution: 2.6.20-16-generic

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around

This email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>
Gramps-bugs mailing list