trac.ini file that initenv creates is crashing new projects
|Reported by:||Owned by:||Jonas Borgström|
Description (last modified by )
New projects that get created have this at the top of their trac.ini file:
[account-manager] authentication_url = None generated_password_length = 8 htdigest_realm = None password_file = None password_format = None password_store = None
Except this is overriding the global account-manager settings in
[account-manager] password_store = HttpAuthStore authentication_url = https://localhost/login
I need to know how to change the default trac.ini that gets created by the initenv function. I followed the scripts far enough to know that the values are getting pulled from a database. Is there a way to edit that db?
I have temporarily fixed this by editing my trac project creation scripts to delete the account manager section from the new trac.ini files, but it is crude, and I would like something a tad more elegant.
When I do not delete the local account manager section, I get this error:
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 335, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 191, in dispatch req.authname = self.authenticate(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 145, in authenticate authname = authenticator.authenticate(req) File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 316, in wrap File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 326, in authenticate File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 353, in _remote_user File "build/bdist.linux-i686/egg/acct_mgr/api.py", line 104, in check_password File "build/bdist.linux-i686/egg/acct_mgr/api.py", line 120, in password_store File "/usr/lib/python2.4/site-packages/trac/config.py", line 364, in __get__ raise AttributeError('Cannot find an implementation of the "%s" ' AttributeError: Cannot find an implementation of the "IPasswordStore" interface named "None". Please update the option account-manager.password_store in trac.ini.