help required with pylons

M Kumar tomanishkb at gmail.com
Tue May 5 08:10:13 EDT 2009


Hi,

I am having an application server in pylons, which was giving error
sometimes and sometimes it gives the result. I will copy paste the error
below. I am new to pylons and not getting any clue of this kind of behavior.
Please help me what should I do to avoid this kind of errors.

----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 33021)
Traceback (most recent call last):
  File
"/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/httpserver.py",
line 1046, in process_request_in_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.5/SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.5/SocketServer.py", line 522, in __init__
    self.handle()
  File
"/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/httpserver.py",
line 425, in handle
    BaseHTTPRequestHandler.handle(self)
  File "/usr/lib/python2.5/BaseHTTPServer.py", line 316, in handle
    self.handle_one_request()
  File
"/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/httpserver.py",
line 420, in handle_one_request
    self.wsgi_execute()
  File
"/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/httpserver.py",
line 287, in wsgi_execute
    self.wsgi_start_response)
  File
"/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/cascade.py",
line 92, in __call__
    return self.apps[-1](environ, start_response)
  File
"/usr/lib/python2.5/site-packages/Paste-1.4.2-py2.5.egg/paste/registry.py",
line 340, in __call__
    app_iter = self.application(environ, start_response)
  File
"/usr/lib/python2.5/site-packages/AuthKit-0.4.0-py2.5.egg/authkit/authenticate/__init__.py",
line 290, in __call__
    return self.app(environ, start_response)
  File
"/usr/lib/python2.5/site-packages/AuthKit-0.4.0-py2.5.egg/authkit/authenticate/cookie.py",
line 354, in __call__
    return self.app(environ, cookie_setting_start_response)
  File
"/usr/lib/python2.5/site-packages/AuthKit-0.4.0-py2.5.egg/authkit/authenticate/multi.py",
line 64, in __call__
    raise Exception('WSGI start_response was not called before a result'
Exception: WSGI start_response was not called before a result was returned
----------------------------------------
thanks in advance
Maneesh KB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090505/ff63ed83/attachment.html>


More information about the Python-list mailing list