[reportlab-users] error

HERITIER Damien reportlab-users@reportlab.com
Tue, 10 Aug 2004 19:51:50 +0200


HERITIER Damien wrote:

> Hello,
>=20
> I would like to use your wonderful product for CMFPortalTool.
>=20
> 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. ;-/
>=20
>  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'
>=20
>=20
> Thanks for your time and for your help.
> damien
>=20

this looks like a font look up error of some sort.


Ok, so that can I do ???? ;-/