[reportlab-users] errors

Robin Becker reportlab-users@reportlab.com
Tue, 10 Aug 2004 16:53:59 +0100


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.

-- 
Robin Becker