Modify

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

Description

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/main.py", line 356, in dispatch_request
    dispatcher.dispatch(req)
  File "/home/livelinux/packages/lib/python/trac/web/main.py", line 224, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 250, in process_request
  File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 36, in _create_user
  File "build/bdist.linux-i686/egg/acct_mgr/api.py", line 95, in has_user
  File "build/bdist.linux-i686/egg/acct_mgr/api.py", line 112, in password_store
  File "/home/livelinux/packages/lib/python/trac/config.py", 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:

[account-manager]
password_store = HtPasswdStore
password_file = /home/livelinux/trac_sites/live.htpasswd

[components]
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: http://live.conleyread.com/

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 fileinput.py 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

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.