468,727 Members | 1,459 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,727 developers. It's quick & easy.

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
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
Jul 18 '05 #1
0 1332

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
1 post views Thread by CARIGAR | last post: by
9 posts views Thread by bryonone | last post: by
reply views Thread by zhoujie | last post: by
xarzu
1 post views Thread by xarzu | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.