Title | Bugzilla integration fails if mx.DateTime module is installed |
Status | closed |
Priority | critical |
Assigned user | Gareth Rees |
Organization | Ravenbrook |
Description | The Bugzilla integration breaks if the Python mx.DateTime module is installed on the P4DTI server system. |
Analysis | This is essentially the same problem as job000193, but caused by a different packaging of the DateTime module. Early versions of the DateTime module are loaded with "import DateTime". Later versions are loaded with "from mx import DateTime". The MySQLdb interface tries both methods of loading the module, so it works regardless of which packaging; see MySQLdb.py 1.40, lines 64-71. However, the P4DTI only tries the old way of loading the module, so it loses when the newer package is installed. The fix is to not depend on the form of the DateTime packaging. |
How found | customer |
Evidence | <http://info.ravenbrook.com/mail/2002/02/21/17-33-18/0.txt > |
Observed in | 1.2.1 |
Introduced in | 0.5.0 |
Created by | Gareth Rees |
Created on | 2002-02-21 18:34:26 |
Last modified by | Gareth Rees |
Last modified on | 2002-02-21 18:34:26 |
History | 2002-02-21 GDR Created. |
Change | Effect | Date | User | Description |
---|---|---|---|---|
26293 | closed | 2002-01-31 19:04:16 | Gareth Rees | Added support for MySQLdb 0.9.1. |