Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: DB
Floating point errors
 

Index | Next | Previous | View Flat


siribu at start

Jan 23, 2008, 5:35 AM


Views: 1788
Permalink
Floating point errors

Hi,



I have got a problem:



accessing an Oracle 10g database, whenever I ask for floats from a Zope Z SQL method, they are automatically converted to integers, simply dropping the decimal numbers.



I am using Zope 2.10.4-final with Python 2.4.4 running on a Linux2 OS. Furthermore, I am using UnixODBC with Easysoft’s ODBC-Oracle driver together with eGenix mxODBC Zope DA.



Running iSQL on the server or even utilizing the mxODBC Zope DA driver directly in Python works well without problems.



The error logs for the ODBC contained no sign or errors. Neither did I get any response when I ran Event Log Manager in Zope. I could not find anything in syslog.



Any clues on how to solve this?



-su


-------------------------------------------------------------------------
Få din egen, gratis e-postadresse på http://www.start.no/"]Start.no

Subject User Time
Floating point errors siribu at start Jan 23, 2008, 5:35 AM
    Re: Floating point errors mal at egenix Feb 3, 2008, 3:37 AM
    Re: Floating point errors siribu at start Feb 3, 2008, 11:19 PM
        Re: Floating point errors mal at egenix Feb 4, 2008, 2:34 AM
    Re: Floating point errors siribu at start Feb 4, 2008, 11:05 PM
        Re: Floating point errors mal at egenix Feb 5, 2008, 2:28 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.