[reportlab-users] FIXME FIXME FIXME

reportlab-users@reportlab.com reportlab-users@reportlab.com
Wed, 30 Apr 2003 09:27:06 +0100


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C30EF2.48EA2F8C
Content-Type: text/plain;
	charset="iso-8859-1"

I am using Reportlab to create a table with a fixed number of columns that
will fit on Landscape A4. I keep getting the same error, to get past the
error the column have to have their width changed to widths that I do not
want to use.

The error:
LayoutError: Flowable <Table at 1075911464 31 rows * 15 cols > with cell
(0,0) containing 'STAFF ID' too large on page 2

The error is traced back to doctemplate.py

519	if hassattr(f, _postponed')
520	    message = "Flowable %s too large on page %d (f.identity(30),
self.page)"
521	    #show us, it might be handy
522           #HACK = it seems within tables we sometimes
523	    #get an empty paragraph that won't fit and this
524	    #causes it to fall over. FIXME FIXME FIXME
525	    raise "LayoutError", message

I have looked at previous topics in the forum and see that this has been
asked before but no solution has been posted.
Has a fix been included in the latest current.zip?

I hope someone can help

Gareth Allingham		

------_=_NextPart_001_01C30EF2.48EA2F8C
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 =
5.5.2650.12">
<TITLE>FIXME FIXME FIXME</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">I am using Reportlab to create a table =
with a fixed number of columns that will fit on Landscape A4. I keep =
getting the same error, to get past the error the column have to have =
their width changed to widths that I do not want to use.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">The error:</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">LayoutError: Flowable &lt;Table at =
1075911464 31 rows * 15 cols &gt; with cell (0,0) containing 'STAFF ID' =
too large on page 2</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">The error is traced back to =
doctemplate.py</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">519&nbsp;&nbsp;&nbsp;&nbsp; if =
hassattr(f, _postponed')</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">520&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; message =3D &quot;Flowable %s too large on page %d =
(f.identity(30), self.page)&quot;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">521&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; #show us, it might be handy</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">522&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp; #HACK =3D it seems within tables we sometimes</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">523&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; #get an empty paragraph that won't fit and =
this</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">524&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; #causes it to fall over. FIXME FIXME FIXME</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">525&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; raise &quot;LayoutError&quot;, message</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I have looked at previous topics in =
the forum and see that this has been asked before but no solution has =
been posted.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Has a fix been included in the latest =
current.zip?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I hope someone can help</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Gareth =
Allingham&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C30EF2.48EA2F8C--