From: Mynthon <myn...@gm...> - 2008-08-04 14:49:50
|
when executing: >>> c.fetchone() (or any other fetch...()) i get error: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python25\lib\site-packages\DB2.py", lin if type(r[i]) == TupleType: ValueError: invalid literal for float(): 0,00000 im not sure but it may be caused by locale set for db2 - i my case it is float with comma (eg. 0,5 instead of 0.5) I'm a python newbie and dont know how to resolve that problem. Any ideas? I have no acces to db2 settings so for me it is impossible to change db2 setting (even if it is possible to change float "settings") best regards. |