<type 'exceptions.AttributeError'> | Python 2.5.2: /usr/bin/python Sat Mar 7 23:25:59 2009 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/lib/python2.5/site-packages/MoinMoin/support/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.CGIRequest object at 0x13a80d0>) |
556 """Runs the handler, flushes the streams, and ends the request.""" |
557 try: |
558 protocolStatus, appStatus = self.server.handler(self) |
559 except: |
560 traceback.print_exc(file=self.stderr) |
protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.CGIRequest object at 0x13a80d0>, self.server = <flup.server.fcgi_single.WSGIServer object at 0x1395e50>, self.server.handler = <bound method WSGIServer.handler of <flup.server.fcgi_single.WSGIServer object at 0x1395e50>> |
/usr/lib/python2.5/site-packages/MoinMoin/support/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi_single.WSGIServer object at 0x1395e50>, req=<flup.server.fcgi_base.CGIRequest object at 0x13a80d0>) |
1114 try: |
1115 try: |
1116 result = self.application(environ, start_response) |
1117 try: |
1118 for data in result: |
result = None, self = <flup.server.fcgi_single.WSGIServer object at 0x1395e50>, self.application = <werkzeug.utils.SharedDataMiddleware object at 0x1395950>, environ = {'AUTH_TYPE': 'Digest', 'DOCUMENT_ROOT': '/srv/share/mathtran', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en,de-de;q=0.8,de;q=0.5,en-us;q=0.3', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'MOIN_SESSION=ac2cad0d064c35d83611b78ca3f55726358abe0f', 'HTTP_HOST': 'localhost', ...}, start_response = <function start_response at 0x13b05f0> |
/usr/lib/python2.5/site-packages/MoinMoin/support/werkzeug/utils.py in __call__(self=<werkzeug.utils.SharedDataMiddleware object at 0x1395950>, environ={'AUTH_TYPE': 'Digest', 'DOCUMENT_ROOT': '/srv/share/mathtran', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en,de-de;q=0.8,de;q=0.5,en-us;q=0.3', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'MOIN_SESSION=ac2cad0d064c35d83611b78ca3f55726358abe0f', 'HTTP_HOST': 'localhost', ...}, start_response=<function start_response at 0x13b05f0>) |
242 break |
243 if file_loader is None or not self.is_allowed(real_filename): |
244 return self.app(environ, start_response) |
245 |
246 guessed_type = mimetypes.guess_type(real_filename) |
self = <werkzeug.utils.SharedDataMiddleware object at 0x1395950>, self.app = <MoinMoin.wsgiapp.Application object at 0x13953d0>, environ = {'AUTH_TYPE': 'Digest', 'DOCUMENT_ROOT': '/srv/share/mathtran', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en,de-de;q=0.8,de;q=0.5,en-us;q=0.3', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'MOIN_SESSION=ac2cad0d064c35d83611b78ca3f55726358abe0f', 'HTTP_HOST': 'localhost', ...}, start_response = <function start_response at 0x13b05f0> |
/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py in __call__(self=<MoinMoin.wsgiapp.Application object at 0x13953d0>, environ={'AUTH_TYPE': 'Digest', 'DOCUMENT_ROOT': '/srv/share/mathtran', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en,de-de;q=0.8,de;q=0.5,en-us;q=0.3', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'MOIN_SESSION=ac2cad0d064c35d83611b78ca3f55726358abe0f', 'HTTP_HOST': 'localhost', ...}, start_response=<function start_response at 0x13b05f0>) |
241 try: |
242 request = self.Request(environ) |
243 context = init(request) |
244 response = run(context) |
245 context.clock.stop('total') |
context undefined, global init = <function init at 0x13918c0>, request = <MoinMoin.wsgiapp.AppRequest object at 0x13ad350> |
/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py in init(request=<MoinMoin.wsgiapp.AppRequest object at 0x13ad350>) |
35 context.session = context.cfg.session_service.get_session(context) |
36 |
37 context.user = setup_user(context, context.session) |
38 |
39 context.lang = setup_i18n_postauth(context) |
context = <AllContext ['AllContext']>, context.user = <MoinMoin.user.User at 0x14c1368 name:'' valid:0>, global setup_user = <function setup_user at 0x13b01b8>, context.session = <MoinSession {'setuid': u'1225484205.8.58773', '...od': 'setuid', 'user.id': u'1236463790.9.38329'}> |
/usr/lib/python2.5/site-packages/MoinMoin/wsgiapp.py in setup_user(context=<AllContext ['AllContext']>, session=<MoinSession {'setuid': u'1225484205.8.58773', '...od': 'setuid', 'user.id': u'1236463790.9.38329'}>) |
178 # first try setting up from session |
179 userobj = auth.setup_from_session(context, session) |
180 userobj, olduser = auth.setup_setuid(context, userobj) |
181 context._setuid_real_user = olduser |
182 |
userobj = None, olduser undefined, global auth = <module 'MoinMoin.auth' from '/usr/lib/python2.5/site-packages/MoinMoin/auth/__init__.pyc'>, auth.setup_setuid = <function setup_setuid at 0x11df578>, context = <AllContext ['AllContext']> |
/usr/lib/python2.5/site-packages/MoinMoin/auth/__init__.py in setup_setuid(request=<AllContext ['AllContext']>, userobj=None) |
434 """ |
435 old_user = None |
436 if 'setuid' in request.session and userobj.isSuperUser(): |
437 old_user = userobj |
438 uid = request.session['setuid'] |
request = <AllContext ['AllContext']>, request.session = <MoinSession {'setuid': u'1225484205.8.58773', '...od': 'setuid', 'user.id': u'1236463790.9.38329'}>, userobj = None, userobj.isSuperUser undefined |
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'isSuperUser'
args =
("'NoneType' object has no attribute 'isSuperUser'",)
message =
"'NoneType' object has no attribute 'isSuperUser'"