|
From: F. B. <web...@sp...> - 2020-03-04 11:47:51
|
Hi,
I got this Traceback in a webware installation today and I sort of fail
to see it making sense:
-------------------------------------
Traceback (most recent call last):
File "/opt/webware/WebKit/ThreadedAppServer.py", line 655, in threadloop
handler.handleRequest()
File "/opt/webware/WebKit/ThreadedAppServer.py", line 1095, in
handleRequest
requestDict, streamOut)
File "/opt/webware/WebKit/Application.py", line 539, in dispatchRawRequest
request = self.createRequestForDict(requestDict)
File "/opt/webware/WebKit/Application.py", line 586, in
createRequestForDict
request = HTTPRequest(requestDict)
File "/opt/webware/WebKit/HTTPRequest.py", line 38, in __init__
keep_blank_values=True, strict_parsing=False)
File "/opt/webware/WebUtils/FieldStorage.py", line 37, in __init__
environ, keep_blank_values, strict_parsing)
File "/usr/lib/python2.7/cgi.py", line 513, in __init__
self.read_multi(environ, keep_blank_values, strict_parsing)
File "/usr/lib/python2.7/cgi.py", line 645, in read_multi
max_num_fields)
TypeError: __init__() takes at most 7 arguments (8 given)
-------------------------------------
When looking at cgi.py the failing part looks like:
642 klass = self.FieldStorageClass or self.__class__
643 part = klass(self.fp, {}, ib,
644 environ, keep_blank_values, strict_parsing,
645 max_num_fields)
646
So as you can see, exactly 7 args are passed to klass. Where could the
8th be coming from?
Any ideas appreciated.
--
kind regards,
Fionn
|