Changes between Initial Version and Version 2 of Ticket #429
- Timestamp:
- Jun 11, 2006, 3:11:45 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #429
-
Property
Status
changed from
new
toclosed
-
Property
Resolution
changed from
to
invalid
-
Property
Status
changed from
-
Ticket #429 – Description
initial v2 1 1 '''After installing dbauth on trac .10 dev and making the configuration changes suggested, I got the following error on logging on...''' 2 2 3 3 {{{ 4 4 Traceback (most recent call last): 5 5 File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 313, in dispatch_request … … 25 25 super(Connection, self).__init__(*args, **kwargs2) 26 26 TypeError: 'charset' is an invalid keyword argument for this function 27 }}} 27 28 28 29 Noticing the '''charset''' error, I tried the following which resolved the error and allowed me to login using the creditials in the mysql database 29 30 30 31 '''removing the reference to 'charset" in /usr/lib/python2.4/site-packages/trac/db/mysql_backend.py ''' 31 32 33 {{{ 32 34 cnx = MySQLdb.connect(db=path, user=user, passwd=password, host=host, 33 35 port=port, use_unicode=True, charset='utf8') 36 }}} 34 37 35 38 '''MODIFIED TO ''' 36 39 40 {{{ 37 41 cnx = MySQLdb.connect(db=path, user=user, passwd=password, host=host, 38 42 port=port, use_unicode=True) 43 }}} 39 44 40 45 41 46 42