remo
unread,Aug 24, 2010, 7:44:27 AM8/24/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Paste Users
Hi Folks!
I'm using Paste's HTTPServer as web server for our project, on top of
which our own framework runs. All works fine, except sometimes, we
can't actually reproduce when exactly, the following exception occurs:
----------------
Exception happened during processing of request from None
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/Paste-1.7.4-py2.6.egg/paste/
httpserver.py", line 1068, in process_request_in_thread
self.finish_request(request, client_address)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/SocketServer.py", line 320, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/SocketServer.py", line 615, in __init__
self.handle()
File "/Library/Python/2.6/site-packages/Paste-1.7.4-py2.6.egg/paste/
httpserver.py", line 442, in handle
BaseHTTPRequestHandler.handle(self)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/BaseHTTPServer.py", line 329, in handle
self.handle_one_request()
File "/Library/Python/2.6/site-packages/Paste-1.7.4-py2.6.egg/paste/
httpserver.py", line 437, in handle_one_request
self.wsgi_execute()
File "/Library/Python/2.6/site-packages/Paste-1.7.4-py2.6.egg/paste/
httpserver.py", line 283, in wsgi_execute
self.wsgi_setup(environ)
File "/Library/Python/2.6/site-packages/Paste-1.7.4-py2.6.egg/paste/
httpserver.py", line 205, in wsgi_setup
remote_address = self.client_address[0]
TypeError: 'NoneType' object is unsubscriptable
----------------
The strange thing is, this happens sometimes even without a request,
so ie. on server startup. Does anyone have an idea what the problem
might be?
Thank you all a lot!
Remo