[reportlab-users] getKeepWithNext attribute error

Riaan Bekker riaan.bekker at kapabiosystems.com
Tue Jan 30 08:40:16 EST 2007




Hi All,



As soon as I try to build my report it complains about an attribute error on
the flowables. The flowables are all frames, and as far as I can see the
frames do support the KeepWithNext property. I am totally lost as to where
to start looking for the problem again.



AttributeError: getKeepWithNext

190 frmMain.py: reports.makeDocument(self)

86: reports.pu: doc.build(doc._flowables)

702: doctemplate.py: self.handle_flowable(flowables)

600: doctemplate.py: self.handle_keepWithNext(flowables)

575: doctemplate.py: while i<n and
flowable[i].getKeepWithNext(): += 1

77: frames.py: raise AttributeError, a



The code is added to this e-mail as attachment.



Thank you for the help

Riaan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://two.pairlist.net/pipermail/reportlab-users/attachments/20070130/1dd50513/attachment-0001.html
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: reports.py
Url: http://two.pairlist.net/pipermail/reportlab-users/attachments/20070130/1dd50513/attachment-0001.ksh


More information about the reportlab-users mailing list