You have inconsistent data.

Do the following:

1/export data as .gramps xml file as backup (if possible)
2/upgrade to version 2.2.10 or 3.0.1
3/import your backup (if possible).
4/in the tools, run the rebuild secondary indexes, then the rebuild reference tables tool, then the check and repair tool.

You can do check 4/ also in 2.2.8, but these tools are somewhat improved and cover more issues in version 2.2.10 +

Now, running the report should be no problem. The report is improved in 3.0.1, so you might want to check that out.


2008/5/28 Hans van Esdonk <>:
"User Information: 

tried to make a

Error Details: 

4812216: ERROR: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/share/gramps/", line 1180, in <lambda>
    lst[0], lst[1], lst[2], lst[3], lst[4], lst[5])
  File "/usr/share/gramps/ReportBase/", line 671, in report
  File "/usr/share/gramps/plugins/", line 988, in __init__
  File "/usr/share/gramps/plugins/", line 1016, in make_report
  File "/usr/share/gramps/plugins/", line 260, in __init__
    the_buffer = self.get_report()
  File "/usr/share/gramps/plugins/", line 339, in get_report
    buffer += self.get_persons_and_families()
  File "/usr/share/gramps/plugins/", line 465, in get_persons_and_families
    fam_id = fam.get_gramps_id()
AttributeError: 'NoneType' object has no attribute 'get_gramps_id'

System Information: 

Python version: 2.5.1 (r251:54863, Mar  7 2008, 04:10:12) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] 
BSDDB version: 
Gramps version: 2.2.8-0.SVN 
OS: Linux
Distribution: 2.6.22-14-generic

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