Nicholas,

Can you run the Menu -> Tools -> Database Repair -> Check and Repair Database and try the Gramplet again.

-Doug

On Tue, Dec 29, 2009 at 6:58 PM, Nicholas Robinson <npr@bottlehall.co.uk> wrote:
Hi

Sorry to bother the list with this, but I can't raise a bug report.

User Information:
===================

I get this error only when changing a quickview gramplet to show the
Timeline with a particular individual currently selected. After clicking
the error dialogue away, the gramplet displays the name of the
individual only, but then doesn't give any further information. It works
okay with other individuals, but just displays the name (but no error)
if I pick the troublesome one again.

The only unusual thing about this individual is that she has natural and
adopted parents and the first entry on the timeline should, as far as I
can work out, be the birth event of one of them. The gramplet works fine
using each parent, though. Alternatively, it might be that she has a
child, but no details of the child's father are recorded. I can supply
more detail if required.

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

22720: ERROR: gramps.py: line 160: Unhandled exception
Traceback (most recent call last):
 File "/usr/share/gramps/DataViews/GrampletView.py", line 598, in
save_update_options
   self.update()
 File "/usr/share/gramps/DataViews/GrampletView.py", line 493, in
update
   self._generator = self.main()
 File "/usr/share/gramps/plugins/gramplet/QuickViewGramplet.py", line
62, in main
   container=self.gui.textview)
 File "/usr/share/gramps/QuickReports.py", line 138, in
run_quick_report_by_name
   return run_report(dbstate, uistate, report[2], handle, report[0],
**kwargs)
 File "/usr/share/gramps/QuickReports.py", line 207, in run_report
   func(dbstate.db, d, obj, **kwargs)
 File "/home/npr/.gramps/plugins/TimelineQuickview.py", line 174, in
run
   process(database, sa, event_list, handled, person, False, person)
 File "/home/npr/.gramps/plugins/TimelineQuickview.py", line 138, in
process
   process(database, sa, event_list, handled, center_person, False,
father, level=level+1)
 File "/home/npr/.gramps/plugins/TimelineQuickview.py", line 82, in
process
   if person.handle not in handled:
AttributeError: 'NoneType' object has no attribute 'handle'
147077: ERROR: gramps.py: line 160: Unhandled exception
Traceback (most recent call last):
 File "/usr/share/gramps/DataViews/GrampletView.py", line 598, in
save_update_options
   self.update()
 File "/usr/share/gramps/DataViews/GrampletView.py", line 493, in
update
   self._generator = self.main()
 File "/usr/share/gramps/plugins/gramplet/QuickViewGramplet.py", line
62, in main
   container=self.gui.textview)
 File "/usr/share/gramps/QuickReports.py", line 138, in
run_quick_report_by_name
   return run_report(dbstate, uistate, report[2], handle, report[0],
**kwargs)
 File "/usr/share/gramps/QuickReports.py", line 207, in run_report
   func(dbstate.db, d, obj, **kwargs)
 File "/home/npr/.gramps/plugins/TimelineQuickview.py", line 174, in
run
   process(database, sa, event_list, handled, person, False, person)
 File "/home/npr/.gramps/plugins/TimelineQuickview.py", line 138, in
process
   process(database, sa, event_list, handled, center_person, False,
father, level=level+1)
 File "/home/npr/.gramps/plugins/TimelineQuickview.py", line 82, in
process
   if person.handle not in handled:
AttributeError: 'NoneType' object has no attribute 'handle'


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

Python version: 2.6 (r26:66714, Jun  8 2009, 16:07:29) [GCC 4.4.0
20090506 (Red Hat 4.4.0-4)]
BSDDB version: 4.7.3
Gramps version: 3.1.2-1
LANG: en_GB.utf8
OS: Linux
Distribution: 2.6.30.10-105.fc11.x86_64



------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Gramps-users mailing list
Gramps-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-users