Changes between Initial Version and Version 2 of Ticket #429


Ignore:
Timestamp:
Jun 11, 2006, 3:11:45 AM (18 years ago)
Author:
Alec Thomas
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #429

    • Property Status changed from new to closed
    • Property Resolution changed from to invalid
  • Ticket #429 – Description

    initial v2  
    11'''After installing dbauth on trac .10 dev and making the configuration changes suggested, I got the following error on logging on...'''
    22
    3 
     3{{{
    44Traceback (most recent call last):
    55  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 313, in dispatch_request
     
    2525    super(Connection, self).__init__(*args, **kwargs2)
    2626TypeError: 'charset' is an invalid keyword argument for this function
     27}}}
    2728
    2829Noticing the '''charset''' error, I tried the following which resolved the error and allowed me to login using the creditials in the mysql database
    2930
    3031'''removing the reference to 'charset" in /usr/lib/python2.4/site-packages/trac/db/mysql_backend.py '''
    31  
     32
     33{{{
    3234        cnx = MySQLdb.connect(db=path, user=user, passwd=password, host=host,
    3335                              port=port, use_unicode=True, charset='utf8')
     36}}}
    3437
    3538'''MODIFIED TO '''
    3639
     40{{{
    3741      cnx = MySQLdb.connect(db=path, user=user, passwd=password, host=host,
    3842                              port=port, use_unicode=True)               
     43}}}
    3944
    4045
    4146
    42