Opened 10 years ago

Closed 10 years ago

#1584 closed defect (fixed)

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

Reported by: jatyap Owned by: mgood
Priority: high Component: AccountManagerPlugin
Severity: critical Keywords: IPasswordStore, blank
Cc: Trac Release: 0.10

Description (last modified by coderanger)

AccountManagerPlugin on login shows error

Traceback (most recent call last):
  File "C:\Python24\Lib\site-packages\trac\web\", line 406, in dispatch_request
  File "C:\Python24\Lib\site-packages\trac\web\", line 182, in dispatch
    req.authname = self.authenticate(req)
  File "C:\Python24\Lib\site-packages\trac\web\", line 146, in authenticate
    authname = authenticator.authenticate(req)
  File "build\bdist.win32\egg\acct_mgr\", line 334, in wrap
  File "build\bdist.win32\egg\acct_mgr\", line 344, in authenticate
  File "build\bdist.win32\egg\acct_mgr\", line 371, in _remote_user
  File "build\bdist.win32\egg\acct_mgr\", line 104, in check_password
  File "build\bdist.win32\egg\acct_mgr\", line 120, in password_store
  File "C:\Python24\Lib\site-packages\trac\", 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:

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

;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 10 years ago by coderanger

  • Description modified (diff)

Fixing formatting.

comment:2 Changed 10 years ago by coderanger

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

comment:3 Changed 10 years ago by coderanger

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

comment:4 Changed 10 years ago by jatyap

  • Resolution set to fixed
  • Status changed from new to closed

Thanks! Problem fixed!

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

Add Comment

Modify Ticket

as closed The owner will remain mgood.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.