From: Julio S. <jul...@gm...> - 2005-07-02 08:51:10
|
Alex, I cannot reproduce this anymore, it seems, so probably some of the other changes did this one in. What bugs me now are the ooo crashes. Perhaps it is triggered by improper files created by GRAMPS, so the fix in ooo, if it ever comes, may be from crashing to a dialog saying "broken file on input". No one else has seen ooo crash on input from GRAMPS recently? It appears many ooo versions hate on the test file I gave. All my output files now exhibit the same problem. I do not see any relevant change in GRAMPS, though, so I do not know what to think. Fact is I cannot produce any output right now. There was another thing pending when you left and that I don't think has been touched, see thread with subject "strange code for merging sources" or some such. Regards, Julio What kills=20 2005/7/2, Alex Roitman <sh...@gr...>: > Julio, >=20 > Is this still the issue with 2.0.4? I think the failure with the > filters leads to self.doc being None instead of a BaseDoc instance. > Seems that you fixed some filter issues, so please let me know if this > still needs attention. >=20 > Thanks, > Alex >=20 > On 06/26/2005 11:42:30 AM, Julio Sanchez wrote: > > > > 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. >=20 > -- > Alexander Roitman http://www.gramps-project.org >=20 >=20 > |