I am using Python with MySQL and Django. I continue to see this error, and I cannot figure out where the exception is being raised:
Exception _mysql_exceptions.ProgrammingError: (2014, "Commands out of sync; you can't run this command now") in <bound method Cursor.__del__ of <MySQLdb.cursors.Cursor object at 0x20108150>> ignored
I have many “try” and “exception” blocks in my code - if an exception occurred in one of them, then I will see my own debugging messages. The above exception is obviously caught somewhere, since my program does not interrupt when the exception is thrown.
I am very puzzled, can someone help me?
python django mysql exception
Shlomo shmai
source share