I've been having a fair amount of trouble setting up my trac system, which is unfortunate, since I've heard so many good things about it. I've tried following the instructions for installing and configuring trac that are currently in the guide, however I haven't had any luck.  After following the instructions, the following error is produced when I try to log in.

----------------------------------------------------

Oops...

Trac detected an internal error:
Authentication information not available.

If you think this really should work and you can reproduce it. Then you should consider to report this problem to the Trac team.

Go to http://trac.edgewall.com/ 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 "/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 set up is the following:

-Platform: Fedora Core 4
-Subversion repository is password protected with password protection on reading and writing to the repository
-trac installed to default location using "yum install trac" (as per the instructions)
-svn repository in /home/svn/RTIproject
-trac environment in /home/trac/RTIproject
-.htpasswd file located at /var/www/html/RTIproject/.htpasswd

Below is my trac.conf file as it currently appears...

<LocationMatch /cgi-bin/trac\.f?cgi>
   SetEnv TRAC_ENV /home/trac/RTIproject
</LocationMatch>
<Location /home/trac/RTIproject>
   SetHandler mod_python
   PythonHandler trac.web.modpython_frontend
   PythonOption TracEnv /home/trac/RTIproject
   PythonOption TracUriRoot /home/trac/RTIproject
</Location>
<Location "/home/trac/RTIproject/login">
   AuthType Basic
   AuthName "RTI"
   AuthUserFile /var/www/html/RTIproject/.htpasswd
   Require valid-user
</Location>

Any help is much appreciated.
Thanks.

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

Reply via email to