Hi,

I have been hunting around the lists, but have not seen a solution to this 
problem.  When I try to go to the login page, i get the following error:

Oops...
Trac detected an internal error:

Authentication information not available.

Python traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/cgi_frontend.py", line 130, 
in run
    dispatch_request(req.path_info, req, env)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in 
dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 107, in 
dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/trac/web/auth.py", line 82, in 
process_request
    self._do_login(req)
  File "/usr/lib/python2.4/site-packages/trac/web/auth.py", line 103, in 
_do_login
    assert req.remote_user, 'Authentication information not available.'
AssertionError: Authentication information not available.

My trac.conf file looks like this:

<Location /Project1>
        SetHandler mod_python
        PythonHandler trac.web.modpython_frontend
        PythonOption TracEnv /srv/trac/434Canada
        PythonOption TracUriRoot /434Canada
        PythonPath "sys.path + ['/opt/trac']"
</Location>
<Location "/Project1/login">
        AuthType Basic
        Authname "Project1"
        AuthUserFile /opt/trac/trac.htpasswd
        Require valid-user
</Location>

I have tried playing around with permissions and so forth, but am having no 
luck.  Any help would be appreciated.

Thanks,

Simon
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to