python sybase errors

J

Josh Close

I'm getting these errors almost every time I use sybase. I'm using it
with mssql. I build it like so:

python setup.py build_ext -D WANT_THREADS -D HAVE_FREETDS -U WANT_BULKCOPY
python setup.py install

and I'm getting these errors:

Traceback (most recent call last):
File "./check_mx.py", line 69, in ?
results = [ R(row) for row in cursor.fetchall() ]
File "/usr/lib/python2.3/site-packages/Sybase.py", line 733, in fetchall
return self._fetcher.fetchall()
File "/usr/lib/python2.3/site-packages/Sybase.py", line 517, in fetchall
row = self.fetchone()
File "/usr/lib/python2.3/site-packages/Sybase.py", line 467, in fetchone
self._fetch_rowcount()
File "/usr/lib/python2.3/site-packages/Sybase.py", line 592, in _fetch_rowcount
self._raise_error(Error, 'ct_results')
File "/usr/lib/python2.3/site-packages/Sybase.py", line 432, in _raise_error
raise exc(text)
Error: ct_results

This happens all the time.

I've also got this:

Exception Sybase.DatabaseError: <Sybase.DatabaseError instance at
0x409a702c> in <bound method _FetchLazy.__del__ of <Sybase._FetchLazy
instance at 0x40d890ac>> ignored

If I limit the row size to 50,000, I don't get the second error.

Anyone know what's going on?

-Josh
 
J

John J. Lee

Josh Close said:
I'm getting these errors almost every time I use sybase. I'm using it [..]
Anyone know what's going on?

Nope, but maybe somebody on the python-sybase list does.


John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top