Mailing List Archive

[The Trac Project] #3821: problem with login and mod_python
#3821: problem with login and mod_python
-------------------------------------------------------+--------------------
Reporter: Benoit Chesneau <benoitc@archlinuxfr.org> | Owner: cmlenz
Type: defect | Status: new
Priority: high | Milestone:
Component: mod_python frontend | Version: none
Severity: critical | Keywords:
-------------------------------------------------------+--------------------
I use apache 2.2.3 and modpython 3.6.10, trac 0.10. The login window don't
popup and I have this error when I'm trying to login :


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


My vhost conf is :



{{{
<VirtualHost *>
ServerName project.archlinuxfr.org
DocumentRoot /home/trac/archlinuxfr

<Location />
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /home/trac/archlinuxfr
PythonOption TracUriRoot /
PythonPath "sys.path + ['/home/trac/archlinuxfr']"
PythonDebug on
</Location>

<Location /login>
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
AuthType Basic
AuthName "Arch Linux FR - Project"
AuthUserFile /home/trac/archlinuxfr/.htpasswd
Require valid-user
</Location>

Alias /chrome/common /usr/share/trac/htdocs
Alias /trac-static /home/trac/archlinuxfr/htdocs

Alias /trac/ "/usr/share/trac/htdocs/"
<LocationMatch /trac-static/*>
SetHandler none
</LocationMatch>

<LocationMatch /chrome/common>
SetHandler none
</LocationMatch>
</VirtualHost>

}}}


any idee ? Akready 6 hours to mess with it whithout any success :\

--
Ticket URL: <http://trac.edgewall.org/ticket/3821>
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] #3821: problem with login and mod_python [ In reply to ]
#3821: problem with login and mod_python
-------------------------------------------------------+--------------------
Reporter: Benoit Chesneau <benoitc@archlinuxfr.org> | Owner: cmlenz
Type: defect | Status: new
Priority: high | Milestone:
Component: mod_python frontend | Version: none
Severity: critical | Resolution:
Keywords: |
-------------------------------------------------------+--------------------
Comment (by Benoit Chesneau <benoitc@archlinuxfr.org>):

url to see this error :
http://project.archlinuxfr.org/login

--
Ticket URL: <http://trac.edgewall.org/ticket/3821#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
-~----------~----~----~----~------~----~------~--~---
Re: [The Trac Project] #3821: problem with login and mod_python [ In reply to ]
#3821: problem with login and mod_python
-------------------------------------------------------+--------------------
Reporter: Benoit Chesneau <benoitc@archlinuxfr.org> | Owner: cmlenz
Type: defect | Status: closed
Priority: normal | Milestone:
Component: mod_python frontend | Version:
Severity: normal | Resolution: worksforme
Keywords: |
-------------------------------------------------------+--------------------
Changes (by eblot):

* priority: high => normal
* status: new => closed
* version: none =>
* resolution: => worksforme
* severity: critical => normal

Comment:

Please ask '''installation issues''' on the MailingList, do not submit new
tickets - as already detailled in the ''New Ticket'' page...

Remove
{{{
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
}}}
from the `/login` location: Python handler is already defined for the
parent location (`/`)

--
Ticket URL: <http://trac.edgewall.org/ticket/3821#comment:2>
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] #3821: problem with login and mod_python [ In reply to ]
#3821: problem with login and mod_python
-------------------------------------------------------+--------------------
Reporter: Benoit Chesneau <benoitc@archlinuxfr.org> | Owner: cmlenz
Type: defect | Status: closed
Priority: normal | Milestone:
Component: mod_python frontend | Version: 0.10
Severity: normal | Resolution: worksforme
Keywords: |
-------------------------------------------------------+--------------------
Changes (by eblot):

* version: => 0.10

--
Ticket URL: <http://trac.edgewall.org/ticket/3821#comment:3>
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] #3821: problem with login and mod_python [ In reply to ]
#3821: problem with login and mod_python
-------------------------------------------------------+--------------------
Reporter: Benoit Chesneau <benoitc@archlinuxfr.org> | Owner: cmlenz
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: mod_python frontend | Version: 0.10
Severity: critical | Resolution:
Keywords: |
-------------------------------------------------------+--------------------
Changes (by Benoit Chesneau <benoitc@archlinuxfr.org>):

* status: closed => reopened
* resolution: worksforme =>
* severity: normal => critical

Comment:

I change nothing. In fact I added this to do more tests. sry for that.

--
Ticket URL: <http://trac.edgewall.org/ticket/3821#comment:4>
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] #3821: problem with login and mod_python [ In reply to ]
#3821: problem with login and mod_python
-------------------------------------------------------+--------------------
Reporter: Benoit Chesneau <benoitc@archlinuxfr.org> | Owner: cmlenz
Type: defect | Status: closed
Priority: normal | Milestone:
Component: mod_python frontend | Version: 0.10
Severity: normal | Resolution: fixed
Keywords: |
-------------------------------------------------------+--------------------
Changes (by eblot):

* status: reopened => closed
* resolution: => fixed
* severity: critical => normal

--
Ticket URL: <http://trac.edgewall.org/ticket/3821#comment:5>
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
-~----------~----~----~----~------~----~------~--~---