Hi @YuviPanda, following recent upgrades at Labs the tool "checker" [1] has started to throw errors though there has been no changes in code
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/data/project/checker/venv/local/lib/python2.7/site-packages/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object>)
556 """Runs the handler, flushes the streams, and ends the request."""
557 try:
=> 558 protocolStatus, appStatus = self.server.handler(self)
559 except:
560 traceback.print_exc(file=self.stderr)
protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object>, self.server = <flup.server.fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <flup.server.fcgi.WSGIServer object>>
/data/project/checker/venv/local/lib/python2.7/site-packages/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi.WSGIServer object>, req=<flup.server.fcgi_base.Request object>)
1122 write(data)
1123 if not headers_sent:
=> 1124 write('') # in case body was empty
1125 finally:
1126 if hasattr(result, 'close'):
write = <function write>
/data/project/checker/venv/local/lib/python2.7/site-packages/flup/server/fcgi_base.py in write(data='')
1063 def write(data):
1064 assert type(data) is str, 'write() argument must be string'
=> 1065 assert headers_set, 'write() before start_response()'
1066
1067 if not headers_sent:
headers_set = []
<type 'exceptions.AssertionError'>: write() before start_response()
args = ('write() before start_response()',)
message = 'write() before start_response()'
Also the url with a terminating / [2] now has a redirect error. @legoktm said that we should seek your input in looking to a resolution
[1] https://tools.wmflabs.org/checker
[2] ] https://tools.wmflabs.org/checker/
The tool is used for works at the Wikisources to identify the status of transclusions of Index: files.
Thanks for any help that you can provide.