On Oct 12, 2005, at 4:16 AM, Matthew Fairclough wrote:

Required changes: bubblet/StatForm.py: dCommandButton must be dButton. Once changed, it works perfectly.

Wow, I hadn't looked at that code in ages. It pre-dates the days when you could write an app in Dabo, since we didn't yet have menus implemented and a lot of the sizer code wasn't written. If I have time later today, I might take it upon myself to re-write Bubblet, just to see how much cleaner the code would be.

Suggested Changes: AppWizard.py:

# Enable the file search button if this is a file-based backend
        if dbType in ("SQLite","FB_Embedded"):

This allows embedded firebird databases to be used (assuming the gds32.dll file is in the wizards directory).

This is a new one to me, although I must confess to not being very familiar with Firebird. I didn't know that there was an embedded version. Does the kinterbasdb module and the Dabo dbFirebird.py work with it unchanged? If you're willing to test this stuff, since I don't have FB_Embedded available here, I'd be more than happy to implement whatever's needed.

Suggested changes: don't know where the change should go, but the application created by the AppWizard using embedded firebird works when the <host> tag is deleted from 'default.cnxml'.

    OK, that would make sense.

Errors:  IDE.py

IDE.py is an experiment that we have not kept up with. The idea was that it would tie together all of the various tools used to help create apps in Dabo - sort of a Visual Studio-type development center. But since our tools are still being developed and are in various states of maturity and stability, it was felt that developing the central tool to tie them together was putting the cart before the horse. It will be developed some day; just not anytime soon.

File "c:\Python24\Lib\site-packages\Dabo-0.4.2-py2.4.egg\dabo\lib \reportWriter
.py", line 1022, in _getFormFromXMLDict
    record[field] = eval(value)
  File "<string>", line 1
     The Clash
             ^
 SyntaxError: unexpected EOF while parsing

    I'll let Paul address this - the report writer is his project.

AttributeError: 'Grid' object has no attribute 'colWidths'

The only way that that could happen is if the FieldSpecs property was never set. Again, I'll defer to Paul since he has been working with the datanav sub-framework.


-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to