[reportlab-users] Processor for kugar definitions

Ian Sparks reportlab-users@reportlab.com
Mon, 19 Jan 2004 09:00:21 -0500


>>Unfortunately their site has no screenshots, and less info
>>than you have given me below...

Here's a better link to information : =
http://docs.kde.org/en/HEAD/koffice/kugar/

-----Original Message-----
From: Andy Robinson [mailto:andy@reportlab.com]
Sent: Sunday, January 18, 2004 7:35 PM
To: reportlab-users@reportlab.com
Subject: RE: [reportlab-users] Processor for kugar definitions


> Kugar is a report writer that consists of 2 parts. kudesigner,
> and kugar and
> is a standard part of KDE. Documentation on what it can do can be
> found on
> www.kde.org.

Unfortunately their site has no screenshots, and less info
than you have given me below...

Thanks for the layout file.  After I commented out the DTD declaration,
it now gets most of the way on my (Windows) machine then gives
a traceback; I tried to debug this but am confused:

- Andy

C:\code\reportlab\demos\kugar>GenXMLReport.py
* * * Bouwen RepHdrdefinities
* * * Bouwen RepPagdefinities
Detaillvl 0 is arraynr 0
Detaillvl 1 is arraynr 1
Detaillvl 2 is arraynr 2
* * * Bouwen DetailFooterdefinities
* * * Bouwen PageFooterdefinities
* * * Bouwen RepFooterdefinities
Detaillvl 0 is arraynr 0
ProcessRow
ProcessTable
-------------------------------------
SingleRow --------------------------------
--
Traceback (most recent call last):
  File "C:\code\reportlab\demos\kugar\GenXMLReport.py", line 841, in ?
    p.Row({"Naam1":"dddddd", "Naam2":"eeeeeeee","Postbus":"Postbus
900","Postcod
e":"1213 DS","Woonplaats":"Vlaardingen"},lvl=3D0)
  File "C:\code\reportlab\demos\kugar\GenXMLReport.py", line 264, in Row
    Rh, result =3D self.det.ProcessRow(data, lvl)
  File "C:\code\reportlab\demos\kugar\GenXMLReport.py", line 691, in
ProcessRow
    return self.__ProcessTableInput(data, lvlidx)
  File "C:\code\reportlab\demos\kugar\GenXMLReport.py", line 698, in
__ProcessTa
bleInput
    Rh, t =3D self.__SingleRow(data, lvlidx)
  File "C:\code\reportlab\demos\kugar\GenXMLReport.py", line 734, in
__SingleRow

    self.DetDefs[lvlidx][n].CalcResult[m] =3D
self.Calculations[self.DetDefs[lvlid
x][n].CalcType[m]](self.DetDefs[lvlidx][n].CalcResult[m], float(value))
TypeError: tuple indices must be integers

_______________________________________________
reportlab-users mailing list
reportlab-users@reportlab.com
http://two.pairlist.net/mailman/listinfo/reportlab-users