Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2020-03-15 10:46:22,275 (util.py:66 WorkerThread1) ERROR - TeleBot: "timeout occurred, args=('timed out',)
- Traceback (most recent call last):
- File "C:\Python38-32\lib\site-packages\urllib3\connectionpool.py", line 421, in _make_request
- six.raise_from(e, None)
- File "<string>", line 3, in raise_from
- File "C:\Python38-32\lib\site-packages\urllib3\connectionpool.py", line 416, in _make_request
- httplib_response = conn.getresponse()
- File "C:\Python38-32\lib\http\client.py", line 1322, in getresponse
- response.begin()
- File "C:\Python38-32\lib\http\client.py", line 303, in begin
- version, status, reason = self._read_status()
- File "C:\Python38-32\lib\http\client.py", line 264, in _read_status
- line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
- File "C:\Python38-32\lib\socket.py", line 669, in readinto
- return self._sock.recv_into(b)
- socket.timeout: timed out
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Python38-32\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 76, in __init__
- RemoteWebDriver.__init__(
- File "C:\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
- self.start_session(capabilities, browser_profile)
- File "C:\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
- response = self.execute(Command.NEW_SESSION, parameters)
- File "C:\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 319, in execute
- response = self.command_executor.execute(driver_command, params)
- File "C:\Python38-32\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 374, in execute
- return self._request(command_info[0], url, body=data)
- File "C:\Python38-32\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 397, in _request
- resp = self._conn.request(method, url, body=body, headers=headers)
- File "C:\Python38-32\lib\site-packages\urllib3\request.py", line 79, in request
- return self.request_encode_body(
- File "C:\Python38-32\lib\site-packages\urllib3\request.py", line 171, in request_encode_body
- return self.urlopen(method, url, **extra_kw)
- File "C:\Python38-32\lib\site-packages\urllib3\poolmanager.py", line 330, in urlopen
- response = conn.urlopen(method, u.request_uri, **kw)
- File "C:\Python38-32\lib\site-packages\urllib3\connectionpool.py", line 719, in urlopen
- retries = retries.increment(
- File "C:\Python38-32\lib\site-packages\urllib3\util\retry.py", line 400, in increment
- raise six.reraise(type(error), error, _stacktrace)
- File "C:\Python38-32\lib\site-packages\urllib3\packages\six.py", line 735, in reraise
- raise value
- File "C:\Python38-32\lib\site-packages\urllib3\connectionpool.py", line 665, in urlopen
- httplib_response = self._make_request(
- File "C:\Python38-32\lib\site-packages\urllib3\connectionpool.py", line 423, in _make_request
- self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
- File "C:\Python38-32\lib\site-packages\urllib3\connectionpool.py", line 330, in _raise_timeout
- raise ReadTimeoutError(
- urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='127.0.0.1', port=51367): Read timed out. (read timeout=<object object at 0x010C6838>)
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Python38-32\lib\site-packages\telebot\util.py", line 60, in run
- task(*args, **kwargs)
- File "c:/FRIKIbot/FRIKIdelBOT.py", line 1238, in crear_post
- datos_producto = procesar_BANGGOOD(message.chat.id, asin, archivo_log)
- File "c:/FRIKIbot/FRIKIdelBOT.py", line 680, in procesar_BANGGOOD
- html = usar_selenium(url)
- File "c:/FRIKIbot/FRIKIdelBOT.py", line 748, in usar_selenium
- driver = webdriver.Chrome(options=chrome_options)
- File "C:\Python38-32\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 83, in __init__
- self.quit()
- File "C:\Python38-32\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 158, in quit
- self.service.stop()
- File "C:\Python38-32\lib\site-packages\selenium\webdriver\common\service.py", line 151, in stop
- self.send_remote_shutdown_command()
- File "C:\Python38-32\lib\site-packages\selenium\webdriver\common\service.py", line 127, in send_remote_shutdown_command
- url_request.urlopen("%s/shutdown" % self.service_url)
- File "C:\Python38-32\lib\urllib\request.py", line 222, in urlopen
- return opener.open(url, data, timeout)
- File "C:\Python38-32\lib\urllib\request.py", line 525, in open
- response = self._open(req, data)
- File "C:\Python38-32\lib\urllib\request.py", line 542, in _open
- result = self._call_chain(self.handle_open, protocol, protocol +
- File "C:\Python38-32\lib\urllib\request.py", line 502, in _call_chain
- result = func(*args)
- File "C:\Python38-32\lib\urllib\request.py", line 1348, in http_open
- return self.do_open(http.client.HTTPConnection, req)
- File "C:\Python38-32\lib\urllib\request.py", line 1323, in do_open
- r = h.getresponse()
- File "C:\Python38-32\lib\http\client.py", line 1322, in getresponse
- response.begin()
- File "C:\Python38-32\lib\http\client.py", line 303, in begin
- version, status, reason = self._read_status()
- File "C:\Python38-32\lib\http\client.py", line 264, in _read_status
- line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
- File "C:\Python38-32\lib\socket.py", line 669, in readinto
- return self._sock.recv_into(b)
- socket.timeout: timed out
- "
- Traceback (most recent call last):
- File "C:\Python38-32\lib\site-packages\urllib3\connectionpool.py", line 421, in _make_request
- six.raise_from(e, None)
- File "<string>", line 3, in raise_from
- File "C:\Python38-32\lib\site-packages\urllib3\connectionpool.py", line 416, in _make_request
- httplib_response = conn.getresponse()
- 2020-03-15 10:46:23,030 (util.py:66 PollingThread) ERROR - TeleBot: "ApiException occurred, args=('A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:\n[b\'{"ok":false,"error_code":409,"description":"Conflict: terminated by other getUpdates request; make sure that only one bot instance is running"}\']',)
- Traceback (most recent call last):
- File "C:\Python38-32\lib\site-packages\telebot\util.py", line 60, in run
- task(*args, **kwargs)
- File "C:\Python38-32\lib\site-packages\telebot\__init__.py", line 279, in __retrieve_updates
- updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout)
- File "C:\Python38-32\lib\site-packages\telebot\__init__.py", line 249, in get_updates
- json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates)
- File "C:\Python38-32\lib\site-packages\telebot\apihelper.py", line 194, in get_updates
- return _make_request(token, method_url, params=payload)
- File "C:\Python38-32\lib\site-packages\telebot\apihelper.py", line 60, in _make_request
- return _check_result(method_name, result)['result']
- File "C:\Python38-32\lib\site-packages\telebot\apihelper.py", line 79, in _check_result
- raise ApiException(msg, method_name, result)
- telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
- [b'{"ok":false,"error_code":409,"description":"Conflict: terminated by other getUpdates request; make sure that only one bot instance is running"}']
- "
- File "C:\Python38-32\lib\http\client.py", line 1322, in getresponse
- response.begin()
- File "C:\Python38-32\lib\http\client.py", line 303, in begin
- version, status, reason = self._read_status()
- File "C:\Python38-32\lib\http\client.py", line 264, in _read_status
- line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
- File "C:\Python38-32\lib\socket.py", line 669, in readinto
- return self._sock.recv_into(b)
- socket.timeout: timed out
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\Python38-32\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 76, in __init__
- RemoteWebDriver.__init__(
- File "C:\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
- self.start_session(capabilities, browser_profile)
- File "C:\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
- response = self.execute(Command.NEW_SESSION, parameters)
- File "C:\Python38-32\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 319, in execute
- response = self.command_executor.execute(driver_command, params)
- File "C:\Python38-32\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 374, in execute
- return self._request(command_info[0], url, body=data)
- File "C:\Python38-32\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 397, in _request
- resp = self._conn.request(method, url, body=body, headers=headers)
- File "C:\Python38-32\lib\site-packages\urllib3\request.py", line 79, in request
- return self.request_encode_body(
- File "C:\Python38-32\lib\site-packages\urllib3\request.py", line 171, in request_encode_body
- return self.urlopen(method, url, **extra_kw)
- File "C:\Python38-32\lib\site-packages\urllib3\poolmanager.py", line 330, in urlopen
- response = conn.urlopen(method, u.request_uri, **kw)
- File "C:\Python38-32\lib\site-packages\urllib3\connectionpool.py", line 719, in urlopen
- retries = retries.increment(
- File "C:\Python38-32\lib\site-packages\urllib3\util\retry.py", line 400, in increment
- raise six.reraise(type(error), error, _stacktrace)
- File "C:\Python38-32\lib\site-packages\urllib3\packages\six.py", line 735, in reraise
- raise value
- File "C:\Python38-32\lib\site-packages\urllib3\connectionpool.py", line 665, in urlopen
- httplib_response = self._make_request(
- File "C:\Python38-32\lib\site-packages\urllib3\connectionpool.py", line 423, in _make_request
- self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
- File "C:\Python38-32\lib\site-packages\urllib3\connectionpool.py", line 330, in _raise_timeout
- raise ReadTimeoutError(
- urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='127.0.0.1', port=51367): Read timed out. (read timeout=<object object at 0x010C6838>)
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "c:/FRIKIbot/FRIKIdelBOT.py", line 1571, in <module>
- bot.polling(timeout=600)
- File "C:\Python38-32\lib\site-packages\telebot\__init__.py", line 392, in polling
- self.__threaded_polling(none_stop, interval, timeout)
- File "C:\Python38-32\lib\site-packages\telebot\__init__.py", line 416, in __threaded_polling
- self.worker_pool.raise_exceptions()
- File "C:\Python38-32\lib\site-packages\telebot\util.py", line 109, in raise_exceptions
- six.reraise(self.exc_info[0], self.exc_info[1], self.exc_info[2])
- File "C:\Users\FRIKIdelTO\AppData\Roaming\Python\Python38\site-packages\six.py", line 702, in reraise
- raise value.with_traceback(tb)
- File "C:\Python38-32\lib\site-packages\telebot\util.py", line 60, in run
- task(*args, **kwargs)
- File "c:/FRIKIbot/FRIKIdelBOT.py", line 1238, in crear_post
- datos_producto = procesar_BANGGOOD(message.chat.id, asin, archivo_log)
- File "c:/FRIKIbot/FRIKIdelBOT.py", line 680, in procesar_BANGGOOD
- html = usar_selenium(url)
- File "c:/FRIKIbot/FRIKIdelBOT.py", line 748, in usar_selenium
- driver = webdriver.Chrome(options=chrome_options)
- File "C:\Python38-32\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 83, in __init__
- self.quit()
- File "C:\Python38-32\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 158, in quit
- self.service.stop()
- File "C:\Python38-32\lib\site-packages\selenium\webdriver\common\service.py", line 151, in stop
- self.send_remote_shutdown_command()
- File "C:\Python38-32\lib\site-packages\selenium\webdriver\common\service.py", line 127, in send_remote_shutdown_command
- url_request.urlopen("%s/shutdown" % self.service_url)
- File "C:\Python38-32\lib\urllib\request.py", line 222, in urlopen
- return opener.open(url, data, timeout)
- File "C:\Python38-32\lib\urllib\request.py", line 525, in open
- response = self._open(req, data)
- File "C:\Python38-32\lib\urllib\request.py", line 542, in _open
- result = self._call_chain(self.handle_open, protocol, protocol +
- File "C:\Python38-32\lib\urllib\request.py", line 502, in _call_chain
- result = func(*args)
- File "C:\Python38-32\lib\urllib\request.py", line 1348, in http_open
- return self.do_open(http.client.HTTPConnection, req)
- File "C:\Python38-32\lib\urllib\request.py", line 1323, in do_open
- r = h.getresponse()
- File "C:\Python38-32\lib\http\client.py", line 1322, in getresponse
- response.begin()
- File "C:\Python38-32\lib\http\client.py", line 303, in begin
- version, status, reason = self._read_status()
- File "C:\Python38-32\lib\http\client.py", line 264, in _read_status
- line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
- File "C:\Python38-32\lib\socket.py", line 669, in readinto
- return self._sock.recv_into(b)
- socket.timeout: timed out
Advertisement
Add Comment
Please, Sign In to add comment