On Feb 10, 2008, at 12:18 PM, Adrian Klaver wrote:

> I changed to the svn version of Dabo(3910). The Editable property  
> still does not persist but I do not get a core dump.

        I guess you could call that progress.  ;-)

        I still haven't had the time to track that down. I started working on  
it, and confirmed that the property is being set correctly by the  
Class Designer, but is then reverted at some point. I haven't been  
able to find what is causing it to revert to Editable=False.

> Instead I get the following error message at the point where it used  
> to dump.
> Dabo Error Log: Sun Feb 10 10:09:13 2008: !!! Data Type Mismatch:  
> field=qty. Expecting: <class 'decimal.Decimal'>; got: <type 'unicode'>
> The field 'qty' is Numeric in the Postgres table.  Is there a way to  
> tell Dabo the value entered is a Decimal?


        Numerics should be represented inside of Dabo by Decimal if you have  
the Decimal module available, or float if you do not. Since you are  
running Python 2.5.1, you should have Decimal available to you.

        Also, it seems Dabo is aware of the type, as it says that it is  
expecting a decimal, but didn't get one. At what point does this  
message appear?

-- Ed Leafe





_______________________________________________
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