You delete a person, so the person is deleted as child in the family he is child in, but apparently that family did not exist.

It is best to:
1/take a backup as .gramps file and keep it save
2/in the tools menu, run the rebuild reference table tool, rebuild sec index tool and the check and repair tool. In consistencies like people who refer to unexisting families are resolved like that. They can be due to a bug, or due to bugs in older versions that caused this and now are resolved already. Should you think the incorrect person/family link was created in 2.2.10 and you thinkg to know how to reproduce it, let us know.


2008/2/16, Robert V. Schipper <>:
User Information:

I was removing a person after I had removed the family of which the
father was the only parent as well as the father.

Error Details:

242148073: ERROR: line 148: Unhandled exception
Traceback (most recent call last):
  File "C:\Program Files\gramps\DataViews\", line 597, in
  File "C:\Program Files\gramps\", line 104, in __init__
  File "C:\Program Files\gramps\DataViews\", line 614, in
    GrampsDb.delete_person_from_database(self.dbstate.db, person, trans)
  File "C:\Program Files\gramps\GrampsDb\", line 57, in
AttributeError: 'NoneType' object has no attribute 'remove_child_handle'

System Information:

Python version: 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32
bit (Intel)]
BSDDB version:
Gramps version: 2.2.10-1
OS: win32

This email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
Gramps-bugs mailing list