#1437 closed defect (worksforme)
After making some changes, I am getting exceptions
Reported by: | anonymous | Owned by: | Matt Good |
---|---|---|---|
Priority: | normal | Component: | AccountManagerPlugin |
Severity: | major | Keywords: | HtDigestHashMethod |
Cc: | Trac Release: | 0.10 |
Description
I changed from htdigest (which did not work at all for me) to htpasswd, which works, but when I hit the Admin button, an exception is thrown at me:
Python Traceback Traceback (most recent call last): File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request dispatcher.dispatch(req) File "/var/lib/python-support/python2.4/trac/web/main.py", line 238, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.macosx-10.4-fat/egg/webadmin/web_ui.py", line 109, in process_request File "build/bdist.linux-i686/egg/acct_mgr/admin.py", line 46, in process_admin_request File "build/bdist.linux-i686/egg/acct_mgr/admin.py", line 64, in _do_config File "/var/lib/python-support/python2.4/trac/config.py", line 379, in __get__ raise AttributeError('Cannot find an implementation of the "%s" ' AttributeError: Cannot find an implementation of the "IPasswordHashMethod" interface named "HtDigestHashMethod". Please update the option account-manager.hash_method in trac.ini.
I am told to change a value in trac.ini, but I would not know which one, and to change it to what? I am attaching the trac.ini file I am using.
Thanks for your help, Willi
Attachments (1)
Change History (6)
Changed 18 years ago by
comment:1 Changed 18 years ago by
Trac Release: | 0.10 → 0.11 |
---|
Hi same problem here within siemens, any clue or any reaction from the trac team on this ?
comment:2 Changed 18 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
You do not have acct_mgr.pwhash
enabled. In general its just easier to enabled acct_mgr.*
, prevents these kinds of things.
comment:3 Changed 18 years ago by
Keywords: | HtDigestHashMethod added; htpasswd htdigest removed |
---|---|
Trac Release: | 0.11 → 0.10 |
I had the same problem. inside webadmin I left HtDigestStore, HttpAuthStore, HtDigestHashMethod unchecked because I didn't think I needed them. acct_mgr.pwhash.htpasswdhashmethod was defined and enabled. When I changed components section to acct_mgr.*=enabled, it all worked. I suggest there is a problem here and this should be reopened. Its either an issue with code or Docs
comment:4 Changed 17 years ago by
Indeed, setting all individual components to enabled
does not seem to be equivalent to acct_mgr.*
. We had this same problem and doing the full-glob was the only solution that worked.
comment:5 Changed 15 years ago by
I'm using an htpasswd file for authentication and had this problem when I had set individial settinsg for the plugin components in the trac.ini. Removing them and placing the glob fixed the issue.
I then turned off individual components in the Admin plugin page and found the error shows up when you disable HtDigestHashMethod, which is weird since I'm only using HtPasswordHashMethod .. or so I thought. Leaving it enabled solves the issue.
trac.ini