Setup: Platform: GTK Python Version: 2.5.2 on linux2 Dabo Version: Version 0.9.1; Revision ~5105 UI Version: 2.8.8.1 on wxGTK (gtk2)
Postgres 8.2 Trying to figure something out. I have a grid where one of the columns is a Numeric type. When I update that field I get: Dabo Error Log: Tue Aug 18 14:39:50 2009: !!! Data Type Mismatch: field=sd_div_amt. Expecting: <class 'decimal.Decimal'>; got: <type 'unicode'> If I open a Command windows and query the grid for the type it returns Numeric. The DataStructure for the bizobj identifies the field as numeric and the DataType for the dColumn is set as decimal.Decimal. The strange thing is if I use a dGridSizer to contain the fields I don't see the above error. Looking at the Postgres logs shows that the value is being sent to the database as a string from the Grid but as a decimal/numeric from the GridSizer. Any clues? Adrian Klaver [email protected] _______________________________________________ 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/896088140.1390111250632112205.javamail.r...@sz0030a.emeryville.ca.mail.comcast.net
