[reportlab-users] Problem with table class exceptions

Mark Rees reportlab-users@reportlab.com
Wed, 9 Jul 2003 16:37:56 +1000


In the platypus.Table class __init__ method various sanity checks are =
made and exceptions raised. The error strings for these exceptions use =
the identify method to provide feedback to what is causing the =
exception. The problem is the identify method uses the attribute =
self._cellvalues and in some cases that attribute has not been =
intialised when the exception is raised. Moving the line:

self._cellvalues =3D data

to the start of the __init__ method fixes the problem. =20

Regards,
Mark Rees

Software Manager
Century Software
Ph: +612 9460 1422=20
Fax: +612 9460 3098
Email: mark@CenturySoftware.com.au

This E-mail from Century Software Pty Ltd expresses the views of the =
sender and not necessarily the views of the Company. The E-mail and any =
files transmitted with it are confidential to the intended recipient at
the E-mail address to which it has been addressed. The E-mail may not be =
disclosed or used by any other than the addressee, nor may it be copied =
in any way. If you are not the intended recipient please contact the
sender as soon as possible and delete any copies of this message.
Please note that although this E-mail has been checked, we cannot accept =
any responsibility for any transmitted viruses. It is therefore your =
responsibility to virus scan attachments (if any).