<type 'exceptions.TypeError'>
Python 2.5.2: /usr/bin/python
Fri Sep 3 21:58:32 2010

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/flup-1.0.3.dev_20091027-py2.5.egg/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object at 0x88f54ac>)
  572             
  573         try:
  574             protocolStatus, appStatus = self.server.handler(self)
  575         except:
  576             traceback.print_exc(file=self.stderr)
protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object at 0x88f54ac>, self.server = <garter.JobEnabledWSGI object at 0x857d1ac>, self.server.handler = <bound method JobEnabledWSGI.handler of <garter.JobEnabledWSGI object at 0x857d1ac>>
 /usr/lib/python2.5/site-packages/flup-1.0.3.dev_20091027-py2.5.egg/flup/server/fcgi_base.py in handler(self=<garter.JobEnabledWSGI object at 0x857d1ac>, req=<flup.server.fcgi_base.Request object at 0x88f54ac>)
 1139         try:
 1140             try:
 1141                 result = self.application(environ, start_response)
 1142                 try:
 1143                     for data in result:
result = None, self = <garter.JobEnabledWSGI object at 0x857d1ac>, self.application = <beaker.middleware.SessionMiddleware object at 0x857d0ec>, environ = {'DOCUMENT_ROOT': '/srv/production/wreelinfo/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'wreel.info', 'HTTP_PRAGMA': 'no-cache', ...}, start_response = <function start_response at 0x88973e4>
 /usr/lib/python2.5/site-packages/Beaker-1.5.1-py2.5.egg/beaker/middleware.py in __call__(self=<beaker.middleware.SessionMiddleware object at 0x857d0ec>, environ={'DOCUMENT_ROOT': '/srv/production/wreelinfo/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'wreel.info', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response at 0x88973e4>)
  150                         headers.append(('Set-cookie', cookie))
  151             return start_response(status, headers, exc_info)
  152         return self.wrap_app(environ, session_start_response)
  153     
  154     def _get_session(self):
self = <beaker.middleware.SessionMiddleware object at 0x857d0ec>, self.wrap_app = <bound method Site.handle_request of <__main__.Site object at 0x83f5dac>>, environ = {'DOCUMENT_ROOT': '/srv/production/wreelinfo/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'wreel.info', 'HTTP_PRAGMA': 'no-cache', ...}, session_start_response = <function session_start_response at 0x8897c6c>
 /usr/lib/python2.5/site-packages/garter/__init__.py in handle_request(self=<__main__.Site object at 0x83f5dac>, environ={'DOCUMENT_ROOT': '/srv/production/wreelinfo/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'wreel.info', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function session_start_response at 0x8897c6c>)
  177             return application(request)(environ, start_response)
  178         else:
  179             return application(environ, start_response)
  180 
  181     def run(self):
application = None, environ = {'DOCUMENT_ROOT': '/srv/production/wreelinfo/www', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CACHE_CONTROL': 'no-cache', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'wreel.info', 'HTTP_PRAGMA': 'no-cache', ...}, start_response = <function session_start_response at 0x8897c6c>

<type 'exceptions.TypeError'>: 'NoneType' object is not callable
      args = ("'NoneType' object is not callable",)
      message = "'NoneType' object is not callable"