KeyError exception while trying to execute sql query
Bug #121300 reported by
dervish
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mysqldb (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-mysqldb
I have encountered a serious problem with the 64bit version of python-mysqldb coming with feisty (version 1.2.1).
I cannot execute even a simple SQL query (using pyformat placeholders).
import MySQLdb
>>> MySQLdb.__version__
'1.2.1_p2'
>>> c = MySQLdb.
>>> c.cursor(
This results in a python execption:
Exceptions.
The same code works on the 32bit version and on other 64bit linux distros with the same version of python-mysqldb. It seems also to be already fixed in the gutsy package, which provides version 1.2.2.
To post a comment you must log in.
Thank you for reporting this bug to Ubuntu. Unfortunately, Feisty reached EOL in October 2008. /wiki.ubuntu. com/Releases
Please see this document for currently supported Ubuntu releases:
https:/
If this bug persists in Jaunty, please reopen this bug by setting the status back to New.
Please feel free to report any other bugs you may find.