Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#3660 closed defect (wontfix)

Check for python-mysqldb does not work properly

Reported by: Martin Burger <mburger@…> Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

In trac/db/mysql_backend.py line 138 there is a test for python-mysqldb version. I installed 1.2.1c2-1 (Debian Sarge), so that if statement should take the first suite. But, the suite of the else clause is executed.

Attachments (0)

Change History (2)

comment:1 by Martin Burger <mburger@…>, 18 years ago

Version: 0.9.6devel

I am using Trac 0.10b1

comment:2 by Matthew Good, 18 years ago

Resolution: wontfix
Status: newclosed

MySQLdb 1.2.1c2 is a pre-release version, so it is not considered to be ≥ 1.2.1. The reason for the version test is to check whether the "connect" method supports the "charset" parameter, which is not in the pre-release versions. I have MySQLdb 1.2.1c3 installed from Ubuntu Dapper and it does not contain the necessary API changes.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.