no edit summary
The error "AttributeError: 'NoneType' object has no attribute..." probably means that you 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 corrupted.
To fix, first, '''[[How_to_make_a_backup|make a Gramps XML backup]]'''.
If you still have issues, you may need to go back to an older backup.