On Thu, Dec 19, 2019 at 11:08 PM Velu Narasimman <[email protected]>
wrote:

> Hi,
>
>     I am facing a new problem now. It was working fine few days ago but
> not now. Below are the error details,
>
>
> 2019-12-20 11:20:45,706 Trac[main] ERROR: Can't authenticate using
> LoginModule:
> Traceback (most recent call last):
>   File
> "/usr/local/lib/python2.7/dist-packages/Trac-1.0.15-py2.7.egg/trac/web/main.py",
> line 216, in authenticate
>     authname = authenticator.authenticate(req)
>   File "build/bdist.linux-x86_64/egg/usr_mgr/web_ui.py", line 143, in wrap
>     return func(self, *args, **kwds)
>   File "build/bdist.linux-x86_64/egg/usr_mgr/web_ui.py", line 156, in
> authenticate
>     req.environ['REMOTE_USER'] = self._remote_user(req)
>   File "build/bdist.linux-x86_64/egg/usr_mgr/web_ui.py", line 196, in
> _remote_user
>     if Usermanage(self.env).check_password(user, password):
>   File "build/bdist.linux-x86_64/egg/usr_mgr/api.py", line 157, in
> check_password
>     if (self.password_store.checkGlobal_password(user,password)):
>   File "build/bdist.linux-x86_64/egg/usr_mgr/api.py", line 273, in
> password_store
>     return self._password_store
>   File
> "/usr/local/lib/python2.7/dist-packages/Trac-1.0.15-py2.7.egg/trac/config.py",
> line 747, in __get__
>     option=tag.tt("[%s] %s" % (self.section, self.name))))
> ConfigurationError: Cannot find an implementation of the
> <tt>IPasswordStore</tt> interface named <tt>HtPasswdStore</tt>. Please
> check that the Component is enabled or update the option
> <tt>[account-manager] password_store</tt> in trac.ini.
>
> I found a suggestion at this link
> https://groups.google.com/forum/#!topic/trac-users/sf1bKgcrzr4 but in my
> trac.ini configuration file, I have the following enabled already.
>
> [account-manager]
> password_file = /usr/share/trac/trac.htpasswd
> password_store = HtPasswdStore
>
> [components]
> acct_mgr.htfile.htdigeststore = enabled
> acct_mgr.htfile.htpasswdstore = enabled
>
>
> Now login doesn't work and I am not able to access the site. Please help
> me to fix this up!
>

You might just try:
[components]
acct_mgr.* = enabled

if that works, you can start disabling components.

Also, check that components are loading:

https://trac.edgewall.org/wiki/TracTroubleshooting#ChecktheLogs

I'm not sure what to make of this traceback:
File "build/bdist.linux-x86_64/egg/usr_mgr/web_ui.py", line 196, in
_remote_user
    if Usermanage(self.env).check_password(user, password):

What is "usr_mgr", and "Usermanage" class? That's not part of
AccountManager. And why is that path relative rather than absolute? It
seems maybe you are loading an egg unintentionally. Maybe some fork of
UserManagerPlugin?

- Ryan

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/CA%2BBGpn_nF3D9tfU7ofPqJN9fm%2BaWjSKD1Txpvefwp03UyLo2Ww%40mail.gmail.com.

Reply via email to