[reportlab-users] error
Robin Becker
reportlab-users@reportlab.com
Tue, 10 Aug 2004 19:17:20 +0100
HERITIER Damien wrote:
> HERITIER Damien wrote:
>
>
>>Hello,
>>
>>I would like to use your wonderful product for CMFPortalTool.
>>
>>But I am still in trouble after several update from your cvs website: (update rparsexml.py, fonts.py, paragraph.py, ...)
>>I have a None type Error, and I don't know what to do. ;-/
>>
>> Module None, line 18, in asPDF
>> - <FSPythonScript at /Plone/DamsTest/asPDF used for /Plone/DamsTest/TestDocument>
>> - Line 18
>> Module Products.CMFReportTool.ReportTool, line 233, in renderPDF
>> Module Products.CMFReportTool.RenderPDF.Parser, line 765, in __call__
>> Module Products.CMFReportTool.RenderPDF.Platypus, line 157, in create
>> Module Products.CMFReportTool.RenderPDF.Platypus, line 714, in build
>> Module reportlab.platypus.doctemplate, line 549, in handle_flowable
>> Module reportlab.platypus.frames, line 120, in _add
>> Module Products.CMFReportTool.RenderPDF.Paragraph, line 1285, in wrap
>> Module Products.CMFReportTool.RenderPDF.Paragraph, line 1393, in compileProgram
>> Module reportlab.lib.fonts, line 66, in ps2tt
>> Module string, line 55, in lower
>>AttributeError: 'NoneType' object has no attribute 'lower'
>>
>>
>>Thanks for your time and for your help.
>>damien
>>
>
>
> this looks like a font look up error of some sort.
>
>
> Ok, so that can I do ???? ;-/
>
Find out which fonts are causing the problem and then try to get them loaded
into reportlab.
I don't know anything about CMFReportTool, my experiences with Plone have been
less than friendly. It may be that the fonts aren't loaded by default, but I
can't be sure.
--
Robin Becker