Hi All,

I am working with a pylons application using the XMLRPCController, and on
certain requests it is erroring out with the following exception:

Exception happened during processing of request from ('127.0.0.1', 49544)
Traceback (most recent call last):
  File
"/usr/local/lib/python2.6/dist-packages/Paste-1.7.5.1-py2.6.egg/paste/httpserver.py",
line 1068, in process_request_in_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.6/SocketServer.py", line 322, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.6/SocketServer.py", line 617, in __init__
    self.handle()
  File
"/usr/local/lib/python2.6/dist-packages/Paste-1.7.5.1-py2.6.egg/paste/httpserver.py",
line 442, in handle
    BaseHTTPRequestHandler.handle(self)
  File "/usr/lib/python2.6/BaseHTTPServer.py", line 329, in handle
    self.handle_one_request()
  File
"/usr/local/lib/python2.6/dist-packages/Paste-1.7.5.1-py2.6.egg/paste/httpserver.py",
line 437, in handle_one_request
    self.wsgi_execute()
  File
"/usr/local/lib/python2.6/dist-packages/Paste-1.7.5.1-py2.6.egg/paste/httpserver.py",
line 287, in wsgi_execute
    self.wsgi_start_response)
  File
"/usr/local/lib/python2.6/dist-packages/Paste-1.7.5.1-py2.6.egg/paste/cascade.py",
line 130, in __call__
    return self.apps[-1](environ, start_response)
  File
"/usr/local/lib/python2.6/dist-packages/Paste-1.7.5.1-py2.6.egg/paste/registry.py",
line 379, in __call__
    app_iter = self.application(environ, start_response)
  File
"/usr/local/lib/python2.6/dist-packages/Pylons-0.9.7-py2.6.egg/pylons/middleware.py",
line 201, in __call__
    self.app, environ, catch_exc_info=True)
  File
"/usr/local/lib/python2.6/dist-packages/Pylons-0.9.7-py2.6.egg/pylons/util.py",
line 103, in call_wsgi_application
    return (captured[0], captured[1], app_iter, captured[2])
IndexError: list index out of range

The bit of debugging I was able to do showed that the captured list is
empty. I am a little at a loss how to best diagnose what is going wrong,
since the traceback does not show anything in my code. Has anyone
encountered this error before or know how to best treat it?

Thanks!

-Charlie

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to