David Driver wrote:
I was trying out the app wizard against some existing data that I have
in firebird.
On the data source name I have selected the Firebird profile, changed
the host to 127.0.0.1, put in sysdba as the user, dropped in the
password. I clicked the next button and the form didn't go anywhere.
The python window behind put out a traceback that looks like:
bdFirebird.py line 153 in getFields
pk = (name.lower() == pkfiled.lower())
Try replacing that line with:
pk = False
if pkField is not None:
pk = (name.lower() == pkField.lower() )
...and see how much further along you get.
Do the tables have to conform to a particular format?
Well, looking at the code, we are relying on certain system tables to
give us the information we are after. Neither Ed nor I are Firebird
experts - someone else gave us that code - so I'm not sure how to answer
your question. Try out the above fix and let me know how much further
you get. If it is only a problem getting the pk field, you'll probably
just have to manually tell the generated bizobj (in myBizobjs.py after
the AppWizard finishes) what field name is the pk field.
Your table does have a primary key field, right? ;)
These tables were created with sqlObject if it helps any.
BTW Dabo is great. I think that I will kick it around for a while. I
could be interested in attempting a web ui eventually.
That would be great!
--
Paul McNett
http://paulmcnett.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users