Interface Error on Windows Only
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Connector/Python |
Fix Released
|
Undecided
|
Geert JM Vanderkelen |
Bug Description
Python Version: 2.4.5 (embedded inside the application, cannot change this)
Basically this affects all windows systems, and I can't seem to figure out why.
Basically I am using the MythTV python bindings with your mysql library inside Boxee which is running python 2.4.5.
On all windows systems that have been tried, while I am pulling the recording information from the database through the library, an InterfaceError is thrown.
My project's issue is located here: http://
The most recent debug log for troubleshooting is located here: http://
I am also printing out the sql queries being executed in that log as well.
Thank you for your time and help, I am sorry for the somewhat duplicate bug, I was unable to modify the other ticket for some reason, and that one was specific to an ampersand sign (which I thought was the culprit, but just happened to be a coincidence)
Thanks,
-Erik
Hello Erik,
For the record (from previous bug report):
* Using Python 2.4
* Using MySQL Connector/Python 0.1.0
Reading from that post, it happens on random queries, that's no good.
Could you edit the cursor.py and replace in the execute()-method:
except StandardError, e: InterfaceError(
"Failed executing the operation; %s" % e)
raise errors.
with the following:
except StandardError, e: InterfaceError, errors. InterfaceError(
"Failed executing the operation; %s" % e), sys.exc_info()[2]
raise errors.
Also, you need to import the sys module in cursor.py, somewhere at the
top it should look like this:
import sys
from collections import deque
import weakref
Rerun and check logs.
Longshot, but hopefully it might tell more.
Cheers,
Geert