bug in error message creation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Connector/Python |
Fix Committed
|
Low
|
Geert JM Vanderkelen |
Bug Description
just installed MySQL Connector/Python, configured examples in python2 sub-dir, tried to run engine.py and got following error:
myDir> src/mysql-
Traceback (most recent call last):
File "engines.py", line 35, in <module>
main(config)
File "engines.py", line 16, in main
db = mysql.connector
File "/home/
return MySQLConnection
File "/home/
self.
File "/home/
ssl=(ssl_ca, ssl_cert, ssl_key))
File "/home/
"MySQL Version %s is not supported." % version)
TypeError: not all arguments converted during string formatting
--> probably a minor bug in creating the error message
db.__version__: (0, 3, 2, 'devel', 292)
python --version: Python 2.6.2
mysql -NB -e "SELECT VERSION()": 3.23.59-
Linux clientHost 2.6.28-19-generic #65-Ubuntu SMP Thu Sep 16 14:14:28 UTC 2010 i686 GNU/Linux
Linux serverHost 2.6.28-19-server #66-Ubuntu SMP Sat Oct 16 18:41:24 UTC 2010 i686 GNU/Linux
Related branches
Changed in myconnpy: | |
status: | Confirmed → Fix Committed |
Yes, the error should not give an error. :)
(Note however that we will not support MySQL 3.23.)