From: Deron M. <der...@gm...> - 2009-07-29 19:30:50
|
I'm running * Linux 2.4 * Python 2.3 * freetds 0.82 * python sybase 0.39 When I try to execute any query, I get the following error: >>> import Sybase >>> d = Sybase.connect( dsn='XXX', user='XXX', passwd='XXX', database='XXX', auto_commit=0 ) >>> c = d.cursor() >>> c.execute("select count(*) from INFORMATION_SCHEMA.TABLES") Traceback (most recent call last): File "<stdin>", line 1, in ? File "build/bdist.linux-i686/egg/Sybase.py", line 546, in execute File "build/bdist.linux-i686/egg/Sybase.py", line 695, in _start File "build/bdist.linux-i686/egg/Sybase.py", line 709, in _mainloop File "build/bdist.linux-i686/egg/Sybase.py", line 753, in _raise_error Sybase.DatabaseError: Msg 16902, Level 16, State 24, Line 1 sp_cursoropen: The value of the parameter 'scrollopt' is invalid. This worked with previous versions (freetds 0.63 and python sybase 0.38). Also, I think freetds is itself working because I also have sqsh compiled against it, and sqsh can do queries without error. Does anybody have any ideas what this is, or how I could fix it? -- Deron |