Skip to content

Instantly share code, notes, and snippets.

@pferreir
Created February 7, 2014 01:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pferreir/8855833 to your computer and use it in GitHub Desktop.
Save pferreir/8855833 to your computer and use it in GitHub Desktop.
2014-02-07 02:13:23,541 indico.wsgi - ERROR app.py:142 -- 'NiceIdentity' object has no attribute 'getAuthenticatorTag'
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/Flask-0.10-py2.6.egg/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python2.6/site-packages/Flask-0.10-py2.6.egg/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/lib/python2.6/site-packages/indico-1.2_dev-py2.6.egg/indico/web/http_api/handlers.py", line 237, in handler
res = hook(aw)
File "/usr/lib/python2.6/site-packages/indico-1.2_dev-py2.6.egg/indico/web/http_api/hooks/base.py", line 190, in __call__
resultList, complete = self._performCall(func, aw)
File "/usr/lib/python2.6/site-packages/indico-1.2_dev-py2.6.egg/indico/web/http_api/hooks/base.py", line 165, in _performCall
for obj in res:
File "/usr/lib/python2.6/site-packages/indico-1.2_dev-py2.6.egg/indico/web/http_api/hooks/base.py", line 378, in _process
for obj in self._iterateOver(iterator, self._offset, self._limit, self._orderBy, self._descending, filter):
File "/usr/lib/python2.6/site-packages/indico-1.2_dev-py2.6.egg/indico/web/http_api/hooks/base.py", line 346, in _sortedIterator
for obj in limitedIterable:
File "/usr/lib/python2.6/site-packages/indico-1.2_dev-py2.6.egg/indico/web/http_api/hooks/base.py", line 319, in _limitIterator
if obj not in exclude and (not hasattr(obj, 'canAccess') or obj.canAccess(self._aw)):
File "/usr/lib/python2.6/site-packages/indico-1.2_dev-py2.6.egg/MaKaC/conference.py", line 3829, in canAccess
if self.canModify(aw):
File "/usr/lib/python2.6/site-packages/indico-1.2_dev-py2.6.egg/MaKaC/conference.py", line 3900, in canModify
return self.canUserModify( aw.getUser() ) or self.canKeyModify( aw )
File "/usr/lib/python2.6/site-packages/indico-1.2_dev-py2.6.egg/MaKaC/conference.py", line 3891, in canUserModify
if owner.canUserModify( av ):
File "/usr/lib/python2.6/site-packages/indico-1.2_dev-py2.6.egg/MaKaC/conference.py", line 1329, in canUserModify
inherited = self.getOwner().canUserModify(av)
File "/usr/lib/python2.6/site-packages/indico-1.2_dev-py2.6.egg/MaKaC/conference.py", line 1329, in canUserModify
inherited = self.getOwner().canUserModify(av)
File "/usr/lib/python2.6/site-packages/indico-1.2_dev-py2.6.egg/MaKaC/conference.py", line 1330, in canUserModify
return inherited or self.__ac.canModify(av)
File "/usr/lib/python2.6/site-packages/indico-1.2_dev-py2.6.egg/MaKaC/accessControl.py", line 320, in canModify
if (isinstance(principal, MaKaC.user.Avatar) or isinstance(principal, MaKaC.user.Group)) and principal.containsUser( user ):
File "/usr/lib/python2.6/site-packages/indico-1.2_dev-py2.6.egg/MaKaC/authentication/LDAPAuthentication.py", line 639, in containsUser
for aid in avatar.getIdentityList(create_identities=True):
File "/usr/lib/python2.6/site-packages/indico-1.2_dev-py2.6.egg/MaKaC/user.py", line 876, in getIdentityList
identities = self.getIdentityByAuthenticatorId(authenticator.getId())
File "/usr/lib/python2.6/site-packages/indico-1.2_dev-py2.6.egg/MaKaC/user.py", line 888, in getIdentityByAuthenticatorId
if identity.getAuthenticatorTag() == authenticatorId:
AttributeError: 'NiceIdentity' object has no attribute 'getAuthenticatorTag'
Additional information:
URL: http://indico.cern.ch/export/categ/491.ics?apikey=07694b6e-c038-4f29-acaa-0e253775eb2c&from=-7d&signature=f7db77e6970bda9dcf9c2fee63afe1d21f89e053
Endpoint: api.httpapi
Method: GET
IP: 66.249.78.96
User Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
Referer: n/a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment