When I'm using the python webserver I got the
following message for every access by my client.
Soryy, I have no experience in Python, so I cannot
help. This is only a report.
HTTPdaemon_v1.0.0 listening on port 8001
Exception happened during processing of request from
('192.168.1.9', 33917)
Traceback (most recent call last):
File "/home/jb/bin/lib/python2.5/SocketServer.py",
line 463, in process_request_thread
self.finish_request(request, client_address)
File "/home/jb/bin/lib/python2.5/SocketServer.py",
line 254, in finish_request
self.RequestHandlerClass(request, client_address,
self)
File "/home/jb/bin/lib/python2.5/SocketServer.py",
line 521, in init
self.handle()
File
"/home/jb/bin/lib/python2.5/BaseHTTPServer.py", line
316, in handle
self.handle_one_request()
File
"/home/jb/bin/lib/python2.5/BaseHTTPServer.py", line
310, in handle_one_request
method()
File
"./src/Myghty-1.0/lib/myghty/http/HTTPServerHandler.py",
line 53, in do_GET
self.handle_request()
File
"./src/Myghty-1.0/lib/myghty/http/HTTPServerHandler.py",
line 56, in handle_request
httpreq = HSHTTPRequest(self)
File
"./src/Myghty-1.0/lib/myghty/http/HTTPServerHandler.py",
line 254, in init
keep_blank_values = True
File "/home/jb/bin/lib/python2.5/cgi.py", line 462,
in init
fp = StringIO(qs)
TypeError: expected read buffer, NoneType found
Exception happened during processing of request from
('192.168.1.9', 33918)
Traceback (most recent call last):
File "/home/jb/bin/lib/python2.5/SocketServer.py",
line 463, in process_request_thread
self.finish_request(request, client_address)
File "/home/jb/bin/lib/python2.5/SocketServer.py",
line 254, in finish_request
self.RequestHandlerClass(request, client_address,
self)
File "/home/jb/bin/lib/python2.5/SocketServer.py",
line 521, in init
self.handle()
File
"/home/jb/bin/lib/python2.5/BaseHTTPServer.py", line
316, in handle
self.handle_one_request()
File
"/home/jb/bin/lib/python2.5/BaseHTTPServer.py", line
310, in handle_one_request
method()
File
"./src/Myghty-1.0/lib/myghty/http/HTTPServerHandler.py",
line 53, in do_GET
self.handle_request()
File
"./src/Myghty-1.0/lib/myghty/http/HTTPServerHandler.py",
line 56, in handle_request
httpreq = HSHTTPRequest(self)
File
"./src/Myghty-1.0/lib/myghty/http/HTTPServerHandler.py",
line 254, in init
keep_blank_values = True
File "/home/jb/bin/lib/python2.5/cgi.py", line 462,
in init
fp = StringIO(qs)
TypeError: expected read buffer, NoneType found