[reportlab-users] errors

HERITIER Damien reportlab-users@reportlab.com
Tue, 10 Aug 2004 13:42:06 +0200


This is a multi-part message in MIME format.

------_=_NextPart_001_01C47ECF.103538F0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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

------_=_NextPart_001_01C47ECF.103538F0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.6487.1">
<TITLE>errors</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Arial">Hello,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I would like to use your wonderful =
product for CMFPortalTool.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">But I am still in trouble after several =
update from your cvs website: (update rparsexml.py, fonts.py, =
paragraph.py, ...)</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I have a None type Error, and I don't =
know what to do. ;-/</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;Module None, line 18, in =
asPDF</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp; - &lt;FSPythonScript at =
/Plone/DamsTest/asPDF used for /Plone/DamsTest/TestDocument&gt;</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp; - Line 18</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp; Module =
Products.CMFReportTool.ReportTool, line 233, in renderPDF</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp; Module =
Products.CMFReportTool.RenderPDF.Parser, line 765, in __call__</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp; Module =
Products.CMFReportTool.RenderPDF.Platypus, line 157, in create</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp; Module =
Products.CMFReportTool.RenderPDF.Platypus, line 714, in build</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp; Module =
reportlab.platypus.doctemplate, line 549, in handle_flowable</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp; Module =
reportlab.platypus.frames, line 120, in _add</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp; Module =
Products.CMFReportTool.RenderPDF.Paragraph, line 1285, in wrap</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp; Module =
Products.CMFReportTool.RenderPDF.Paragraph, line 1393, in =
compileProgram</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp; Module reportlab.lib.fonts, =
line 66, in ps2tt</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp; Module string, line 55, in =
lower</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">AttributeError: 'NoneType' object has =
no attribute 'lower'</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks for your time and for your =
help.</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">damien</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C47ECF.103538F0--