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.

Benny

2008/5/28 Hans van Esdonk <hans@excilas.nl>:
"User Information: 
===================

tried to make a rel_graph.dot


Error Details: 
===================

4812216: ERROR: gramps.py: line 148: Unhandled exception
Traceback (most recent call last):
  File "/usr/share/gramps/ViewManager.py", line 1180, in <lambda>
    lst[0], lst[1], lst[2], lst[3], lst[4], lst[5])
  File "/usr/share/gramps/ReportBase/_ReportDialog.py", line 671, in report
    report_class(dbstate,uistate,person)
  File "/usr/share/gramps/plugins/GraphViz.py", line 988, in __init__
    self.make_report()
  File "/usr/share/gramps/plugins/GraphViz.py", line 1016, in make_report
    GraphViz(self.database,self.person,self.options_class)
  File "/usr/share/gramps/plugins/GraphViz.py", line 260, in __init__
    the_buffer = self.get_report()
  File "/usr/share/gramps/plugins/GraphViz.py", line 339, in get_report
    buffer += self.get_persons_and_families()
  File "/usr/share/gramps/plugins/GraphViz.py", 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: 4.4.5.2 
Gramps version: 2.2.8-0.SVN 
LANG: nl_NL.UTF-8
OS: Linux
Distribution: 2.6.22-14-generic
"

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs