cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

This routine can be called only if the command structure is idle.

0 Kudos
1,000

When running an insert statement using params in Python. I get the below error when one of the params has a value of None. I was under the assumption that this should be auto translated to NULL using the sybase module? If I remove the param that is set to None the entire row inserts correctly.

Exception Sybase.DatabaseError: DatabaseError('Layer: 1, Origin: 1\\nct_cmd_drop(): user api layer: external error: This routine can be called only if the command structure is idle.',) in <bound method="" cursor.__del__="" of="" cursor(48503624)=""> ignored Exception Sybase.DatabaseError: DatabaseError('Layer: 1, Origin: 1\\nct_cmd_drop(): user api layer: external error: This routine can be called only if the command structure is idle.',) in <module 'threading'="" from="" '="" usr="" lib64="" python2.7="" threading.pyc'=""> ignored

Accepted Solutions (0)

Answers (0)