Mailing List Archive

[The Trac Project] #3839: error login
#3839: error login
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: general | Version: 0.10
Severity: normal | Keywords:
-----------------------+----------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 356, in
dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 224, in
dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.3/site-packages/trac/web/auth.py", line 95, in
process_request
self._do_login(req)
File "/usr/lib/python2.3/site-packages/trac/web/auth.py", line 116, in
_do_login
assert req.remote_user, 'Authentication information not available.'
AssertionError: Authentication information not available.

--
Ticket URL: <http://trac.edgewall.org/ticket/3839>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #3839: More explicit messge for error on login [ In reply to ]
#3839: More explicit messge for error on login
---------------------------+------------------------------------------------
Reporter: anonymous | Owner: cboos
Type: defect | Status: new
Priority: normal | Milestone: 0.10.1
Component: general | Version: 0.10
Severity: minor | Resolution:
Keywords: documentation |
---------------------------+------------------------------------------------
Changes (by cboos):

* summary: error login => More explicit messge for error on login
* owner: jonas => cboos
* milestone: => 0.10.1
* keywords: => documentation
* severity: normal => minor

Old description:

> Traceback (most recent call last):
> File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 356, in
> dispatch_request
> dispatcher.dispatch(req)
> File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 224, in
> dispatch
> resp = chosen_handler.process_request(req)
> File "/usr/lib/python2.3/site-packages/trac/web/auth.py", line 95, in
> process_request
> self._do_login(req)
> File "/usr/lib/python2.3/site-packages/trac/web/auth.py", line 116, in
> _do_login
> assert req.remote_user, 'Authentication information not available.'
> AssertionError: Authentication information not available.

New description:

{{{
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 356, in
dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 224, in
dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.3/site-packages/trac/web/auth.py", line 95, in
process_request
self._do_login(req)
File "/usr/lib/python2.3/site-packages/trac/web/auth.py", line 116, in
_do_login
assert req.remote_user, 'Authentication information not available.'
AssertionError: Authentication information not available.
}}}

Comment:

Please reread the install docs, the part specific about setting up the
authentication information. Depending on the backend used:
- TracCgi#AddingAuthentication
- TracModPython#ConfiguringAuthentication
- TracStandalone#UsingAuthentication

I'm leaving this open though, as I think we get that installation issue
reported often enough and that maybe it's time to output a more friendly
and informative message to the user.

--
Ticket URL: <http://trac.edgewall.org/ticket/3839#comment:1>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---