Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#848 closed enhancement (wontfix)

Cannot find implementation of IPasswordStore

Reported by: cread Owned by: Matt Good
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 11 years ago by cread

Cc: conley@… added; anonymous removed

comment:2 Changed 11 years ago by cread

Resolution: wontfix
Severity: majornormal
Status: newclosed
Type: defectenhancement

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

comment:3 Changed 11 years ago by anonymous

try setting

acct_mgr.pwhash.* = enabled

worked for me.

Modify Ticket

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

Add Comment


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

 
Note: See TracTickets for help on using tickets.