Created
February 22, 2019 02:05
-
-
Save Zwork101/22f856e2f33cd2952dc63863732e84b0 to your computer and use it in GitHub Desktop.
A weird disco-py error
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
[INFO] 2019-02-21 21:03:39,352 - Bot:485 - Adding plugin module at path "plugins.mod" | |
[INFO] 2019-02-21 21:03:39,869 - HTTPClient:271 - GET https://discordapp.com/api/v7/gateway (None) | |
Traceback (most recent call last): | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\gevent\greenlet.py", line 536, in run | |
result = self._run(*self.args, **self.kwargs) | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\disco\gateway\client.py", line 138, in connect_and_run | |
self._cached_gateway_url = self.client.api.gateway_get()['url'] | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\disco\api\client.py", line 97, in gateway_get | |
data = self.http(Routes.GATEWAY_GET).json() | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\disco\api\http.py", line 216, in __call__ | |
return self.call(route, args, **kwargs) | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\disco\api\http.py", line 272, in call | |
r = self.session.request(route[0].value, url, **kwargs) | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\requests\sessions.py", line 508, in request | |
resp = self.send(prep, **send_kwargs) | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\requests\sessions.py", line 618, in send | |
r = adapter.send(request, **kwargs) | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\requests\adapters.py", line 440, in send | |
timeout=timeout | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\urllib3\connectionpool.py", line 601, in urlopen | |
chunked=chunked) | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\urllib3\connectionpool.py", line 346, in _make_request | |
self._validate_conn(conn) | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\urllib3\connectionpool.py", line 850, in _validate_conn | |
conn.connect() | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\urllib3\connection.py", line 314, in connect | |
cert_reqs=resolve_cert_reqs(self.cert_reqs), | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\urllib3\util\ssl_.py", line 269, in create_urllib3_context | |
context.options |= options | |
File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\ssl.py", line 465, in options | |
super(SSLContext, SSLContext).options.__set__(self, value) | |
File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\ssl.py", line 465, in options | |
super(SSLContext, SSLContext).options.__set__(self, value) | |
File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\ssl.py", line 465, in options | |
super(SSLContext, SSLContext).options.__set__(self, value) | |
[Previous line repeated 315 more times] | |
RecursionError: maximum recursion depth exceeded | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\gevent\hub.py", line 866, in switch | |
switch(value) | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\gevent\greenlet.py", line 538, in run | |
self._report_error(sys.exc_info()) | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\gevent\greenlet.py", line 520, in _report_error | |
self._exc_info = exc_info[0], exc_info[1], dump_traceback(exc_info[2]) | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\gevent\_tblib.py", line 370, in g | |
return f(a) | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\gevent\_tblib.py", line 425, in dump_traceback | |
return dumps(tb) | |
RecursionError: maximum recursion depth exceeded while pickling an object | |
Thu Feb 21 21:03:44 2019 <built-in method switch of Greenlet object at 0x03A6C940> failed with RecursionError | |
Traceback (most recent call last): | |
File "C:/Users/User/PycharmProjects/Justice/main.py", line 19, in <module> | |
bot.run_forever() | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\disco\bot\bot.py", line 479, in run_forever | |
self.client.run_forever() | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\disco\client.py", line 154, in run_forever | |
return self.gw.run() | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\disco\gateway\client.py", line 265, in run | |
self.ws_event.wait() | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\gevent\event.py", line 219, in wait | |
return self._wait(timeout) | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\gevent\event.py", line 129, in _wait | |
gotit = self._wait_core(timeout) | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\gevent\event.py", line 106, in _wait_core | |
result = self.hub.switch() | |
File "C:\Users\User\PycharmProjects\Justice\venv\lib\site-packages\gevent\hub.py", line 630, in switch | |
return RawGreenlet.switch(self) | |
gevent.hub.LoopExit: ('This operation would block forever', |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment