I think you have a broken family.

Can you run the check and repair tool from the tools menu? First do a backup for safety (= export to the gramps xml format).

After running the tool, retry to make the webpage.

Note that version 2.2.9 is available, with an improved check and repair tool.

Benny

2007/10/31, rodney watson <pilchard@westnet.com.au >:
"User Information:
===================

uploading to webpage, using gramps on ubuntu gutsy gibbon


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

690139: 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/NarrativeWeb.py", line 2741, in __init__
    self.make_report()
  File "/usr/share/gramps/plugins/NarrativeWeb.py", line 2837, in make_report
    MyReport.write_report()
  File "/usr/share/gramps/plugins/NarrativeWeb.py", line 2204, in write_report
    ind_list,restrict_list = self.build_person_list()
  File "/usr/share/gramps/plugins/NarrativeWeb.py", line 2269, in build_person_list
    if Utils.probably_alive(p,self.database,years,self.restrict_years ):
  File "/usr/share/gramps/Utils.py", line 776, in probably_alive
    if ancestors_too_old (person, current_year):
  File "/usr/share/gramps/Utils.py", line 742, in ancestors_too_old
    if ancestors_too_old (father, year - average_generation_gap):
  File "/usr/share/gramps/Utils.py", line 720, in ancestors_too_old
    father_birth_ref = father.get_birth_ref()
AttributeError: 'NoneType' object has no attribute 'get_birth_ref'


System Information:
===================

Python version: 2.5.1 (r251:54863, Oct  5 2007, 13:36:32) [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: en_AU.UTF-8
OS: Linux
Distribution: 2.6.22-14-generic
"


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Gramps-bugs mailing list
Gramps-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-bugs