Traceback (most recent call last):


 "/app/downlods.py", line 193, in direct_link

async for chunk in rg.iter_content(chunk_size=8*1024):


 "/app/.heroku/python/lib/python3.7/site-packages/requests_async/models.py", line 60, in iter_content

async for chunk in generate():


 "/app/.heroku/python/lib/python3.7/site-packages/requests_async/models.py", line 46, in generate

async for part in stream():


 "/app/.heroku/python/lib/python3.7/site-packages/httpcore/datastructures.py", line 184, in stream

async for chunk in self.raw():


 "/app/.heroku/python/lib/python3.7/site-packages/httpcore/datastructures.py", line 197, in raw

async for part in self.body_aiter:


 "/app/.heroku/python/lib/python3.7/site-packages/httpcore/connections.py", line 83, in _body_iter

event = await self._receive_event()


 "/app/.heroku/python/lib/python3.7/site-packages/httpcore/connections.py", line 100, in _receive_event

self.reader.read(2048), self.timeout.read_timeout


 "/app/.heroku/python/lib/python3.7/asyncio/tasks.py", line 388, in 

return await fut


 "/app/.heroku/python/lib/python3.7/asyncio/streams.py", line 646, in read

self._maybe_resume_transport()


 "/app/.heroku/python/lib/python3.7/asyncio/streams.py", line 417, in _maybe_resume_transport

self._transport.resume_reading()


 "/app/.heroku/python/lib/python3.7/asyncio/sslproto.py", line 345, in resume_reading

self._ssl_protocol._transport.resume_reading()
 AttributeError: 'NoneType' object has no attribute 'resume_reading'
```

Traceback (most recent call last):


 "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner

self.run()


 "/usr/local/lib/python3.5/dist-packages/xonsh/ptk/history.py", line 54, in run

for cmd in hist.all_items():


 "/usr/local/lib/python3.5/dist-packages/xonsh/history/__amalgam__.py", line 618, in all_items

commands = json_file.load()['cmds']


 "/usr/local/lib/python3.5/dist-packages/xonsh/__amalgam__.py", line 752, in load

return self._load_or_node(offset, size)


 "/usr/local/lib/python3.5/dist-packages/xonsh/__amalgam__.py", line 759, in _load_or_node

val = json.loads(s)


 "/usr/lib/python3.5/json/__init__.py", line 319, in loads

return _default_decoder.decode(s)


 "/usr/lib/python3.5/json/decoder.py", line 339, in decode

obj, end = self.raw_decode(s, idx=_w(s, 0).end())


 "/usr/lib/python3.5/json/decoder.py", line 355, in raw_decode

obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 2 column 1493 (char 1504)
