Opened 17 years ago

Last modified 17 years ago

#1584 closed defect

annot find an implementation of the "IPasswordStore" interface named "" — at Version 1

Reported by: Jay Yap Owned by: Matt Good
Priority: high Component: AccountManagerPlugin
Severity: critical Keywords: IPasswordStore, blank
Cc: Trac Release: 0.10

Description (last modified by Noah Kantrowitz)

AccountManagerPlugin on login shows error

Traceback (most recent call last):
  File "C:\Python24\Lib\site-packages\trac\web\main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "C:\Python24\Lib\site-packages\trac\web\main.py", line 182, in dispatch
    req.authname = self.authenticate(req)
  File "C:\Python24\Lib\site-packages\trac\web\main.py", line 146, in authenticate
    authname = authenticator.authenticate(req)
  File "build\bdist.win32\egg\acct_mgr\web_ui.py", line 334, in wrap
  File "build\bdist.win32\egg\acct_mgr\web_ui.py", line 344, in authenticate
  File "build\bdist.win32\egg\acct_mgr\web_ui.py", line 371, in _remote_user
  File "build\bdist.win32\egg\acct_mgr\api.py", line 104, in check_password
  File "build\bdist.win32\egg\acct_mgr\api.py", line 120, in password_store
  File "C:\Python24\Lib\site-packages\trac\config.py", line 379, in __get__
    raise AttributeError('Cannot find an implementation of the "%s" '
AttributeError: Cannot find an implementation of the "IPasswordStore" interface named "".  Please update the option account-manager.password_store in trac.ini.

Here is my trac.ini:

[components]
acct_mgr.admin.accountmanageradminpage = enabled
acct_mgr.api.accountmanager = enabled
acct_mgr.db.sessionstore = enabled
;acct_mgr.htfile.HtPasswdStore = enabled
acct_mgr.htfile.HtDigestStore = enabled
acct_mgr.pwhash.htpasswdhashmethod = enabled
acct_mgr.web_ui.accountmodule = enabled
acct_mgr.web_ui.loginmodule = enabled
acct_mgr.web_ui.registrationmodule = enabled
trac.web.auth.LoginModule = disabled
webadmin.* = enabled

[account_manager]
;password_store = HtPasswdStore
password_store = HtDigestStore
;password_file = c:/trac/projects/soitecsg.password
password_file = c:/trac/projects/soitecsg.htdigest
htdigest_realm = xxxxx

Change History (1)

comment:1 Changed 17 years ago by Noah Kantrowitz

Description: modified (diff)

Fixing formatting.

Note: See TracTickets for help on using tickets.