Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#848 closed enhancement (wontfix)

Cannot find implementation of IPasswordStore

Reported by: cread Owned by: mgood
Priority: high Component: AccountManagerPlugin
Severity: normal Keywords: htpasswd ipasswordstore htpasswdstore
Cc: conley@… Trac Release: 0.10


I have referenced other similar tickets that have been resolved with changes to trac.ini locally, however even with the changes and restarting apache, the error remains.

Here is the trace:

Traceback (most recent call last):
  File "/home/livelinux/packages/lib/python/trac/web/", line 356, in dispatch_request
  File "/home/livelinux/packages/lib/python/trac/web/", line 224, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/acct_mgr/", line 250, in process_request
  File "build/bdist.linux-i686/egg/acct_mgr/", line 36, in _create_user
  File "build/bdist.linux-i686/egg/acct_mgr/", line 95, in has_user
  File "build/bdist.linux-i686/egg/acct_mgr/", line 112, in password_store
  File "/home/livelinux/packages/lib/python/trac/", line 377, 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.

This is my trac.ini configuration:

password_store = HtPasswdStore
password_file = /home/livelinux/trac_sites/live.htpasswd

webadmin.* = enabled
trac.web.auth.LoginModule = disabled
acct_mgr.* = enabled
acct_mgr.web_ui.LoginModule = enabled
acct_mgr.web_ui.RegistrationModule = enabled
acct_mgr.htfile.HtPasswdStore = enabled
acct_mgr.admin.AccountManagerAdminPage = enabled
acct_mgr.web_ui.AccountModule = enabled
acct_mgr.api.AccountManager = enabled

Reference the installed application at:

Attachments (0)

Change History (3)

comment:1 Changed 8 years ago by cread

  • Cc conley@… added

comment:2 Changed 8 years ago by cread

  • Resolution set to wontfix
  • Severity changed from major to normal
  • Status changed from new to closed
  • Type changed from defect to enhancement

The trace is very misleading. The above error was fixed by replacing in the python2.3 libs.

comment:3 Changed 7 years ago by anonymous

try setting

acct_mgr.pwhash.* = enabled

worked for me.

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from mgood. Next status will be 'closed'.
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.