15,536
edits
Changes
no edit summary
The Python error '''"AttributeError: 'NoneType' object has no attribute..." ''' probably means that you the Gramps program attempted to retrieve an object (such as a person, or family) by using its internal handle, but the database can't find it. Likely, the object is still there, but the internal database references have gotten become corrupted.
To attempt to fixthis issue, first, '''[[How_to_make_a_backup|make a Gramps XML backup]]'''.
Then, you need to run the following tools from the menu {{man menu -> |Tools -> Family Tree Repair and run }} in the toolslisted order:
# {{man menu|[[Gramps_4.1_Wiki_Manual_-_Tools#Check_and_Repair_Database|Check and Repair Database]]}}# {{man menu|[[Gramps_4.1_Wiki_Manual_-_Tools#Rebuild_Reference_Maps|Rebuild Reference Maps]]}}# {{man menu|[[Gramps_4.1_Wiki_Manual_-_Tools#Rebuild_Secondary_Indexes|Rebuild Secondary Indices]]}}
If you still get the error after running the repair toolshave issues, then you should try creating a new family tree, and importing your may need to go back to an older backup. If still errors, try running the above tools on the re-imported tree.
[[Category:Documentation]][[Category:Developers]][[Category:Troubleshooting]]