<type 'exceptions.NameError'>
Python 2.5.3a0: /usr/local/bin/python2.5
Wed Dec 3 15:40:49 2008

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/local/lib/python2.5/site-packages/flup-1.0.1-py2.5.egg/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object at 0xb364662c>)
  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.Request object at 0xb364662c>, self.server = <flup.server.fcgi.WSGIServer object at 0xb7d4308c>, self.server.handler = <bound method WSGIServer.handler of <flup.server.fcgi.WSGIServer object at 0xb7d4308c>>
 /usr/local/lib/python2.5/site-packages/flup-1.0.1-py2.5.egg/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi.WSGIServer object at 0xb7d4308c>, req=<flup.server.fcgi_base.Request object at 0xb364662c>)
 1114         try:
 1115             try:
 1116                 result = self.application(environ, start_response)
 1117                 try:
 1118                     for data in result:
result = None, self = <flup.server.fcgi.WSGIServer object at 0xb7d4308c>, self.application = <tm.controllers.base.ElixirController object at 0xb7d2c36c>, environ = {'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'HTTP_ACCEPT': 'Accept: application/xhtml+xml,text/html;q=0.9,text/plain;', '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': 'gthc.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response = <function start_response at 0xb3853ed4>
 /home/erob/gthc.org/lib/tm/controllers/base.py in __call__(self=<tm.controllers.base.ElixirController object at 0xb7d2c36c>, environ={'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'HTTP_ACCEPT': 'Accept: application/xhtml+xml,text/html;q=0.9,text/plain;', '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': 'gthc.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response at 0xb3853ed4>)
   44         self.init_session(self.engine)
   45         try:
   46             return self.application(environ, start_response)
   47         finally:
   48             elixir.session.close()
self = <tm.controllers.base.ElixirController object at 0xb7d2c36c>, self.application = <bound method ElixirController.application of <t...lers.base.ElixirController object at 0xb7d2c36c>>, environ = {'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'HTTP_ACCEPT': 'Accept: application/xhtml+xml,text/html;q=0.9,text/plain;', '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': 'gthc.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response = <function start_response at 0xb3853ed4>
 /home/erob/ncvs/notmm-0.2.10-maint/lib/notmm/controllers/base.py in application(self=<tm.controllers.base.ElixirController object at 0xb7d2c36c>, environ={'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'HTTP_ACCEPT': 'Accept: application/xhtml+xml,text/html;q=0.9,text/plain;', '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': 'gthc.org', 'HTTP_PRAGMA': 'no-cache', ...}, start_response=<function start_response at 0xb3853ed4>)
  138         
  139         try:
  140             # set up additional request variables
  141             self.setup_environ(environ)
  142             self.response = self.getresponse(environ, start_response)
self = <tm.controllers.base.ElixirController object at 0xb7d2c36c>, self.setup_environ = <bound method ElixirController.setup_environ of ...lers.base.ElixirController object at 0xb7d2c36c>>, environ = {'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'HTTP_ACCEPT': 'Accept: application/xhtml+xml,text/html;q=0.9,text/plain;', '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': 'gthc.org', 'HTTP_PRAGMA': 'no-cache', ...}
 /home/erob/ncvs/notmm-0.2.10-maint/lib/notmm/controllers/base.py in getresponse(self=<tm.controllers.base.ElixirController object at 0xb7d2c36c>, request=<Request at b364646c GET http://gthc.org/blog/>)
  117             if hasattr(self, 'handle500'):
  118                 self.response = self.handle500(request)
  119             else:
  120                 self.response = self.process_exception(environ, \
  121                     start_response, self.exc_info) 

<type 'exceptions.NameError'>: global name 'environ' is not defined
      args = ("global name 'environ' is not defined",)
      message = "global name 'environ' is not defined"