Index
2009-07-23 16:10 – John : [dabo-users] reportWriter error on linux (works on windows)
2009-07-23 16:14 – John : Re: [dabo-users] reportWriter error on linux (works on windows)
2009-07-23 16:26 – John : Re: [dabo-users] reportWriter error on linux (works on windows)
2009-07-23 17:15 – John : Re: [dabo-users] reportWriter error on linux (works on windows)
2009-07-27 00:18 – Paul McNett : Re: [dabo-users] reportWriter error on linux (works on windows)
Back to top
[dabo-users] reportWriter error on linux (works on windows)

Author: John

Posted: 2009-07-23 16:10:18   Link

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

©2009 John
Back to top
Re: [dabo-users] reportWriter error on linux (works on windows)

Author: John

Posted: 2009-07-23 16:14:43   Link

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

©2009 John
Back to top
Re: [dabo-users] reportWriter error on linux (works on windows)

Author: John

Posted: 2009-07-23 16:26:00   Link

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

©2009 John
Back to top
Re: [dabo-users] reportWriter error on linux (works on windows)

Author: John

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

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
Back to top
Re: [dabo-users] reportWriter error on linux (works on windows)

Author: Paul McNett

Posted: 2009-07-27 00:18:46   Link

John wrote:

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

We should probably put a note that reportlab 2.0 + is required.

Paul

©2009 Paul McNett