[reportlab-users] CMFreportTool errors
HERITIER Damien
reportlab-users@reportlab.com
Wed, 11 Aug 2004 16:24:48 +0200
Message: 2
Date: Tue, 10 Aug 2004 19:17:20 +0100
From: Robin Becker <robin@reportlab.com>
To: reportlab-users@reportlab.com
Subject: Re: [reportlab-users] error
Reply-To: reportlab-users@reportlab.com
HERITIER Damien wrote:
> HERITIER Damien wrote:
>=20
>=20
>>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
>>
>=20
>=20
> this looks like a font look up error of some sort.
>=20
>=20
> Ok, so that can I do ???? ;-/
>=20
Find out which fonts are causing the problem and then try to get them =
loaded=20
into reportlab.
I don't know anything about CMFReportTool, my experiences with Plone =
have been=20
less than friendly. It may be that the fonts aren't loaded by default, =
but I=20
can't be sure.
In fact, I am sure it's not a reportlab problem but a CMFReportTool one. =
I can't take the information about the style sheet.
Do you know where a can find a mailing list for CMFReportTool ??
thanks for your help.
damien