Opened 18 years ago
Closed 18 years ago
#692 closed defect (worksforme)
Cannot find an implementation of the "IPasswordStore" interface named "HtPasswdStore".
Reported by: | Owned by: | Matt Good | |
---|---|---|---|
Priority: | normal | Component: | AccountManagerPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
Hello!
I installed the plugin we it is descriptet on the wiki.
When i try to login i become this message:
2006-09-06 21:27:23,655 Trac[main] ERROR: Cannot find an implementation of the "IPasswordStore" interface named "HtPasswdStore". Please update the option account-manager.password_store in trac.ini. Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 335, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 191, in dispatch req.authname = self.authenticate(req) File "/usr/lib/python2.3/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 272, in wrap File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 282, in authenticate File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 309, 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 112, in password_store File "/usr/lib/python2.3/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 "HtPasswdStore". Please update the option account-manager.password_store in trac.ini.
What can i doo? Whats whrong?
my trac.ini looks like this:
[account-manager] ; configure the plugin to store passwords in the htdigest format: ;password_format = htpasswd ; with Trac 0.10 use this instead: password_store = HtPasswdStore ; the file where user accounts are stored ; the webserver will need write permissions to this file ; and its parent folder password_file = /var/trac/topackt/conf/trac.htpasswd [components] acct_mgr.admin = enabled trac.web.auth.LoginModule = disabled acct_mgr.web_ui.LoginModule = enabled acct_mgr.web_ui.registrationmodule = disabled acct_mgr.api.AccountManager = enabled iniadmin.* = enabled tblog.* = enabled tracgantt.gantt.ganttcomponent = disabled webadmin.* = enabled trac.wiki.web_ui.wikimodule = disabled tractags.* = enabled
Attachments (0)
Change History (6)
comment:1 Changed 18 years ago by
comment:2 Changed 18 years ago by
hi.. i put the line to the componet
And now i become this exeption
Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 335, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 220, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.3/site-packages/trac/web/auth.py", line 95, in process_request self._do_login(req) File "/usr/lib/python2.3/site-packages/trac/web/auth.py", line 116, in _do_login assert req.remote_user, 'Authentication information not available.' AssertionError: Authentication information not available.
comment:3 Changed 18 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Ok.. i found my error.
i fourgot to comment out the line
password_format = htpasswd
... now its works.
Thanks
comment:4 follow-up: 5 Changed 18 years ago by
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
Sorry.. but after a logout i become now:
Internal Error No admin pages available
and i was logged out. Now when i do a login i become again:
Python Traceback Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 335, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 191, in dispatch req.authname = self.authenticate(req) File "/usr/lib/python2.3/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 272, in wrap File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 282, in authenticate File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 309, 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 112, in password_store File "/usr/lib/python2.3/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 "HtPasswdStore". Please update the option account-manager.password_store in trac.ini.
Any Ideas?
comment:5 Changed 18 years ago by
Replying to t.creutz@topackt.com:
Sorry.. but after a logout i become now:
Internal Error No admin pages available
You must have been browsing the Admin section. Once you logged out you no longer had permissions to access the admin pages.
and i was logged out. Now when i do a login i become again:
...snip...
AttributeError: Cannot find an implementation of the "IPasswordStore" interface named "HtPasswdStore". Please update the option account-manager.password_store in trac.ini.
Be sure to restart your webserver after enabling or disabling components.
comment:6 Changed 18 years ago by
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
Thanks, that fixed my problems... ;-)
You also need to enable the
HtPasswdStore
component:acct_mgr.htfile.HtPasswdStore
.If that solves your problem please close as "worksforme".