Connection Hash Creation Invalid

Bug #290096 reported by Nikoleta Verbeck on 2008-10-27
Affects Status Importance Assigned to Milestone
Status tracked in Pre-1.0
Fix Released
Nikoleta Verbeck

Bug Description


Ive downloaded the new v0.3B and it appears the connection parameters have changed and am not sure how I should be using the new library.
when connecting:
 con = PySQLPool.getNewConnection(host = 'host', username='user', password='pwd', schema='test', commitOnEnd =False)
I get a string and int concatenation error. I believe that this might be a bug (but am not sure am using it correctly) I changed the source on PySQLConnection line 52 to hashStr += str([key]) which was a simple fix.After that it got a bit more complicated. I then started getting another error
TypeError: 'username' is an invalid keyword argument for this function. Debugging through it it appears that this error has something to do with unknown para being passed to MySQLdb.connect() method.


Changed in pysqlpool:
assignee: nobody → nerdynick
importance: Undecided → Critical
milestone: none → 0.3
status: New → Confirmed
Nikoleta Verbeck (nerdynick) wrote :

Fix Committed into SVN.

Changed in pysqlpool:
status: Confirmed → Fix Committed
Nikoleta Verbeck (nerdynick) wrote :

Release with 0.3

Changed in pysqlpool:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers