[DB-SIG] no-error error
M.-A. Lemburg
mal at egenix.com
Fri Oct 19 23:18:58 CEST 2007
Lukasz Szybalski wrote:
> Hello,
> I have a python program that converts some data and writes it via ODBC driver.
> I am using a win32 dbi,odbc to do that. (none of the free other ones work)
>
> I just upgraded my ODBC driver to a newer version that supposedly is a
> 2.0 compatible.
>
> Now I am getting a:
> dbi.no-error: [SoftVelocity Inc.][TopSpeed ODBC Driver]String or
> binary data would be truncated in EXEC
>
> What I noticed is that dbi.no-error has given me this error. How do I
> except a 'no-error' error?
I can't help you with that, but I'd suggest that you try our mxODBC
Python ODBC interface.
It comes with support for errorhandlers, so you can work around many
problems you find with an ODBC driver, such as error reports which
really should be handled as warnings or not at all.
http://www.egenix.com/products/python/mxODBC/
BTW: Which ODBC driver are you using and against which database
backend ?
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Oct 19 2007)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
:::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
More information about the DB-SIG
mailing list