This error happened when I clicked on the preview tab. Normally, it
will compile a PDF and open up the PDF viewer, but this time it
failed.
Platform: Win
Python Version: 2.5.4 on win32
Dabo Version: Version 0.9.2; Revision 5980M
UI Version: 2.8.11.0 on wxMSW
$ python ReportDesigner.py
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 1464
0, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "C:\Python25\lib\site-packages\dabo\dabo\ui\uiwx\dPemMixin.py", line 982,
in raiseEvent
super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args, **kwargs)
File "C:\Python25\lib\site-packages\dabo\dabo\lib\eventMixin.py", line 92, in
raiseEvent
bindingFunction(event)
File "ReportDesigner.py", line 2702, in onPageEnter
self.render()
File "ReportDesigner.py", line 2708, in render
self.Form.onFilePreviewReport(None)
File "ReportDesigner.py", line 2576, in onFilePreviewReport
self.editor._rw.write()
File "C:\Python25\lib\site-packages\dabo\dabo\lib\reportWriter.py", line 2100,
in write
y = printBand("ReportBegin")
File "C:\Python25\lib\site-packages\dabo\dabo\lib\reportWriter.py", line 1979,
in printBand
if obj.__class__.__name__ in ("String",) and "self.PageCount" in obj["expr"]
:
File "C:\Python25\lib\site-packages\dabo\dabo\lib\caselessDict.py", line 24, i
n __getitem__
return dict.__getitem__(self, key.lower())
KeyError: 'expr'
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]