VKirill

Untitled

Aug 11th, 2022
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.34 KB | None | 0 0
  1. File "/root/telegram/main.py", line 39
  2. SyntaxError: Non-ASCII character '\xd0' in file /root/telegram/main.py on line 39, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
  3. /root/telegram/main.py: 6: Syntax error: "(" unexpected (expecting "do")
  4. File "/root/telegram/main.py", line 39
  5. SyntaxError: Non-ASCII character '\xd0' in file /root/telegram/main.py on line 39, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
  6. File "/root/telegram/main.py", line 39
  7. SyntaxError: Non-ASCII character '\xd0' in file /root/telegram/main.py on line 39, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
  8. File "/root/telegram/main.py", line 39
  9. SyntaxError: Non-ASCII character '\xd0' in file /root/telegram/main.py on line 39, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
  10. can only concatenate str (not "NoneType") to str
  11. Traceback (most recent call last):
  12. File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
  13. await self.loop.run_in_executor(
  14. File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  15. result = self.fn(*self.args, **self.kwargs)
  16. File "main.py", line 43, in msg
  17. print("https://t.me/"+msg.chat.username+"/"+str(msg.id))
  18. TypeError: can only concatenate str (not "NoneType") to str
  19. can only concatenate str (not "NoneType") to str
  20. Traceback (most recent call last):
  21. File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
  22. await self.loop.run_in_executor(
  23. File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  24. result = self.fn(*self.args, **self.kwargs)
  25. File "main.py", line 43, in msg
  26. print("https://t.me/"+msg.chat.username+"/"+str(msg.id))
  27. TypeError: can only concatenate str (not "NoneType") to str
  28. can only concatenate str (not "NoneType") to str
  29. Traceback (most recent call last):
  30. File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
  31. await self.loop.run_in_executor(
  32. File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  33. result = self.fn(*self.args, **self.kwargs)
  34. File "main.py", line 43, in msg
  35. print("https://t.me/"+msg.chat.username+"/"+str(msg.id))
  36. TypeError: can only concatenate str (not "NoneType") to str
  37. can only concatenate str (not "NoneType") to str
  38. Traceback (most recent call last):
  39. File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
  40. await self.loop.run_in_executor(
  41. File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  42. result = self.fn(*self.args, **self.kwargs)
  43. File "main.py", line 43, in msg
  44. print("https://t.me/"+msg.chat.username+"/"+str(msg.id))
  45. TypeError: can only concatenate str (not "NoneType") to str
  46. can only concatenate str (not "NoneType") to str
  47. Traceback (most recent call last):
  48. File "main.py", line 55, in msg
  49. message = "@"+msg.from_user.username+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
  50. TypeError: can only concatenate str (not "NoneType") to str
  51.  
  52. During handling of the above exception, another exception occurred:
  53.  
  54. Traceback (most recent call last):
  55. File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
  56. await self.loop.run_in_executor(
  57. File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  58. result = self.fn(*self.args, **self.kwargs)
  59. File "main.py", line 57, in msg
  60. message = "Сообщение от имени канала."+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
  61. TypeError: can only concatenate str (not "NoneType") to str
  62. can only concatenate str (not "NoneType") to str
  63. Traceback (most recent call last):
  64. File "main.py", line 55, in msg
  65. message = "@"+msg.from_user.username+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
  66. TypeError: can only concatenate str (not "NoneType") to str
  67.  
  68. During handling of the above exception, another exception occurred:
  69.  
  70. Traceback (most recent call last):
  71. File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
  72. await self.loop.run_in_executor(
  73. File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  74. result = self.fn(*self.args, **self.kwargs)
  75. File "main.py", line 57, in msg
  76. message = "Сообщение от имени канала."+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
  77. TypeError: can only concatenate str (not "NoneType") to str
  78. can only concatenate str (not "NoneType") to str
  79. Traceback (most recent call last):
  80. File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
  81. await self.loop.run_in_executor(
  82. File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  83. result = self.fn(*self.args, **self.kwargs)
  84. File "main.py", line 43, in msg
  85. print("https://t.me/"+msg.chat.username+"/"+str(msg.id))
  86. TypeError: can only concatenate str (not "NoneType") to str
  87. can only concatenate str (not "NoneType") to str
  88. Traceback (most recent call last):
  89. File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
  90. await self.loop.run_in_executor(
  91. File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  92. result = self.fn(*self.args, **self.kwargs)
  93. File "main.py", line 43, in msg
  94. print("https://t.me/"+msg.chat.username+"/"+str(msg.id))
  95. TypeError: can only concatenate str (not "NoneType") to str
  96. can only concatenate str (not "NoneType") to str
  97. Traceback (most recent call last):
  98. File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
  99. await self.loop.run_in_executor(
  100. File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  101. result = self.fn(*self.args, **self.kwargs)
  102. File "main.py", line 43, in msg
  103. print("https://t.me/"+msg.chat.username+"/"+str(msg.id))
  104. TypeError: can only concatenate str (not "NoneType") to str
  105. can only concatenate str (not "NoneType") to str
  106. Traceback (most recent call last):
  107. File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
  108. await self.loop.run_in_executor(
  109. File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  110. result = self.fn(*self.args, **self.kwargs)
  111. File "main.py", line 43, in msg
  112. print("https://t.me/"+msg.chat.username+"/"+str(msg.id))
  113. TypeError: can only concatenate str (not "NoneType") to str
  114. can only concatenate str (not "NoneType") to str
  115. Traceback (most recent call last):
  116. File "main.py", line 55, in msg
  117. message = "@"+msg.from_user.username+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
  118. TypeError: can only concatenate str (not "NoneType") to str
  119.  
  120. During handling of the above exception, another exception occurred:
  121.  
  122. Traceback (most recent call last):
  123. File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
  124. await self.loop.run_in_executor(
  125. File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  126. result = self.fn(*self.args, **self.kwargs)
  127. File "main.py", line 57, in msg
  128. message = "Сообщение от имени канала."+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
  129. TypeError: can only concatenate str (not "NoneType") to str
  130. can only concatenate str (not "NoneType") to str
  131. Traceback (most recent call last):
  132. File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
  133. await self.loop.run_in_executor(
  134. File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  135. result = self.fn(*self.args, **self.kwargs)
  136. File "main.py", line 43, in msg
  137. print("https://t.me/"+msg.chat.username+"/"+str(msg.id))
  138. TypeError: can only concatenate str (not "NoneType") to str
  139. can only concatenate str (not "NoneType") to str
  140. Traceback (most recent call last):
  141. File "main.py", line 55, in msg
  142. message = "@"+msg.from_user.username+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
  143. TypeError: can only concatenate str (not "NoneType") to str
  144.  
  145. During handling of the above exception, another exception occurred:
  146.  
  147. Traceback (most recent call last):
  148. File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
  149. await self.loop.run_in_executor(
  150. File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  151. result = self.fn(*self.args, **self.kwargs)
  152. File "main.py", line 57, in msg
  153. message = "Сообщение от имени канала."+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
  154. TypeError: can only concatenate str (not "NoneType") to str
  155. can only concatenate str (not "NoneType") to str
  156. Traceback (most recent call last):
  157. File "main.py", line 55, in msg
  158. message = "@"+msg.from_user.username+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
  159. TypeError: can only concatenate str (not "NoneType") to str
  160.  
  161. During handling of the above exception, another exception occurred:
  162.  
  163. Traceback (most recent call last):
  164. File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
  165. await self.loop.run_in_executor(
  166. File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  167. result = self.fn(*self.args, **self.kwargs)
  168. File "main.py", line 57, in msg
  169. message = "Сообщение от имени канала."+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
  170. TypeError: can only concatenate str (not "NoneType") to str
  171. Unclosed tags: <u> (x1)
  172. Unclosed tags: <u> (x1)
  173. Unclosed tags: <u> (x1)
  174. Unclosed tags: <i> (x1)
  175. Unclosed tags: <u> (x1)
  176. Unclosed tags: <u> (x1)
  177. Unclosed tags: <u> (x1)
  178. Unclosed tags: <u> (x1)
  179. Unclosed tags: <spoiler> (x1)
  180. Unclosed tags: <i> (x1)
  181. Unclosed tags: <i> (x1)
  182. Unclosed tags: <i> (x1)
  183. [5] Retrying "updates.GetChannelDifference" due to Telegram says: [500 PERSISTENT_TIMESTAMP_OUTDATED] - The persistent timestamp is outdated due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  184. Task exception was never retrieved
  185. future: <Task finished name='Task-6978608' coro=<Client.handle_updates() done, defined at /usr/local/lib/python3.8/dist-packages/pyrogram/client.py:487> exception=HistoryGetFailed('Telegram says: [500 HISTORY_GET_FAILED] - The chat history couldn\'t be retrieved due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")')>
  186. Traceback (most recent call last):
  187. File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 514, in handle_updates
  188. diff = await self.invoke(
  189. File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
  190. r = await self.session.invoke(
  191. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  192. return await self.invoke(query, retries - 1, timeout)
  193. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  194. return await self.invoke(query, retries - 1, timeout)
  195. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  196. return await self.invoke(query, retries - 1, timeout)
  197. [Previous line repeated 2 more times]
  198. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 374, in invoke
  199. raise e from None
  200. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
  201. return await self.send(query, timeout=timeout)
  202. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
  203. RPCError.raise_it(result, type(data))
  204. File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
  205. raise getattr(
  206. pyrogram.errors.exceptions.internal_server_error_500.HistoryGetFailed: Telegram says: [500 HISTORY_GET_FAILED] - The chat history couldn't be retrieved due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  207. Unclosed tags: <b> (x1)
  208. Unclosed tags: <i> (x1)
  209. Unclosed tags: <i> (x1)
  210. Unclosed tags: <i> (x1)
  211. Unclosed tags: <i> (x1)
  212. can only concatenate str (not "NoneType") to str
  213. Traceback (most recent call last):
  214. File "main.py", line 72, in msg
  215. message = "@"+msg.from_user.username+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
  216. TypeError: can only concatenate str (not "NoneType") to str
  217.  
  218. During handling of the above exception, another exception occurred:
  219.  
  220. Traceback (most recent call last):
  221. File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
  222. await self.loop.run_in_executor(
  223. File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  224. result = self.fn(*self.args, **self.kwargs)
  225. File "main.py", line 74, in msg
  226. message = "Сообщение от имени канала."+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
  227. TypeError: can only concatenate str (not "NoneType") to str
  228. Unclosed tags: <u> (x1)
  229. [5] Retrying "updates.GetChannelDifference" due to Telegram says: [500 PERSISTENT_TIMESTAMP_OUTDATED] - The persistent timestamp is outdated due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  230. Task exception was never retrieved
  231. future: <Task finished name='Task-890153' coro=<Client.handle_updates() done, defined at /usr/local/lib/python3.8/dist-packages/pyrogram/client.py:487> exception=HistoryGetFailed('Telegram says: [500 HISTORY_GET_FAILED] - The chat history couldn\'t be retrieved due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")')>
  232. Traceback (most recent call last):
  233. File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 514, in handle_updates
  234. diff = await self.invoke(
  235. File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
  236. r = await self.session.invoke(
  237. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  238. return await self.invoke(query, retries - 1, timeout)
  239. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  240. return await self.invoke(query, retries - 1, timeout)
  241. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  242. return await self.invoke(query, retries - 1, timeout)
  243. [Previous line repeated 2 more times]
  244. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 374, in invoke
  245. raise e from None
  246. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
  247. return await self.send(query, timeout=timeout)
  248. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
  249. RPCError.raise_it(result, type(data))
  250. File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
  251. raise getattr(
  252. pyrogram.errors.exceptions.internal_server_error_500.HistoryGetFailed: Telegram says: [500 HISTORY_GET_FAILED] - The chat history couldn't be retrieved due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  253. [5] Retrying "updates.GetChannelDifference" due to Telegram says: [500 HISTORY_GET_FAILED] - The chat history couldn't be retrieved due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  254. Task exception was never retrieved
  255. future: <Task finished name='Task-890391' coro=<Client.handle_updates() done, defined at /usr/local/lib/python3.8/dist-packages/pyrogram/client.py:487> exception=HistoryGetFailed('Telegram says: [500 HISTORY_GET_FAILED] - The chat history couldn\'t be retrieved due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")')>
  256. Traceback (most recent call last):
  257. File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 514, in handle_updates
  258. diff = await self.invoke(
  259. File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
  260. r = await self.session.invoke(
  261. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  262. return await self.invoke(query, retries - 1, timeout)
  263. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  264. return await self.invoke(query, retries - 1, timeout)
  265. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  266. return await self.invoke(query, retries - 1, timeout)
  267. [Previous line repeated 2 more times]
  268. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 374, in invoke
  269. raise e from None
  270. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
  271. return await self.send(query, timeout=timeout)
  272. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
  273. RPCError.raise_it(result, type(data))
  274. File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
  275. raise getattr(
  276. pyrogram.errors.exceptions.internal_server_error_500.HistoryGetFailed: Telegram says: [500 HISTORY_GET_FAILED] - The chat history couldn't be retrieved due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  277. [5] Retrying "updates.GetChannelDifference" due to Telegram says: [500 HISTORY_GET_FAILED] - The chat history couldn't be retrieved due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  278. Task exception was never retrieved
  279. future: <Task finished name='Task-891097' coro=<Client.handle_updates() done, defined at /usr/local/lib/python3.8/dist-packages/pyrogram/client.py:487> exception=HistoryGetFailed('Telegram says: [500 HISTORY_GET_FAILED] - The chat history couldn\'t be retrieved due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")')>
  280. Traceback (most recent call last):
  281. File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 514, in handle_updates
  282. diff = await self.invoke(
  283. File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
  284. r = await self.session.invoke(
  285. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  286. return await self.invoke(query, retries - 1, timeout)
  287. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  288. return await self.invoke(query, retries - 1, timeout)
  289. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  290. return await self.invoke(query, retries - 1, timeout)
  291. [Previous line repeated 2 more times]
  292. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 374, in invoke
  293. raise e from None
  294. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
  295. return await self.send(query, timeout=timeout)
  296. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
  297. RPCError.raise_it(result, type(data))
  298. File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
  299. raise getattr(
  300. pyrogram.errors.exceptions.internal_server_error_500.HistoryGetFailed: Telegram says: [500 HISTORY_GET_FAILED] - The chat history couldn't be retrieved due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  301. [5] Retrying "updates.GetChannelDifference" due to Telegram says: [500 PERSISTENT_TIMESTAMP_OUTDATED] - The persistent timestamp is outdated due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  302. Task exception was never retrieved
  303. future: <Task finished name='Task-891331' coro=<Client.handle_updates() done, defined at /usr/local/lib/python3.8/dist-packages/pyrogram/client.py:487> exception=HistoryGetFailed('Telegram says: [500 HISTORY_GET_FAILED] - The chat history couldn\'t be retrieved due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")')>
  304. Traceback (most recent call last):
  305. File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 514, in handle_updates
  306. diff = await self.invoke(
  307. File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
  308. r = await self.session.invoke(
  309. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  310. return await self.invoke(query, retries - 1, timeout)
  311. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  312. return await self.invoke(query, retries - 1, timeout)
  313. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  314. return await self.invoke(query, retries - 1, timeout)
  315. [Previous line repeated 2 more times]
  316. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 374, in invoke
  317. raise e from None
  318. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
  319. return await self.send(query, timeout=timeout)
  320. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
  321. RPCError.raise_it(result, type(data))
  322. File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
  323. raise getattr(
  324. pyrogram.errors.exceptions.internal_server_error_500.HistoryGetFailed: Telegram says: [500 HISTORY_GET_FAILED] - The chat history couldn't be retrieved due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  325. [5] Retrying "updates.GetChannelDifference" due to Telegram says: [500 PERSISTENT_TIMESTAMP_OUTDATED] - The persistent timestamp is outdated due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  326. [5] Retrying "updates.GetChannelDifference" due to Telegram says: [500 PERSISTENT_TIMESTAMP_OUTDATED] - The persistent timestamp is outdated due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  327. [5] Retrying "updates.GetChannelDifference" due to Telegram says: [500 PERSISTENT_TIMESTAMP_OUTDATED] - The persistent timestamp is outdated due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  328. [5] Retrying "updates.GetChannelDifference" due to Telegram says: [500 HISTORY_GET_FAILED] - The chat history couldn't be retrieved due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  329. Task exception was never retrieved
  330. future: <Task finished name='Task-891975' coro=<Client.handle_updates() done, defined at /usr/local/lib/python3.8/dist-packages/pyrogram/client.py:487> exception=PersistentTimestampOutdated('Telegram says: [500 PERSISTENT_TIMESTAMP_OUTDATED] - The persistent timestamp is outdated due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")')>
  331. Traceback (most recent call last):
  332. File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 514, in handle_updates
  333. diff = await self.invoke(
  334. File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
  335. r = await self.session.invoke(
  336. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  337. return await self.invoke(query, retries - 1, timeout)
  338. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  339. return await self.invoke(query, retries - 1, timeout)
  340. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  341. return await self.invoke(query, retries - 1, timeout)
  342. [Previous line repeated 2 more times]
  343. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 374, in invoke
  344. raise e from None
  345. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
  346. return await self.send(query, timeout=timeout)
  347. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
  348. RPCError.raise_it(result, type(data))
  349. File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
  350. raise getattr(
  351. pyrogram.errors.exceptions.internal_server_error_500.PersistentTimestampOutdated: Telegram says: [500 PERSISTENT_TIMESTAMP_OUTDATED] - The persistent timestamp is outdated due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  352. Task exception was never retrieved
  353. future: <Task finished name='Task-892091' coro=<Client.handle_updates() done, defined at /usr/local/lib/python3.8/dist-packages/pyrogram/client.py:487> exception=PersistentTimestampOutdated('Telegram says: [500 PERSISTENT_TIMESTAMP_OUTDATED] - The persistent timestamp is outdated due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")')>
  354. Traceback (most recent call last):
  355. File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 514, in handle_updates
  356. diff = await self.invoke(
  357. File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
  358. r = await self.session.invoke(
  359. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  360. return await self.invoke(query, retries - 1, timeout)
  361. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  362. return await self.invoke(query, retries - 1, timeout)
  363. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  364. return await self.invoke(query, retries - 1, timeout)
  365. [Previous line repeated 2 more times]
  366. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 374, in invoke
  367. raise e from None
  368. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
  369. return await self.send(query, timeout=timeout)
  370. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
  371. RPCError.raise_it(result, type(data))
  372. File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
  373. raise getattr(
  374. pyrogram.errors.exceptions.internal_server_error_500.PersistentTimestampOutdated: Telegram says: [500 PERSISTENT_TIMESTAMP_OUTDATED] - The persistent timestamp is outdated due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  375. [5] Retrying "updates.GetChannelDifference" due to Telegram says: [500 PERSISTENT_TIMESTAMP_OUTDATED] - The persistent timestamp is outdated due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  376. Task exception was never retrieved
  377. future: <Task finished name='Task-892464' coro=<Client.handle_updates() done, defined at /usr/local/lib/python3.8/dist-packages/pyrogram/client.py:487> exception=PersistentTimestampOutdated('Telegram says: [500 PERSISTENT_TIMESTAMP_OUTDATED] - The persistent timestamp is outdated due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")')>
  378. Traceback (most recent call last):
  379. File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 514, in handle_updates
  380. diff = await self.invoke(
  381. File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
  382. r = await self.session.invoke(
  383. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  384. return await self.invoke(query, retries - 1, timeout)
  385. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  386. return await self.invoke(query, retries - 1, timeout)
  387. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  388. return await self.invoke(query, retries - 1, timeout)
  389. [Previous line repeated 2 more times]
  390. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 374, in invoke
  391. raise e from None
  392. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
  393. return await self.send(query, timeout=timeout)
  394. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
  395. RPCError.raise_it(result, type(data))
  396. File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
  397. raise getattr(
  398. pyrogram.errors.exceptions.internal_server_error_500.PersistentTimestampOutdated: Telegram says: [500 PERSISTENT_TIMESTAMP_OUTDATED] - The persistent timestamp is outdated due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  399. [5] Retrying "updates.GetChannelDifference" due to Telegram says: [500 HISTORY_GET_FAILED] - The chat history couldn't be retrieved due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  400. Task exception was never retrieved
  401. future: <Task finished name='Task-892826' coro=<Client.handle_updates() done, defined at /usr/local/lib/python3.8/dist-packages/pyrogram/client.py:487> exception=PersistentTimestampOutdated('Telegram says: [500 PERSISTENT_TIMESTAMP_OUTDATED] - The persistent timestamp is outdated due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")')>
  402. Traceback (most recent call last):
  403. File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 514, in handle_updates
  404. diff = await self.invoke(
  405. File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
  406. r = await self.session.invoke(
  407. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  408. return await self.invoke(query, retries - 1, timeout)
  409. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  410. return await self.invoke(query, retries - 1, timeout)
  411. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  412. return await self.invoke(query, retries - 1, timeout)
  413. [Previous line repeated 2 more times]
  414. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 374, in invoke
  415. raise e from None
  416. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
  417. return await self.send(query, timeout=timeout)
  418. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
  419. RPCError.raise_it(result, type(data))
  420. File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
  421. raise getattr(
  422. pyrogram.errors.exceptions.internal_server_error_500.PersistentTimestampOutdated: Telegram says: [500 PERSISTENT_TIMESTAMP_OUTDATED] - The persistent timestamp is outdated due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  423. [5] Retrying "updates.GetChannelDifference" due to Telegram says: [500 PERSISTENT_TIMESTAMP_OUTDATED] - The persistent timestamp is outdated due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  424. Task exception was never retrieved
  425. future: <Task finished name='Task-984368' coro=<Client.handle_updates() done, defined at /usr/local/lib/python3.8/dist-packages/pyrogram/client.py:487> exception=PersistentTimestampOutdated('Telegram says: [500 PERSISTENT_TIMESTAMP_OUTDATED] - The persistent timestamp is outdated due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")')>
  426. Traceback (most recent call last):
  427. File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 514, in handle_updates
  428. diff = await self.invoke(
  429. File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
  430. r = await self.session.invoke(
  431. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  432. return await self.invoke(query, retries - 1, timeout)
  433. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  434. return await self.invoke(query, retries - 1, timeout)
  435. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
  436. return await self.invoke(query, retries - 1, timeout)
  437. [Previous line repeated 2 more times]
  438. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 374, in invoke
  439. raise e from None
  440. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
  441. return await self.send(query, timeout=timeout)
  442. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
  443. RPCError.raise_it(result, type(data))
  444. File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
  445. raise getattr(
  446. pyrogram.errors.exceptions.internal_server_error_500.PersistentTimestampOutdated: Telegram says: [500 PERSISTENT_TIMESTAMP_OUTDATED] - The persistent timestamp is outdated due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  447. [5] Retrying "updates.GetChannelDifference" due to Telegram says: [500 HISTORY_GET_FAILED] - The chat history couldn't be retrieved due to Telegram having internal problems. Please try again later (caused by "updates.GetChannelDifference")
  448. Telegram says: [400 PEER_ID_INVALID] - The peer id being used is invalid or not known yet. Make sure you meet the peer before interacting with it (caused by "messages.SendMessage")
  449. Traceback (most recent call last):
  450. File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
  451. await self.loop.run_in_executor(
  452. File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  453. result = self.fn(*self.args, **self.kwargs)
  454. File "main.py", line 75, in msg
  455. app.send_message(config.admin, message)
  456. File "/usr/local/lib/python3.8/dist-packages/pyrogram/sync.py", line 78, in async_to_sync_wrap
  457. return asyncio.run_coroutine_threadsafe(coroutine, main_loop).result()
  458. File "/usr/lib/python3.8/concurrent/futures/_base.py", line 444, in result
  459. return self.__get_result()
  460. File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
  461. raise self._exception
  462. File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/messages/send_message.py", line 124, in send_message
  463. r = await self.invoke(
  464. File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
  465. r = await self.session.invoke(
  466. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
  467. return await self.send(query, timeout=timeout)
  468. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
  469. RPCError.raise_it(result, type(data))
  470. File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
  471. raise getattr(
  472. pyrogram.errors.exceptions.bad_request_400.PeerIdInvalid: Telegram says: [400 PEER_ID_INVALID] - The peer id being used is invalid or not known yet. Make sure you meet the peer before interacting with it (caused by "messages.SendMessage")
  473. can only concatenate str (not "NoneType") to str
  474. Traceback (most recent call last):
  475. File "main.py", line 72, in msg
  476. message = "@"+msg.from_user.username+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
  477. TypeError: can only concatenate str (not "NoneType") to str
  478.  
  479. During handling of the above exception, another exception occurred:
  480.  
  481. Traceback (most recent call last):
  482. File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
  483. await self.loop.run_in_executor(
  484. File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  485. result = self.fn(*self.args, **self.kwargs)
  486. File "main.py", line 74, in msg
  487. message = "Сообщение от имени канала."+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
  488. TypeError: can only concatenate str (not "NoneType") to str
  489. can only concatenate str (not "NoneType") to str
  490. Traceback (most recent call last):
  491. File "main.py", line 72, in msg
  492. message = "@"+msg.from_user.username+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
  493. TypeError: can only concatenate str (not "NoneType") to str
  494.  
  495. During handling of the above exception, another exception occurred:
  496.  
  497. Traceback (most recent call last):
  498. File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
  499. await self.loop.run_in_executor(
  500. File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  501. result = self.fn(*self.args, **self.kwargs)
  502. File "main.py", line 74, in msg
  503. message = "Сообщение от имени канала."+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
  504. TypeError: can only concatenate str (not "NoneType") to str
  505. Telegram says: [400 PEER_ID_INVALID] - The peer id being used is invalid or not known yet. Make sure you meet the peer before interacting with it (caused by "messages.SendMessage")
  506. Traceback (most recent call last):
  507. File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
  508. await self.loop.run_in_executor(
  509. File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  510. result = self.fn(*self.args, **self.kwargs)
  511. File "main.py", line 75, in msg
  512. app.send_message(config.admin, message)
  513. File "/usr/local/lib/python3.8/dist-packages/pyrogram/sync.py", line 78, in async_to_sync_wrap
  514. return asyncio.run_coroutine_threadsafe(coroutine, main_loop).result()
  515. File "/usr/lib/python3.8/concurrent/futures/_base.py", line 444, in result
  516. return self.__get_result()
  517. File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
  518. raise self._exception
  519. File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/messages/send_message.py", line 124, in send_message
  520. r = await self.invoke(
  521. File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
  522. r = await self.session.invoke(
  523. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
  524. return await self.send(query, timeout=timeout)
  525. File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
  526. RPCError.raise_it(result, type(data))
  527. File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
  528. raise getattr(
  529. pyrogram.errors.exceptions.bad_request_400.PeerIdInvalid: Telegram says: [400 PEER_ID_INVALID] - The peer id being used is invalid or not known yet. Make sure you meet the peer before interacting with it (caused by "messages.SendMessage")
  530.  
Advertisement
Add Comment
Please, Sign In to add comment