Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/rxv/rxv.py", line 139, in _request

response = ET.XML(res.content)
# releases connection to the pool


 "/usr/local/lib/python3.6/xml/etree/ElementTree.py", line 1315, in XML

return parser.close()


 "<string>", line None
xml.etree.ElementTree.ParseError: no element found: line 1, column 0

Traceback (most recent call last):


 "./test.py", line 90, in <module>

item = helper.messages.process_message(message, chat, message.sender, message.media, dest_index, account_id)


 "/opt/application/helper/messages.py", line 104, in process_message

progress_callback=download_progress_callback


 "/usr/lib/python3.6/site-packages/telethon/sync.py", line 39, in syncified

return loop.run_until_complete(coro)


 "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete

return future.result()


 "/usr/lib/python3.6/site-packages/telethon/tl/custom/message.py", line 742, in download_media

return await self._client.download_media(self, *args, **kwargs)


 "/usr/lib/python3.6/site-packages/telethon/client/downloads.py", line 356, in download_media

media, file


 "/usr/lib/python3.6/site-packages/telethon/client/downloads.py", line 746, in _download_contact

f = open(file, 'wb', encoding='utf-8')
ValueError: binary mode doesn't take an encoding argument
