Traceback (most recent call last):


 "/usr/lib/python3.6/wsgiref/handlers.py", line 141, in run

self.handle_error()


 "/usr/lib/python3.6/wsgiref/handlers.py", line 368, in handle_error

self.finish_response()


 "/usr/lib/python3.6/wsgiref/handlers.py", line 180, in finish_response

self.write(data)


 "/usr/lib/python3.6/wsgiref/handlers.py", line 274, in write

self.send_headers()


 "/usr/lib/python3.6/wsgiref/handlers.py", line 331, in send_headers

if not self.origin_server or self.client_is_modern():


 "/usr/lib/python3.6/wsgiref/handlers.py", line 344, in client_is_modern

return self.environ['SERVER_PROTOCOL'].upper() != 'HTTP/0.9'
TypeError: 'NoneType' object is not subscriptable

Traceback (most recent call last):


 "/home/constantin/.virtualenvs/tensor/lib64/python3.6/site-packages/tqdm/std.py", line 1086, in __del__


 "/home/constantin/.virtualenvs/tensor/lib64/python3.6/site-packages/tqdm/std.py", line 1293, in close


 "/home/constantin/.virtualenvs/tensor/lib64/python3.6/site-packages/tqdm/std.py", line 1471, in display


 "/home/constantin/.virtualenvs/tensor/lib64/python3.6/site-packages/tqdm/std.py", line 1089, in __repr__


 "/home/constantin/.virtualenvs/tensor/lib64/python3.6/site-packages/tqdm/std.py", line 1433, in format_dict
TypeError: 'NoneType' object is not iterable
