[reportlab-users] Error

Suyash Gogte gogtesuyash at gmail.com
Mon Feb 16 03:54:49 EST 2009


hi frnds..
I m getting following error..its run time error at doc.build....
can anybody tell me way to fix it
thnks ...

Traceback (most recent call last):
File "test1.py", line 58, in <module>
go()
File "test1.py", line 56, in go
doc.build(Story, onFirstPage=myFirstPage, onLaterPages=myLaterPages)
File
"/usr/local/lib/python2.5/site-packages/reportlab/platypus/doctemplate.py",
line 987, in build
BaseDocTemplate.build(self,flowables, canvasmaker=canvasmaker)
File
"/usr/local/lib/python2.5/site-packages/reportlab/platypus/doctemplate.py",
line 756, in build
self.handle_flowable(flowables)
File
"/usr/local/lib/python2.5/site-packages/reportlab/platypus/doctemplate.py",
line 630, in handle_flowable
self.handle_keepWithNext(flowables)
File
"/usr/local/lib/python2.5/site-packages/reportlab/platypus/doctemplate.py",
line 599, in handle_keepWithNext
while i<n and flowables[i].getKeepWithNext(): i += 1
*AttributeError: 'str' object has no attribute 'getKeepWithNext'*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20090216/420c8dd3/attachment.htm>


More information about the reportlab-users mailing list