Skip to content

Instantly share code, notes, and snippets.

@FeraruSilviuMarian
Created August 8, 2019 06:50
Show Gist options
  • Save FeraruSilviuMarian/9d78462233ab81e3130aadfdda7de79f to your computer and use it in GitHub Desktop.
Save FeraruSilviuMarian/9d78462233ab81e3130aadfdda7de79f to your computer and use it in GitHub Desktop.
Exception ignored in: <_io.FileIO name=3 mode='rb' closefd=True>
ResourceWarning: unclosed file <_io.TextIOWrapper name=3 encoding='cp1252'>
Exception ignored in: <bound method Popen.__del__ of <subprocess.Popen object at 0x0000020DFF6727F0>>
Traceback (most recent call last):
File "E:\Miniconda3\lib\subprocess.py", line 766, in __del__
ResourceWarning, source=self)
ResourceWarning: subprocess 15968 is still running
Sakura Bot is ready
Ignoring exception in on_message
Traceback (most recent call last):
File "C:\Users\Silver\AppData\Roaming\Python\Python36\site-packages\aiohttp\connector.py", line 843, in _create_direct_connection
traces=traces), loop=self._loop)
File "C:\Users\Silver\AppData\Roaming\Python\Python36\site-packages\aiohttp\connector.py", line 730, in _resolve_host
self._resolver.resolve(host, port, family=self._family)
File "C:\Users\Silver\AppData\Roaming\Python\Python36\site-packages\aiohttp\resolver.py", line 30, in resolve
host, port, type=socket.SOCK_STREAM, family=family)
File "E:\Miniconda3\lib\concurrent\futures\thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "E:\Miniconda3\lib\socket.py", line 745, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11002] getaddrinfo failed
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "E:\Miniconda3\lib\site-packages\discord\client.py", line 227, in _run_event
await coro(*args, **kwargs)
File "D:\OneDrive\Code\Python3\Discord bots\SakuraBot\_sakura_bot.py", line 2093, in on_message
embMsg = await helpers.author_action_mention(message.author, "teases", mention, message, resources.teaseGifs)
File "D:\OneDrive\Code\Python3\Discord bots\SakuraBot\helpers.py", line 584, in author_action_mention
status_code = await fetch_status_code(session, random_gif_url)
File "D:\OneDrive\Code\Python3\Discord bots\SakuraBot\helpers.py", line 443, in fetch_status_code
async with session.get(url) as response:
File "C:\Users\Silver\AppData\Roaming\Python\Python36\site-packages\aiohttp\client.py", line 855, in __aenter__
self._resp = await self._coro
File "C:\Users\Silver\AppData\Roaming\Python\Python36\site-packages\aiohttp\client.py", line 370, in _request
timeout=timeout
File "C:\Users\Silver\AppData\Roaming\Python\Python36\site-packages\aiohttp\connector.py", line 445, in connect
proto = await self._create_connection(req, traces, timeout)
File "C:\Users\Silver\AppData\Roaming\Python\Python36\site-packages\aiohttp\connector.py", line 757, in _create_connection
req, traces, timeout)
File "C:\Users\Silver\AppData\Roaming\Python\Python36\site-packages\aiohttp\connector.py", line 847, in _create_direct_connection
raise ClientConnectorError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host www.niceandquite.com:443 ssl:None [getaddrinfo failed]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment