Please help!

I'm running trac 0.10.3-1 on debian etch with apache 2.2.3-4 and
mod_python 3.2.10-4, i386 installation (but amd64 kernel with xen,
shouldn't matter).

I have build these trac eggs myself with classical svn co and
python setup.py bdist_egg :
IniAdmin-0.1-py2.4.egg
TracAccountManager-0.1.3dev_r2171-py2.4.egg
TracWebAdmin-0.1.2dev_r4429-py2.4.egg

my problem is: the TracAccountManager works only partially:
in all trac projects (I have about 10, allwith mod_python,
each with it's own config:
<Location /opensc>
        SetHandler mod_python
        PythonHandler trac.web.modpython_frontend 
        PythonOption TracEnv /home/trac/opensc
        SetEnv PYTHON_EGG_CACHE /home/trac/opensc/cache
        PythonOption TracUriRoot /opensc
</Location>

each project has its own cache.

the login link and form is always there. but for most projects
I get this:
AttributeError: Cannot find an implementation of the "IPasswordStore"
interface named "HtPasswdStore".  Please update the option
account-manager.password

you can see the full error stack e.g. on
        https://www.opensc-project.org/opensc/login
        https://www.opensc-project.org/openct/login
or any other site. I can't predict which one works, sorry.

If I stop apache, remove everything in the cache directories,
and start apache again, I have a new game, a different set of
projects has a working login page, while others have not.
No other changes.

Also I noticed: I can press F5/reload often enough, usualy after 4 or 5
reloads it suddenly works.

example error page:

OpenSC ProjectLogin
Settings
About Trac
Oops…
Trac detected an internal error: 
If you think this really should work and you can reproduce it, you should
consider reporting this problem to the Trac team.
Go to http://trac.edgewall.org/ and create a new ticket where you describe
the problem, how to reproduce it. Don't forget to include the Python
traceback found below.
TracGuide — The Trac User and Administration Guide 
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 182, in
dispatch
    req.authname = self.authenticate(req)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 146, in
authenticate
    authname = authenticator.authenticate(req)
  File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 334, in wrap
  File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 344, in
authenticate
  File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 371, in
_remote_user
  File "build/bdist.linux-x86_64/egg/acct_mgr/api.py", line 104, in
check_password
  File "build/bdist.linux-x86_64/egg/acct_mgr/api.py", line 120, in
password_store
  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 "IPasswordStore"
interface named "HtPasswdStore".  Please update the option
account-manager.password_store in trac.ini.

Trac Powered Powered by Trac 0.10.3
 By Edgewall Software. 
 OpenSC Project 


If I have the plugins in the shared /usr/share/trac/plugins directory and no
per project egg cache, then pressing reload does not help at all.

Nor does a per project egg cache help. Only if I copy the eggs to each
projects plugins/ directory I get a working login for some projects,
but for some it doesn't work (tried 10-15 times).

I'm out of luck. what else can I try? what can I do to debug the problem?
any help is very, very welcome.

Regards, Andreas


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to