|Title||Bugzilla integration depends on MySQLdb returning lists|
|Assigned user||Nick Barnes|
|Description||A user reported an error from the Bugzilla integration, when the P4DTI was attempting to update a Bugzilla bug which had other bugs blocked on it but which was not blocked on any other bugs.|
This was the error:
(P4DTI-891X) Defect tracker error (exceptions.TypeError): can only concatenate tuple (not "list") to tuple
This happened when the P4DTI was attempting to update a Bugzilla bug which had other bugs blocked on it but which was not blocked on any other bugs.
It has not yet been possible to reproduce this bug at Ravenbrook, and it is possible that most users will not see this bug.
|Analysis||This is caused by behaviour of the Python database library MySQLdb which we have not observed. It is probably due to an incompatible version of MySQLdb, used to access the Bugzilla database. This is therefore related to job000317 (we don't check the MySQLdb version number).|
We may be able to configure the behaviour of MySQLdb. I have asked the MySQLdb author for advice.
We know that this doesn't happen in MySQLdb version 0.2.2 or 0.3.0.
In any case, the P4DTI should accept any sequence of sequences, as that is what is promised by the Python DB API version 2.0.
|Created by||Nick Barnes|
|Created on||2001-10-22 15:48:46|
|Last modified by||Nick Barnes|
|Last modified on||2002-04-09 11:36:34|
|History||2001-10-22 NB Created.|
|23520||closed||2001-10-25 14:30:22||Nick Barnes||Handle results from MySQLdb of any sequence type, as that is all the DB API promised.|