#3059: Assertion with environments which directory names contain hyphens or
underscores.
------------------------------+---------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: general | Version: devel
Severity: normal | Resolution:
Keywords: |
------------------------------+---------------------------------------------
Changes (by cboos):
* priority: low => normal
Old description:
> After upgrading Trac from one of the 0.9 betas to the current trunk
> (checked out few days ago) I got following error while trying to login
> into some of the Trac environments:
> Python traceback
>
> Traceback (most recent call last):
> File "/usr/local/lib/python2.4/site-
> packages/trac/web/modpython_frontend.py", line 206, in handler
> dispatch_request(mpr.path_info, mpr, env)
> File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line
> 139, in dispatch_request
> dispatcher.dispatch(req)
> File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line
> 107, in dispatch
> resp = chosen_handler.process_request(req)
> File "/usr/local/lib/python2.4/site-packages/trac/web/auth.py", line
> 80, in process_request
> self._do_login(req)
> File "/usr/local/lib/python2.4/site-packages/trac/web/auth.py", line
> 101, in _do_login
> assert req.remote_user, 'Authentication information not available.'
> AssertionError: Authentication information not available.
>
> After speding some time investigatin the matter I found that "problem"
> environments all have hyphens in the name of their storage directories.
> That was not a problem with old (one of 0.9bX) version of Trac.
> I am not completely sure that problem is in Trac and not in other
> libraries, as they were upgraded too in the process :)
> My current environment is RHEL AS 4. Python 2.3 (that comes with it),
> Apache httpd 2.0.52, mod_python 3.1.4, sqlite 3.2.2, pysqlite 1.1.6. The
> above error message is taken form another server running on SLackware
> 10.2 with Python 2.4.1 - so it is obviously not a Python problem.
> Well, I'm getting short of time right now, but will be glad to provide
> any additional information in case you need it.
New description:
After upgrading Trac from one of the 0.9 betas to the current trunk
(checked out few days ago) I got following error while trying to login
into some of the Trac environments:
Python traceback
{{{
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-
packages/trac/web/modpython_frontend.py", line 206, in handler
dispatch_request(mpr.path_info, mpr, env)
File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line
139, in dispatch_request
dispatcher.dispatch(req)
File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line
107, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/local/lib/python2.4/site-packages/trac/web/auth.py", line 80,
in process_request
self._do_login(req)
File "/usr/local/lib/python2.4/site-packages/trac/web/auth.py", line
101, in _do_login
assert req.remote_user, 'Authentication information not available.'
AssertionError: Authentication information not available.
}}}
After speding some time investigatin the matter I found that "problem"
environments all have hyphens in the name of their storage directories.
That was not a problem with old (one of 0.9bX) version of Trac.
I am not completely sure that problem is in Trac and not in other
libraries, as they were upgraded too in the process :)
My current environment is RHEL AS 4. Python 2.3 (that comes with it),
Apache httpd 2.0.52, mod_python 3.1.4, sqlite 3.2.2, pysqlite 1.1.6. The
above error message is taken form another server running on SLackware 10.2
with Python 2.4.1 - so it is obviously not a Python problem.
Well, I'm getting short of time right now, but will be glad to provide any
additional information in case you need it.
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/3059>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets