Modify

Opened 17 years ago

Closed 17 years ago

#1584 closed defect (fixed)

annot find an implementation of the "IPasswordStore" interface named ""

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

Attachments (0)

Change History (4)

comment:1 Changed 17 years ago by Noah Kantrowitz

Description: modified (diff)

Fixing formatting.

comment:2 Changed 17 years ago by Noah Kantrowitz

Just enable acct_mgr.*, it will be much easier.

comment:3 Changed 17 years ago by Noah Kantrowitz

Also, that section should be [account-manager].

comment:4 Changed 17 years ago by Jay Yap

Resolution: fixed
Status: newclosed

Thanks! Problem fixed!

Sorry for not being to look too closely... Was used to almost everything using underscores

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matt Good.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.