Advertisement
Unregistered

Python TelegramBotError

Feb 22nd, 2018
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.42 KB | None | 0 0
  1. D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\Scripts\python.exe D:/GoogleDrive/Projects/TelegramBot/bot.py
  2. 2018-02-22 09:04:23,877 (util.py:64 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: can\\\'t use getUpdates method while webhook is active"}\']',)
  3. Traceback (most recent call last):
  4. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\util.py", line 58, in run
  5. task(*args, **kwargs)
  6. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 159, in __retrieve_updates
  7. updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout)
  8. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 129, in get_updates
  9. json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates)
  10. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 175, in get_updates
  11. return _make_request(token, method_url, params=payload)
  12. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 56, in _make_request
  13. return _check_result(method_name, result)['result']
  14. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 75, in _check_result
  15. raise ApiException(msg, method_name, result)
  16. telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  17. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']
  18. "
  19. 2018-02-22 09:04:23,877 (__init__.py:292 MainThread) ERROR - TeleBot: "A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  20. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']"
  21. 2018-02-22 09:04:27,255 (util.py:64 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: can\\\'t use getUpdates method while webhook is active"}\']',)
  22. Traceback (most recent call last):
  23. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\util.py", line 58, in run
  24. task(*args, **kwargs)
  25. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 159, in __retrieve_updates
  26. updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout)
  27. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 129, in get_updates
  28. json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates)
  29. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 175, in get_updates
  30. return _make_request(token, method_url, params=payload)
  31. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 56, in _make_request
  32. return _check_result(method_name, result)['result']
  33. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 75, in _check_result
  34. raise ApiException(msg, method_name, result)
  35. telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  36. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']
  37. "
  38. 2018-02-22 09:04:27,255 (__init__.py:292 MainThread) ERROR - TeleBot: "A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  39. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']"
  40. 2018-02-22 09:04:27,838 (util.py:64 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: can\\\'t use getUpdates method while webhook is active"}\']',)
  41. Traceback (most recent call last):
  42. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\util.py", line 58, in run
  43. task(*args, **kwargs)
  44. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 159, in __retrieve_updates
  45. updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout)
  46. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 129, in get_updates
  47. json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates)
  48. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 175, in get_updates
  49. return _make_request(token, method_url, params=payload)
  50. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 56, in _make_request
  51. return _check_result(method_name, result)['result']
  52. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 75, in _check_result
  53. raise ApiException(msg, method_name, result)
  54. telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  55. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']
  56. "
  57. 2018-02-22 09:04:27,838 (__init__.py:292 MainThread) ERROR - TeleBot: "A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  58. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']"
  59. 2018-02-22 09:04:31,923 (util.py:64 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: can\\\'t use getUpdates method while webhook is active"}\']',)
  60. Traceback (most recent call last):
  61. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\util.py", line 58, in run
  62. task(*args, **kwargs)
  63. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 159, in __retrieve_updates
  64. updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout)
  65. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 129, in get_updates
  66. json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates)
  67. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 175, in get_updates
  68. return _make_request(token, method_url, params=payload)
  69. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 56, in _make_request
  70. return _check_result(method_name, result)['result']
  71. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 75, in _check_result
  72. raise ApiException(msg, method_name, result)
  73. telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  74. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']
  75. "
  76. 2018-02-22 09:04:31,923 (__init__.py:292 MainThread) ERROR - TeleBot: "A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  77. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']"
  78. 2018-02-22 09:04:34,007 (util.py:64 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: can\\\'t use getUpdates method while webhook is active"}\']',)
  79. Traceback (most recent call last):
  80. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\util.py", line 58, in run
  81. task(*args, **kwargs)
  82. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 159, in __retrieve_updates
  83. updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout)
  84. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 129, in get_updates
  85. json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates)
  86. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 175, in get_updates
  87. return _make_request(token, method_url, params=payload)
  88. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 56, in _make_request
  89. return _check_result(method_name, result)['result']
  90. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 75, in _check_result
  91. raise ApiException(msg, method_name, result)
  92. telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  93. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']
  94. "
  95. 2018-02-22 09:04:34,007 (__init__.py:292 MainThread) ERROR - TeleBot: "A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  96. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']"
  97. 2018-02-22 09:04:38,093 (util.py:64 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: can\\\'t use getUpdates method while webhook is active"}\']',)
  98. Traceback (most recent call last):
  99. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\util.py", line 58, in run
  100. task(*args, **kwargs)
  101. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 159, in __retrieve_updates
  102. updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout)
  103. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 129, in get_updates
  104. json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates)
  105. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 175, in get_updates
  106. return _make_request(token, method_url, params=payload)
  107. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 56, in _make_request
  108. return _check_result(method_name, result)['result']
  109. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 75, in _check_result
  110. raise ApiException(msg, method_name, result)
  111. telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  112. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']
  113. "
  114. 2018-02-22 09:04:38,093 (__init__.py:292 MainThread) ERROR - TeleBot: "A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  115. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']"
  116. 2018-02-22 09:04:46,180 (util.py:64 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: can\\\'t use getUpdates method while webhook is active"}\']',)
  117. Traceback (most recent call last):
  118. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\util.py", line 58, in run
  119. task(*args, **kwargs)
  120. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 159, in __retrieve_updates
  121. updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout)
  122. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 129, in get_updates
  123. json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates)
  124. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 175, in get_updates
  125. return _make_request(token, method_url, params=payload)
  126. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 56, in _make_request
  127. return _check_result(method_name, result)['result']
  128. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 75, in _check_result
  129. raise ApiException(msg, method_name, result)
  130. telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  131. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']
  132. "
  133. 2018-02-22 09:04:46,180 (__init__.py:292 MainThread) ERROR - TeleBot: "A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  134. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']"
  135. 2018-02-22 09:05:02,264 (util.py:64 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: can\\\'t use getUpdates method while webhook is active"}\']',)
  136. Traceback (most recent call last):
  137. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\util.py", line 58, in run
  138. task(*args, **kwargs)
  139. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 159, in __retrieve_updates
  140. updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout)
  141. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 129, in get_updates
  142. json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates)
  143. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 175, in get_updates
  144. return _make_request(token, method_url, params=payload)
  145. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 56, in _make_request
  146. return _check_result(method_name, result)['result']
  147. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 75, in _check_result
  148. raise ApiException(msg, method_name, result)
  149. telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  150. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']
  151. "
  152. 2018-02-22 09:05:02,265 (__init__.py:292 MainThread) ERROR - TeleBot: "A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  153. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']"
  154. 2018-02-22 09:05:34,351 (util.py:64 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: can\\\'t use getUpdates method while webhook is active"}\']',)
  155. Traceback (most recent call last):
  156. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\util.py", line 58, in run
  157. task(*args, **kwargs)
  158. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 159, in __retrieve_updates
  159. updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout)
  160. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 129, in get_updates
  161. json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates)
  162. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 175, in get_updates
  163. return _make_request(token, method_url, params=payload)
  164. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 56, in _make_request
  165. return _check_result(method_name, result)['result']
  166. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 75, in _check_result
  167. raise ApiException(msg, method_name, result)
  168. telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  169. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']
  170. "
  171. 2018-02-22 09:05:34,352 (__init__.py:292 MainThread) ERROR - TeleBot: "A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  172. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']"
  173. 2018-02-22 09:06:46,571 (util.py:64 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: can\\\'t use getUpdates method while webhook is active"}\']',)
  174. Traceback (most recent call last):
  175. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\util.py", line 58, in run
  176. task(*args, **kwargs)
  177. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 159, in __retrieve_updates
  178. updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout)
  179. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 129, in get_updates
  180. json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates)
  181. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 175, in get_updates
  182. return _make_request(token, method_url, params=payload)
  183. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 56, in _make_request
  184. return _check_result(method_name, result)['result']
  185. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 75, in _check_result
  186. raise ApiException(msg, method_name, result)
  187. telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  188. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']
  189. "
  190. 2018-02-22 09:06:46,571 (__init__.py:292 MainThread) ERROR - TeleBot: "A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  191. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']"
  192. 2018-02-22 09:08:54,659 (util.py:64 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: can\\\'t use getUpdates method while webhook is active"}\']',)
  193. Traceback (most recent call last):
  194. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\util.py", line 58, in run
  195. task(*args, **kwargs)
  196. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 159, in __retrieve_updates
  197. updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout)
  198. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 129, in get_updates
  199. json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates)
  200. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 175, in get_updates
  201. return _make_request(token, method_url, params=payload)
  202. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 56, in _make_request
  203. return _check_result(method_name, result)['result']
  204. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 75, in _check_result
  205. raise ApiException(msg, method_name, result)
  206. telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  207. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']
  208. "
  209. 2018-02-22 09:08:54,659 (__init__.py:292 MainThread) ERROR - TeleBot: "A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  210. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']"
  211. 2018-02-22 09:13:10,745 (util.py:64 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: can\\\'t use getUpdates method while webhook is active"}\']',)
  212. Traceback (most recent call last):
  213. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\util.py", line 58, in run
  214. task(*args, **kwargs)
  215. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 159, in __retrieve_updates
  216. updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout)
  217. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 129, in get_updates
  218. json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates)
  219. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 175, in get_updates
  220. return _make_request(token, method_url, params=payload)
  221. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 56, in _make_request
  222. return _check_result(method_name, result)['result']
  223. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 75, in _check_result
  224. raise ApiException(msg, method_name, result)
  225. telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  226. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']
  227. "
  228. 2018-02-22 09:13:10,745 (__init__.py:292 MainThread) ERROR - TeleBot: "A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  229. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']"
  230. 2018-02-22 09:21:43,482 (util.py:64 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: can\\\'t use getUpdates method while webhook is active"}\']',)
  231. Traceback (most recent call last):
  232. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\util.py", line 58, in run
  233. task(*args, **kwargs)
  234. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 159, in __retrieve_updates
  235. updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout)
  236. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 129, in get_updates
  237. json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates)
  238. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 175, in get_updates
  239. return _make_request(token, method_url, params=payload)
  240. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 56, in _make_request
  241. return _check_result(method_name, result)['result']
  242. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 75, in _check_result
  243. raise ApiException(msg, method_name, result)
  244. telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  245. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']
  246. "
  247. 2018-02-22 09:21:43,496 (__init__.py:292 MainThread) ERROR - TeleBot: "A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  248. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']"
  249. 2018-02-22 09:38:49,743 (util.py:64 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: can\\\'t use getUpdates method while webhook is active"}\']',)
  250. Traceback (most recent call last):
  251. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\util.py", line 58, in run
  252. task(*args, **kwargs)
  253. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 159, in __retrieve_updates
  254. updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout)
  255. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 129, in get_updates
  256. json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates)
  257. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 175, in get_updates
  258. return _make_request(token, method_url, params=payload)
  259. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 56, in _make_request
  260. return _check_result(method_name, result)['result']
  261. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 75, in _check_result
  262. raise ApiException(msg, method_name, result)
  263. telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  264. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']
  265. "
  266. 2018-02-22 09:38:49,755 (__init__.py:292 MainThread) ERROR - TeleBot: "A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  267. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']"
  268. 2018-02-22 10:12:58,949 (util.py:64 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: can\\\'t use getUpdates method while webhook is active"}\']',)
  269. Traceback (most recent call last):
  270. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\util.py", line 58, in run
  271. task(*args, **kwargs)
  272. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 159, in __retrieve_updates
  273. updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout)
  274. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 129, in get_updates
  275. json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates)
  276. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 175, in get_updates
  277. return _make_request(token, method_url, params=payload)
  278. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 56, in _make_request
  279. return _check_result(method_name, result)['result']
  280. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 75, in _check_result
  281. raise ApiException(msg, method_name, result)
  282. telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  283. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']
  284. "
  285. 2018-02-22 10:12:58,958 (__init__.py:292 MainThread) ERROR - TeleBot: "A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  286. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']"
  287. 2018-02-22 11:21:16,229 (util.py:64 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: can\\\'t use getUpdates method while webhook is active"}\']',)
  288. Traceback (most recent call last):
  289. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\util.py", line 58, in run
  290. task(*args, **kwargs)
  291. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 159, in __retrieve_updates
  292. updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout)
  293. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\__init__.py", line 129, in get_updates
  294. json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates)
  295. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 175, in get_updates
  296. return _make_request(token, method_url, params=payload)
  297. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 56, in _make_request
  298. return _check_result(method_name, result)['result']
  299. File "D:\GoogleDrive\Projects\TelegramBot\TelegramBotVirtualEnv\lib\site-packages\telebot\apihelper.py", line 75, in _check_result
  300. raise ApiException(msg, method_name, result)
  301. telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  302. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']
  303. "
  304. 2018-02-22 11:21:16,246 (__init__.py:292 MainThread) ERROR - TeleBot: "A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
  305. [b'{"ok":false,"error_code":409,"description":"Conflict: can\'t use getUpdates method while webhook is active"}']"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement