471,322 Members | 1,550 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,322 software developers and data experts.

python sybase errors

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
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?

Jul 18 '05 #1
0 1439

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Data Goob | last post: by
5 posts views Thread by Widom | last post: by
18 posts views Thread by David Rysdam | last post: by
3 posts views Thread by John Fabiani | last post: by
reply views Thread by Vince | last post: by
9 posts views Thread by Norm Goertzen | last post: by
3 posts views Thread by len | last post: by
2 posts views Thread by eight02645999 | last post: by
113 posts views Thread by John Nagle | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.