Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/Users/ashokhin/.venv/adstxt/lib/python3.6/site-packages/requests/api.py", line 72, in get

return request('get', url, params=params, **kwargs)


 "/Users/ashokhin/.venv/adstxt/lib/python3.6/site-packages/requests/api.py", line 58, in request

return session.request(method=method, url=url, **kwargs)


 "/Users/ashokhin/.venv/adstxt/lib/python3.6/site-packages/requests/sessions.py", line 508, in request

resp = self.send(prep, **send_kwargs)


 "/Users/ashokhin/.venv/adstxt/lib/python3.6/site-packages/requests/sessions.py", line 640, in send

history = [resp for resp in gen] if allow_redirects else []


 "/Users/ashokhin/.venv/adstxt/lib/python3.6/site-packages/requests/sessions.py", line 640, in <listcomp>

history = [resp for resp in gen] if allow_redirects else []


 "/Users/ashokhin/.venv/adstxt/lib/python3.6/site-packages/requests/sessions.py", line 218, in resolve_redirects

**adapter_kwargs


 "/Users/ashokhin/.venv/adstxt/lib/python3.6/site-packages/requests/sessions.py", line 658, in send

r.content


 "/Users/ashokhin/.venv/adstxt/lib/python3.6/site-packages/requests/models.py", line 823, in content

self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or bytes()


 "/Users/ashokhin/.venv/adstxt/lib/python3.6/site-packages/requests/models.py", line 745, in generate

for chunk in self.raw.stream(chunk_size, decode_content=True):


 "/Users/ashokhin/.venv/adstxt/lib/python3.6/site-packages/urllib3/response.py", line 432, in stream

for line in self.read_chunked(amt, decode_content=decode_content):


 "/Users/ashokhin/.venv/adstxt/lib/python3.6/site-packages/urllib3/response.py", line 598, in read_chunked

self._update_chunk_length()


 "/Users/ashokhin/.venv/adstxt/lib/python3.6/site-packages/urllib3/response.py", line 540, in _update_chunk_length

line = self._fp.fp.readline()
AttributeError: 'NoneType' object has no attribute 'readline'

Traceback (most recent call last):


 "/root/droidbot/droidbot/input_policy.py", line 69, in start

input_manager.add_event(event)


 "/root/droidbot/droidbot/input_manager.py", line 98, in add_event

event_log.start()


 "/root/droidbot/droidbot/input_event.py", line 231, in start

self.event_str = self.event.get_event_str(self.from_state)


 "/root/droidbot/droidbot/input_event.py", line 365, in get_event_str

return "%s(state=%s, name=%s)" % (self.__class__.__name__, state.state_str, self.name)
AttributeError: 'NoneType' object has no attribute 'state_str'
