[reportlab-users] Re: The upcoming Reportlab 1.18 release and patches.

David Abrahams reportlab-users@reportlab.com
Tue, 08 Jul 2003 18:54:30 -0400


Igor Stroh <jenner@dpost.de> writes:

> On Mon, 2003-07-07 at 13:35, Robin Becker wrote:
>> [...]
>> >PATCHES WHICH HAVE BEEN IMPLEMENTED:
>> >- Mon 16/06/2003
>> >  Patch to allow use without file
>> >  David Fraser [davidf@sjsoft.com]
>> >
>> >- Fri 02/05/2003
>> >  Relative indents, nested lists and reST
>> >  Sidnei da Silva [sidnei@x3ng.com]
>> >
>> >Thanks to David and Sidnei for submitting these!
>> >
>> Henning von Bargen's case sensitivity patch for paragraph/xpreformatted
>> and Christoph Zwerschke's special entities patches are also definitely
>> in. I'm almost sure some changes that have been made to tables.py were
>> inspired elsewhere, but I've forgotten by whom.
>
> Ignore this if it's too obvious:
> is the rparsexml.parsexmlSimple() issue already fixed? I mean the one
> where parsexml0() returns a two-members tuple instead of one with four
> members?

Here's another patch you should use:

Index: platypus/tables.py
===================================================================
RCS file: /cvsroot/reportlab/reportlab/platypus/tables.py,v
retrieving revision 1.65
diff -u -r1.65 tables.py
--- platypus/tables.py	22 Apr 2003 17:32:01 -0000	1.65
+++ platypus/tables.py	8 Jul 2003 22:53:26 -0000
@@ -113,6 +113,8 @@
         #print "colWidths", colWidths
         self.hAlign = 'CENTER'
         self.vAlign = 'MIDDLE'
+        self._cellvalues = [] # dwa 2003/6/19 - this gets used without
+                              # initialization in error reporting
         if type(data) not in _SeqTypes:
             raise ValueError, "%s invalid data type" % self.identity()
         self._nrows = nrows = len(data)

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com