<type 'exceptions.TypeError'>
Python 2.5.5: /usr/bin/python2.5
Sun May 20 23:32:27 2012

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 0x8573b8c>)
  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 0x8573b8c>, self.server = <garter.JobEnabledWSGI object at 0x83dfbcc>, self.server.handler = <bound method JobEnabledWSGI.handler of <garter.JobEnabledWSGI object at 0x83dfbcc>>
 /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 0x83dfbcc>, req=<flup.server.fcgi_base.Request object at 0x8573b8c>)
 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 0x83dfbcc>, self.application = <beaker.middleware.SessionMiddleware object at 0x83dfbac>, environ = {'DOCUMENT_ROOT': '/srv/production/wedd/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_COOKIE': 'beaker.session.id=eb17ec44165ed78f024a847c43490231', 'HTTP_HOST': 'wedding.moore-reel.com', ...}, start_response = <function start_response at 0x85894fc>
 /usr/lib/python2.5/site-packages/Beaker-1.5.1-py2.5.egg/beaker/middleware.py in __call__(self=<beaker.middleware.SessionMiddleware object at 0x83dfbac>, environ={'DOCUMENT_ROOT': '/srv/production/wedd/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_COOKIE': 'beaker.session.id=eb17ec44165ed78f024a847c43490231', 'HTTP_HOST': 'wedding.moore-reel.com', ...}, start_response=<function start_response at 0x85894fc>)
  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 0x83dfbac>, self.wrap_app = <bound method Site.handle_request of <__main__.Site object at 0x838018c>>, environ = {'DOCUMENT_ROOT': '/srv/production/wedd/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_COOKIE': 'beaker.session.id=eb17ec44165ed78f024a847c43490231', 'HTTP_HOST': 'wedding.moore-reel.com', ...}, session_start_response = <function session_start_response at 0x8589cdc>
 /usr/lib/python2.5/site-packages/garter/__init__.py in handle_request(self=<__main__.Site object at 0x838018c>, environ={'DOCUMENT_ROOT': '/srv/production/wedd/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_COOKIE': 'beaker.session.id=eb17ec44165ed78f024a847c43490231', 'HTTP_HOST': 'wedding.moore-reel.com', ...}, start_response=<function session_start_response at 0x8589cdc>)
  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/wedd/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_COOKIE': 'beaker.session.id=eb17ec44165ed78f024a847c43490231', 'HTTP_HOST': 'wedding.moore-reel.com', ...}, start_response = <function session_start_response at 0x8589cdc>

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