[python-sybase] pending results problem

Dave Cole djc at object-craft.com.au
13 Apr 2002 12:36:50 +1000


>>>>> "Ralph" == Ralph Heinkel <rh@cenix-bioscience.com> writes:

Ralph> Hello, every once in a while (especially after having sybase
Ralph> server problems) I get the following message:

Ralph> ['ct_send', {'status': 0, 'sqlstate': 'ZZZZZ', 'osnumber': 0,
Ralph> 'osstring': '', 'msgstring': 'ct_send(): user api layer:
Ralph> external error: This routine cannot be called because another
Ralph> command structure has results pending.', 'msgnumber': 16843057,
Ralph> 'severity': 1}]

Ralph> What would be the adequate reaction on this? (How do I detect
Ralph> this - the the msgnumber 16843057 unique to this error?)

It looks a bit suspicious.  Are you able to give any more details (SQL
for instance).

- Dave

-- 
http://www.object-craft.com.au