Created
July 6, 2018 00:54
-
-
Save cameri/c89ff9516cfc3ea795996f045ece466c to your computer and use it in GitHub Desktop.
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
marvin on master [!?] via marvin-project | |
➜ ./run_standalone.py | |
2018-07-05 20:53:34,915 INFO [MainProcess/MainThread|marvinbot.net] Starting Downloader with a ThreadPoolExecutor, workers=1 | |
2018-07-05 20:53:34,928 INFO [MainProcess/MainThread|marvinbot.core] Adding handler: plugins, priority: 0, plugin: None | |
2018-07-05 20:53:34,929 INFO [MainProcess/MainThread|marvinbot.core] Adding handler: authenticate, priority: 0, plugin: None | |
2018-07-05 20:53:34,929 INFO [MainProcess/MainThread|marvinbot.core] Adding handler: users, priority: 0, plugin: None | |
2018-07-05 20:53:34,929 INFO [MainProcess/MainThread|marvinbot.core] Adding handler: commands_list, priority: 0, plugin: None | |
2018-07-05 20:53:34,930 INFO [MainProcess/MainThread|marvinbot.core] Adding handler: help, priority: 0, plugin: None | |
2018-07-05 20:53:34,930 INFO [MainProcess/MainThread|marvinbot.core] Adding handler: [<function filter_bot_membership_change at 0x7f36cfd77268>], priority: 0, plugin: None | |
2018-07-05 20:53:34,930 INFO [MainProcess/MainThread|marvinbot.runner] Starting bot in standalone mode | |
2018-07-05 20:53:34,930 INFO [MainProcess/MainThread|marvinbot.polling] Starting with a ThreadPoolExecutor, workers=5 | |
2018-07-05 20:53:34,930 INFO [MainProcess/telegram-polling-thread|marvinbot.polling] Starting polling thread | |
2018-07-05 20:53:34,940 INFO [MainProcess/MainThread|marvinbot.plugins] Loading plugin [simple_replies] | |
2018-07-05 20:53:34,941 INFO [MainProcess/MainThread|marvinbot_simple_replies_plugin.base] Initializing Simple Replies Plugin | |
2018-07-05 20:53:34,942 INFO [MainProcess/MainThread|marvinbot_simple_replies_plugin.base] Fetched 0 replies. | |
2018-07-05 20:53:34,942 INFO [MainProcess/MainThread|marvinbot.plugins] [simple_replies] Attempting to import models | |
2018-07-05 20:53:34,943 INFO [MainProcess/MainThread|marvinbot.plugins] [simple_replies] Attempting to import handlers for module [<module 'marvinbot_simple_replies_plugin' from '/home/cameri/Workspace/python/marvin-project/marvinbot_simple_replies_plugin/marvinbot_simple_replies_plugin/__init__.py'>] | |
2018-07-05 20:53:34,943 INFO [MainProcess/MainThread|marvinbot.core] Adding handler: reply, priority: 2, plugin: marvinbot_simple_replies_plugin | |
2018-07-05 20:53:34,943 INFO [MainProcess/MainThread|marvinbot.core] Adding handler: [Filters.text], priority: 90, plugin: marvinbot_simple_replies_plugin | |
2018-07-05 20:53:34,943 INFO [MainProcess/MainThread|marvinbot.core] Adding handler: restore_patterns, priority: 2, plugin: marvinbot_simple_replies_plugin | |
2018-07-05 20:53:34,944 INFO [MainProcess/MainThread|apscheduler.scheduler] Scheduler started | |
2018-07-05 20:53:48,087 ERROR [MainProcess/telegram-polling-thread|marvinbot.polling] Error ocurred (polling every 1.000000 seconds now) | |
Traceback (most recent call last): | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/connectionpool.py", line 402, in _make_request | |
six.raise_from(e, None) | |
File "<string>", line 2, in raise_from | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/connectionpool.py", line 398, in _make_request | |
httplib_response = conn.getresponse() | |
File "/usr/lib64/python3.6/http/client.py", line 1331, in getresponse | |
response.begin() | |
File "/usr/lib64/python3.6/http/client.py", line 297, in begin | |
version, status, reason = self._read_status() | |
File "/usr/lib64/python3.6/http/client.py", line 258, in _read_status | |
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") | |
File "/usr/lib64/python3.6/socket.py", line 586, in readinto | |
return self._sock.recv_into(b) | |
File "/usr/lib64/python3.6/ssl.py", line 1009, in recv_into | |
return self.read(nbytes, buffer) | |
File "/usr/lib64/python3.6/ssl.py", line 871, in read | |
return self._sslobj.read(len, buffer) | |
File "/usr/lib64/python3.6/ssl.py", line 631, in read | |
v = self._sslobj.read(len, buffer) | |
socket.timeout: The read operation timed out | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/utils/request.py", line 190, in _request_wrapper | |
resp = self._con_pool.request(*args, **kwargs) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/request.py", line 70, in request | |
**urlopen_kw) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/request.py", line 148, in request_encode_body | |
return self.urlopen(method, url, **extra_kw) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/poolmanager.py", line 244, in urlopen | |
response = conn.urlopen(method, u.request_uri, **kw) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/connectionpool.py", line 666, in urlopen | |
_stacktrace=sys.exc_info()[2]) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/util/retry.py", line 347, in increment | |
raise six.reraise(type(error), error, _stacktrace) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/packages/six.py", line 686, in reraise | |
raise value | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/connectionpool.py", line 617, in urlopen | |
chunked=chunked) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/connectionpool.py", line 405, in _make_request | |
exc_cls=ReadTimeoutError) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/connectionpool.py", line 321, in _raise_timeout | |
raise exc_cls(*args) | |
telegram.vendor.ptb_urllib3.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=7.0) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/cameri/Workspace/python/marvin-project/marvin/marvinbot/polling.py", line 94, in run | |
self.update_last_result(process_result, is_async) | |
File "/home/cameri/Workspace/python/marvin-project/marvin/marvinbot/polling.py", line 121, in update_last_result | |
self.func_kwargs['last_result'] = value.result() if is_async else value | |
File "/usr/lib64/python3.6/concurrent/futures/_base.py", line 432, in result | |
return self.__get_result() | |
File "/usr/lib64/python3.6/concurrent/futures/_base.py", line 384, in __get_result | |
raise self._exception | |
File "/usr/lib64/python3.6/concurrent/futures/thread.py", line 56, in run | |
result = self.fn(*self.args, **self.kwargs) | |
File "/home/cameri/Workspace/python/marvin-project/marvin/marvinbot/polling.py", line 161, in on_update | |
for update in updates: | |
File "/home/cameri/Workspace/python/marvin-project/marvin/marvinbot/polling.py", line 157, in fetch_updates | |
yield from self.adapter.fetch_updates(last_result) | |
File "/home/cameri/Workspace/python/marvin-project/marvin/marvinbot/core.py", line 176, in fetch_updates | |
for update in self.bot.getUpdates(offset=last_update_id, timeout=int(self.config.get('fetch_timeout', 5))): | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/bot.py", line 57, in decorator | |
result = func(self, *args, **kwargs) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/bot.py", line 1672, in get_updates | |
result = self._request.post(url, data, timeout=float(read_latency) + float(timeout)) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/utils/request.py", line 272, in post | |
**urlopen_kwargs) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/utils/request.py", line 192, in _request_wrapper | |
raise TimedOut() | |
telegram.error.TimedOut: Timed out | |
^C | |
Really quit? (y/n)> y | |
2018-07-05 20:53:51,059 INFO [MainProcess/MainThread|marvinbot.runner] Shutting down... | |
2018-07-05 20:53:51,061 INFO [MainProcess/MainThread|apscheduler.scheduler] Scheduler has been shut down | |
2018-07-05 20:53:57,096 ERROR [MainProcess/telegram-polling-thread|marvinbot.polling] Error ocurred (polling every 1.500000 seconds now) | |
Traceback (most recent call last): | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/connectionpool.py", line 402, in _make_request | |
six.raise_from(e, None) | |
File "<string>", line 2, in raise_from | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/connectionpool.py", line 398, in _make_request | |
httplib_response = conn.getresponse() | |
File "/usr/lib64/python3.6/http/client.py", line 1331, in getresponse | |
response.begin() | |
File "/usr/lib64/python3.6/http/client.py", line 297, in begin | |
version, status, reason = self._read_status() | |
File "/usr/lib64/python3.6/http/client.py", line 258, in _read_status | |
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") | |
File "/usr/lib64/python3.6/socket.py", line 586, in readinto | |
return self._sock.recv_into(b) | |
File "/usr/lib64/python3.6/ssl.py", line 1009, in recv_into | |
return self.read(nbytes, buffer) | |
File "/usr/lib64/python3.6/ssl.py", line 871, in read | |
return self._sslobj.read(len, buffer) | |
File "/usr/lib64/python3.6/ssl.py", line 631, in read | |
v = self._sslobj.read(len, buffer) | |
socket.timeout: The read operation timed out | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/utils/request.py", line 190, in _request_wrapper | |
resp = self._con_pool.request(*args, **kwargs) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/request.py", line 70, in request | |
**urlopen_kw) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/request.py", line 148, in request_encode_body | |
return self.urlopen(method, url, **extra_kw) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/poolmanager.py", line 244, in urlopen | |
response = conn.urlopen(method, u.request_uri, **kw) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/connectionpool.py", line 666, in urlopen | |
_stacktrace=sys.exc_info()[2]) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/util/retry.py", line 347, in increment | |
raise six.reraise(type(error), error, _stacktrace) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/packages/six.py", line 686, in reraise | |
raise value | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/connectionpool.py", line 617, in urlopen | |
chunked=chunked) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/connectionpool.py", line 405, in _make_request | |
exc_cls=ReadTimeoutError) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/vendor/ptb_urllib3/urllib3/connectionpool.py", line 321, in _raise_timeout | |
raise exc_cls(*args) | |
telegram.vendor.ptb_urllib3.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='api.telegram.org', port=443): Read timed out. (read timeout=7.0) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/cameri/Workspace/python/marvin-project/marvin/marvinbot/polling.py", line 94, in run | |
self.update_last_result(process_result, is_async) | |
File "/home/cameri/Workspace/python/marvin-project/marvin/marvinbot/polling.py", line 121, in update_last_result | |
self.func_kwargs['last_result'] = value.result() if is_async else value | |
File "/usr/lib64/python3.6/concurrent/futures/_base.py", line 432, in result | |
return self.__get_result() | |
File "/usr/lib64/python3.6/concurrent/futures/_base.py", line 384, in __get_result | |
raise self._exception | |
File "/usr/lib64/python3.6/concurrent/futures/thread.py", line 56, in run | |
result = self.fn(*self.args, **self.kwargs) | |
File "/home/cameri/Workspace/python/marvin-project/marvin/marvinbot/polling.py", line 161, in on_update | |
for update in updates: | |
File "/home/cameri/Workspace/python/marvin-project/marvin/marvinbot/polling.py", line 157, in fetch_updates | |
yield from self.adapter.fetch_updates(last_result) | |
File "/home/cameri/Workspace/python/marvin-project/marvin/marvinbot/core.py", line 176, in fetch_updates | |
for update in self.bot.getUpdates(offset=last_update_id, timeout=int(self.config.get('fetch_timeout', 5))): | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/bot.py", line 57, in decorator | |
result = func(self, *args, **kwargs) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/bot.py", line 1672, in get_updates | |
result = self._request.post(url, data, timeout=float(read_latency) + float(timeout)) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/utils/request.py", line 272, in post | |
**urlopen_kwargs) | |
File "/home/cameri/Workspace/python/marvin-project/venv/lib/python3.6/site-packages/python_telegram_bot-8.1.1-py3.6.egg/telegram/utils/request.py", line 192, in _request_wrapper | |
raise TimedOut() | |
telegram.error.TimedOut: Timed out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment