Problems with fas

Marc Bradshaw packages at marcbradshaw.co.uk
Fri Jun 13 01:05:53 CEST 2008


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.

-Marc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.rpmfusion.org/pipermail/rpmfusion-developers/attachments/20080613/64f0ea06/signature.bin


More information about the rpmfusion-developers mailing list