Created
September 24, 2018 13:35
-
-
Save kitten77/ffafe4e1e8992284b5c80de9c3d10159 to your computer and use it in GitHub Desktop.
get this on freebsd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR asyncio Exception in callback Commands.command_callback(('send', 'l6'), 'l6')(<Task finishe...supported'),)>) | |
handle: <Handle Commands.command_callback(('send', 'l6'), 'l6')(<Task finishe...supported'),)>)> | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.6/urllib/request.py", line 1318, in do_open | |
encode_chunked=req.has_header('Transfer-encoding')) | |
File "/usr/local/lib/python3.6/http/client.py", line 1239, in request | |
self._send_request(method, url, body, headers, encode_chunked) | |
File "/usr/local/lib/python3.6/http/client.py", line 1285, in _send_request | |
self.endheaders(body, encode_chunked=encode_chunked) | |
File "/usr/local/lib/python3.6/http/client.py", line 1234, in endheaders | |
self._send_output(message_body, encode_chunked=encode_chunked) | |
File "/usr/local/lib/python3.6/http/client.py", line 1026, in _send_output | |
self.send(msg) | |
File "/usr/local/lib/python3.6/http/client.py", line 964, in send | |
self.connect() | |
File "/usr/local/lib/python3.6/http/client.py", line 936, in connect | |
(self.host,self.port), self.timeout, self.source_address) | |
File "/usr/local/lib/python3.6/socket.py", line 724, in create_connection | |
raise err | |
File "/usr/local/lib/python3.6/socket.py", line 708, in create_connection | |
sock = socket(af, socktype, proto) | |
File "/usr/local/lib/python3.6/socket.py", line 144, in __init__ | |
_socket.socket.__init__(self, family, type, proto, fileno) | |
OSError: [Errno 43] Protocol not supported | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run | |
self._callback(*self._args) | |
File "/usr/home/git/test_bot/venv/lib/python3.6/site-packages/irc3/plugins/command.py", line 380, in command_callback | |
msgs = msgs.result() | |
File "/usr/home/git/test_bot/plugins/dcc_send.py", line 27, in send | |
conn = await self.bot.dcc_send(mask, self.filename) | |
File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 212, in coro | |
res = func(*args, **kw) | |
File "/usr/home/git/test_bot/venv/lib/python3.6/site-packages/irc3/__init__.py", line 384, in dcc_send | |
return self.dcc.create('send', mask, filepath=filepath).ready | |
File "/usr/home/git/test_bot/venv/lib/python3.6/site-packages/irc3/dcc/manager.py", line 95, in create | |
mask=mask, ip=int(self.bot.ip), | |
File "/usr/home/git/test_bot/venv/lib/python3.6/site-packages/irc3/__init__.py", line 352, in ip | |
response = urlopen('http://ipv4.icanhazip.com/') | |
File "/usr/local/lib/python3.6/urllib/request.py", line 223, in urlopen | |
return opener.open(url, data, timeout) | |
File "/usr/local/lib/python3.6/urllib/request.py", line 526, in open | |
response = self._open(req, data) | |
File "/usr/local/lib/python3.6/urllib/request.py", line 544, in _open | |
'_open', req) | |
File "/usr/local/lib/python3.6/urllib/request.py", line 504, in _call_chain | |
result = func(*args) | |
File "/usr/local/lib/python3.6/urllib/request.py", line 1346, in http_open | |
return self.do_open(http.client.HTTPConnection, req) | |
File "/usr/local/lib/python3.6/urllib/request.py", line 1320, in do_open | |
raise URLError(err) | |
urllib.error.URLError: <urlopen error [Errno 43] Protocol not supported> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
L341 changed to == 6
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self._args)
File "/usr/home/git/test_bot/venv/lib/python3.6/site-packages/irc3/dcc/manager.py", line 51, in created
protocol.port = server.sockets[0].getsockname()[1]
IndexError: list index out of range