Re: [dabo-users] reportWriter error on linux (works on windows)

Author: John

Posted: 2009-07-23 at 17:15:42

On Thursday 23 July 2009 01:26:00 pm John wrote:

> On Thursday 23 July 2009 01:14:43 pm John wrote:

> > On Thursday 23 July 2009 01:10:18 pm John wrote:

> > > openSUSE 11.0

> > > python 2.5.2

> > > wxpython 2.8.9.2

> > > latest Dabo

> > >

> > > Traceback (most recent call last):

> > > File "/home/johnf/dabo/dabo/ui/uiwx/dControlMixin.py", line 27, in

> > > _onWxHit self.raiseEvent(dEvents.Hit, evt, *args, **kwargs)

> > > File "/home/johnf/dabo/dabo/ui/uiwx/dPemMixin.py", line 949, in

> > > raiseEvent super(dPemMixin, self).raiseEvent(eventClass, nativeEvent,

> > > *args, **kwargs)

> > > File "/home/johnf/dabo/dabo/lib/eventMixin.py", line 93, in

> > > raiseEvent bindingFunction(event)

> > > File "/home/johnf/pyProject/pespy/RptForm1.py", line 429, in doReport

> > > if SendReport(sendto, outputfile=outputfile,

> > > rfxmlname=self.PrimaryBizobj.Re cord.crptname,

> > > reportDS=reportDS, emailinfo=emailinfo, corientation=corientation

> > > , rw = self.rw, encoding=self.PrimaryBizobj.ReportCursor.Encoding,

> > > callingForm=s elf, history_info=history_info,

> > > report_info=self.ReportInfo):

> > > File "/home/johnf/pyProject/pespy/RptForm1.py", line 1087, in

> > > SendReport sentok = process_report(reportDS, rw, outputfile)

> > > File "/home/johnf/pyProject/pespy/RptForm1.py", line 965, in

> > > process_report rw.write()

> > > File "/home/johnf/dabo/dabo/lib/reportWriter.py", line 1508, in write

> > > c.setKeywords(_form.getProp("Keywords"))

> > >

> > > Johnf

> >

> > On my Linux box is appears the Prop 'keywords' is lower case???? But it

> > worked for 'Author'?? still researching.

> > Johnf

>

> My version of reportlab maybe to old? It is 1.21. I think windows is much

> higher. Could that be the trouble?

>

> Johnf

My reportLab was to old. Updating fixed the problem. Sorry about the noise.

Johnf

©2009 John