Kyle Stevens wrote:
> Uwe Grauer wrote:
>> Kyle Stevens wrote:
>>   
>>> Dabo looks great, but I have some wxPython applications and I would like 
>>> to try just using Dabo's report designer for now.  I created an 
>>> application using the AppWizard, along with a sample report.  I tried 
>>> running FrmReportSample.py, hoping it would be that simple, but I 
>>> received the error below.  Has this ever been tried before?  Any hints 
>>> to help me figure this out?  Thanks for any help.
>>>
>>> Microsoft Windows XP [Version 5.1.2600]
>>> (C) Copyright 1985-2001 Microsoft Corp.
>>>
>>> C:\Documents and Settings\kyle.NEPCO2>"C:\Program Files\Dabo 
>>> Runtime\ide\wizards
>>> \AppWizard\Estimate\ui\FrmReportSample.py"
>>> Traceback (most recent call last):
>>>   File "C:\Program Files\Dabo 
>>> Runtime\ide\wizards\AppWizard\Estimate\ui\FrmRepor
>>> tSample.py", line 11, in <module>
>>>     from FrmReportBase import FrmReportBase
>>>   File "C:\Program Files\Dabo 
>>> Runtime\ide\wizards\AppWizard\Estimate\ui\FrmRepor
>>> tBase.py", line 7, in <module>
>>>     class FrmReportBase(dabo.ui.dDialog):
>>> AttributeError: 'module' object has no attribute 'dDialog'
>>>
>>> C:\Documents and Settings\kyle.NEPCO2>
>>>
>>>     
>> Would you please post your version information by using the menuitem
>> Help/About in any dabo application (e.g AppWizard, ...)? You can copy
>> the contents of the About dialog to the clipboard and paste it into a
>> email. Maybe it is a problem with your specific version.
>>
>> Uwe
>>
>>   
> Thanks for the reply.
> 
> Below is my version information.  So it should be possible to use the 
> Dabo reports from a normal wxPython application without too much fuss?
> 
> Python: 2.5.1
> Dabo: 0.8.1s; Revision 3252
> UI Version: 2.8.4.0
> 
> {'name': 'Dabo IDE version', 'value': '0.7.1s (revision 810)'}
> 
> I tried something similar to the following (but this exact code I found 
> on the mailing list, I modified it slightly), but it didn't work.
> 
> from dabo.dReportWriter import dReportWriter
> from myReports import getReportCursor
> 
> myCursor = getReportCursor()
> rw = dReportWriter(ReportFormFile="path/to/your.rfxml",
>                     OutputFile="/tmp/out.pdf",
>                     Cursor=myCursor)
> rw.write()

Ok, you used an older dabo version.
Can you test with a newer version?
0.8.1 is the last stable binary.
Most people prefer to use the subversion trunk to always get
the the last developments but 0.8.1 should be enough for a start.
Regarding your specific report problem you should wait for a reply
by Paul as he is the one who did all of the development for the
report stuff.
But please try if you get better results with 0.8.1.
Get it from:
http://dabodev.com/download

Dabo can be used with all other wxpython apps if it gets initialized
correctly. So, using wxpython apps should be possible together with Dabo.

Uwe


_______________________________________________
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/dabo-users/[EMAIL PROTECTED]

Reply via email to