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.

Benny

2007/10/24, Joe User <axyz@yahoo.com>:
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: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/share/gramps/PageView.py", line 831, in
button_press
    self.edit(obj)
  File "/usr/share/gramps/DataViews/_FamilyList.py",
line 204, in edit
    EditFamily(self.dbstate, self.uistate, [], family)
  File "/usr/share/gramps/Editors/_EditFamily.py",
line 380, in __init__
    family, dbstate.db.get_family_from_handle)
  File "/usr/share/gramps/Editors/_EditPrimary.py",
line 51, in __init__
    self._local_init()
  File "/usr/share/gramps/Editors/_EditFamily.py",
line 421, in _local_init
    self.load_data()
  File "/usr/share/gramps/Editors/_EditFamily.py",
line 535, in load_data
    self.update_father(fhandle)
  File "/usr/share/gramps/Editors/_EditFamily.py",
line 595, in update_father
    _("Remove the person as the father"))
  File "/usr/share/gramps/Editors/_EditFamily.py",
line 742, in load_parent
    name = "%s [%s]" %
(NameDisplay.displayer.display (person),
  File "/usr/share/gramps/NameDisplay.py", line 500,
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, Oct  5 2007,
13:50:07) [GCC 4.1.3 20070929 (prerelease) (Ubuntu
4.1.2-16ubuntu2)]
BSDDB version: 4.4.5.2
Gramps version: 2.2.8-0.SVN
LANG: en_US.UTF-8
OS: Linux
Distribution: 2.6.20-16-generic


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

-------------------------------------------------------------------------
This SF.net 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 >> http://get.splunk.com/
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs