On Fri, Jun 13, 2008 at 1:05 AM, Marc Bradshaw <packages(a)marcbradshaw.co.uk>
wrote:
After logging on to the fas I get the following error.
500 Internal error
The server encountered an unexpected condition which prevented it from
fulfilling the request.
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line
119, in _run
applyFilters('before_main')
File "/usr/lib/python2.4/site-packages/cherrypy/filters/__init__.py", line
151, in applyFilters
method()
File "/usr/lib/python2.4/site-packages/turbogears/visit/api.py", line 215,
in before_main
plugin.record_request(visit)
File "/usr/lib/python2.4/site-packages/turbogears/identity/visitor.py",
line 174, in record_request
identity = self.identity_from_request(visit.key)
File "/usr/lib/python2.4/site-packages/turbogears/identity/visitor.py",
line 96, in identity_from_request
identity = source(visit_key)
File "/usr/lib/python2.4/site-packages/turbogears/identity/visitor.py",
line 155, in identity_from_form
identity = self.provider.validate_identity(user_name, pw, visit_key)
File "/usr/lib/python2.4/site-packages/fas/safasprovider.py", line 190, in
validate_identity
return SaFasIdentity(visit_key, user)
File "/usr/lib/python2.4/site-packages/fas/safasprovider.py", line 59, in
__init__
super(SaFasIdentity, self).__init__(visit_key, user)
File "/usr/lib/python2.4/site-packages/turbogears/identity/saprovider.py",
line 30, in __init__
self.login()
File "/usr/lib/python2.4/site-packages/turbogears/identity/saprovider.py",
line 117, in login
visit = self.visit_link
File "/usr/lib/python2.4/site-packages/turbogears/identity/saprovider.py",
line 112, in _get_visit_link
#return visit_class.query.filter_by(visit_key=self.visit_key).first()
AttributeError: 'NoneType' object has no attribute 'query'
After which a reload of the accounts page works fine. username deebses.
Would someone check it out please.
Yeah, i'll have a look this evening.
in the mean time, once logged in, just remove "/home" or "/login"
redirection from your url and then refresh your page in order to go foward.
Regards,
--
Xavier.t Lamien
--
http://fedoraproject.org/wiki/XavierLamien
GPG-Key ID: F3903DEB
Fingerprint: 0F2A 7A17 0F1B 82EE FCBF 1F51 76B7 A28D F390 3DEB