From: Julio S. <jul...@gm...> - 2005-06-26 16:42:38
|
Hello, How are these methods and the associated data meant to be used? I have problems because of the result of get_document() being bad. It happens with several reports (IndivComplete, Timeline, ...), but I am not sure what is the triggering condition, seems to be related to the particular filter chosen: Everyone works, one single person works, ascendants fail and form my custom filters some work and some don't and I do not understand why. One sample message is: GRAMPS : 2.0.4-0.CVS20050619 LANG : es_ES.UTF-8 Python : 2.4.1 final GTK : 2.6.7 PyGTK : 2.6.0 OS : Fedora Core release 4 (Stentz) Traceback (most recent call last): File "/home/jsanchez/devel/gramps/cvs/gramps2-gramps20-ro/src/Report.py", line 1766, in report MyReport =3D report_class(dialog.db,dialog.person,dialog.options) File "./plugins/IndivComplete.py", line 76, in __init__ Report.Report.__init__(self,database,person,options_class) File "/home/jsanchez/devel/gramps/cvs/gramps2-gramps20-ro/src/Report.py", line 215, in __init__ self.doc.creator(creator) AttributeError: 'NoneType' object has no attribute 'creator' Here, self.doc was received from a call to get_document so it seems a value is not provided, but it is unclear to me what part of GRAMPS is responsible for this. Regards, Julio |