Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- File "/root/telegram/main.py", line 39
- 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
- /root/telegram/main.py: 6: Syntax error: "(" unexpected (expecting "do")
- File "/root/telegram/main.py", line 39
- 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
- File "/root/telegram/main.py", line 39
- 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
- File "/root/telegram/main.py", line 39
- 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
- can only concatenate str (not "NoneType") to str
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
- await self.loop.run_in_executor(
- File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "main.py", line 43, in msg
- print("https://t.me/"+msg.chat.username+"/"+str(msg.id))
- TypeError: can only concatenate str (not "NoneType") to str
- can only concatenate str (not "NoneType") to str
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
- await self.loop.run_in_executor(
- File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "main.py", line 43, in msg
- print("https://t.me/"+msg.chat.username+"/"+str(msg.id))
- TypeError: can only concatenate str (not "NoneType") to str
- can only concatenate str (not "NoneType") to str
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
- await self.loop.run_in_executor(
- File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "main.py", line 43, in msg
- print("https://t.me/"+msg.chat.username+"/"+str(msg.id))
- TypeError: can only concatenate str (not "NoneType") to str
- can only concatenate str (not "NoneType") to str
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
- await self.loop.run_in_executor(
- File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "main.py", line 43, in msg
- print("https://t.me/"+msg.chat.username+"/"+str(msg.id))
- TypeError: can only concatenate str (not "NoneType") to str
- can only concatenate str (not "NoneType") to str
- Traceback (most recent call last):
- File "main.py", line 55, in msg
- 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
- TypeError: can only concatenate str (not "NoneType") to str
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
- await self.loop.run_in_executor(
- File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "main.py", line 57, in msg
- message = "Сообщение от имени канала."+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
- TypeError: can only concatenate str (not "NoneType") to str
- can only concatenate str (not "NoneType") to str
- Traceback (most recent call last):
- File "main.py", line 55, in msg
- 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
- TypeError: can only concatenate str (not "NoneType") to str
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
- await self.loop.run_in_executor(
- File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "main.py", line 57, in msg
- message = "Сообщение от имени канала."+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
- TypeError: can only concatenate str (not "NoneType") to str
- can only concatenate str (not "NoneType") to str
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
- await self.loop.run_in_executor(
- File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "main.py", line 43, in msg
- print("https://t.me/"+msg.chat.username+"/"+str(msg.id))
- TypeError: can only concatenate str (not "NoneType") to str
- can only concatenate str (not "NoneType") to str
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
- await self.loop.run_in_executor(
- File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "main.py", line 43, in msg
- print("https://t.me/"+msg.chat.username+"/"+str(msg.id))
- TypeError: can only concatenate str (not "NoneType") to str
- can only concatenate str (not "NoneType") to str
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
- await self.loop.run_in_executor(
- File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "main.py", line 43, in msg
- print("https://t.me/"+msg.chat.username+"/"+str(msg.id))
- TypeError: can only concatenate str (not "NoneType") to str
- can only concatenate str (not "NoneType") to str
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
- await self.loop.run_in_executor(
- File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "main.py", line 43, in msg
- print("https://t.me/"+msg.chat.username+"/"+str(msg.id))
- TypeError: can only concatenate str (not "NoneType") to str
- can only concatenate str (not "NoneType") to str
- Traceback (most recent call last):
- File "main.py", line 55, in msg
- 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
- TypeError: can only concatenate str (not "NoneType") to str
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
- await self.loop.run_in_executor(
- File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "main.py", line 57, in msg
- message = "Сообщение от имени канала."+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
- TypeError: can only concatenate str (not "NoneType") to str
- can only concatenate str (not "NoneType") to str
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
- await self.loop.run_in_executor(
- File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "main.py", line 43, in msg
- print("https://t.me/"+msg.chat.username+"/"+str(msg.id))
- TypeError: can only concatenate str (not "NoneType") to str
- can only concatenate str (not "NoneType") to str
- Traceback (most recent call last):
- File "main.py", line 55, in msg
- 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
- TypeError: can only concatenate str (not "NoneType") to str
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
- await self.loop.run_in_executor(
- File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "main.py", line 57, in msg
- message = "Сообщение от имени канала."+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
- TypeError: can only concatenate str (not "NoneType") to str
- can only concatenate str (not "NoneType") to str
- Traceback (most recent call last):
- File "main.py", line 55, in msg
- 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
- TypeError: can only concatenate str (not "NoneType") to str
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
- await self.loop.run_in_executor(
- File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "main.py", line 57, in msg
- message = "Сообщение от имени канала."+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
- TypeError: can only concatenate str (not "NoneType") to str
- Unclosed tags: <u> (x1)
- Unclosed tags: <u> (x1)
- Unclosed tags: <u> (x1)
- Unclosed tags: <i> (x1)
- Unclosed tags: <u> (x1)
- Unclosed tags: <u> (x1)
- Unclosed tags: <u> (x1)
- Unclosed tags: <u> (x1)
- Unclosed tags: <spoiler> (x1)
- Unclosed tags: <i> (x1)
- Unclosed tags: <i> (x1)
- Unclosed tags: <i> (x1)
- [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")
- Task exception was never retrieved
- 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")')>
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 514, in handle_updates
- diff = await self.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
- r = await self.session.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- [Previous line repeated 2 more times]
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 374, in invoke
- raise e from None
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
- return await self.send(query, timeout=timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
- RPCError.raise_it(result, type(data))
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
- raise getattr(
- 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")
- Unclosed tags: <b> (x1)
- Unclosed tags: <i> (x1)
- Unclosed tags: <i> (x1)
- Unclosed tags: <i> (x1)
- Unclosed tags: <i> (x1)
- can only concatenate str (not "NoneType") to str
- Traceback (most recent call last):
- File "main.py", line 72, in msg
- 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
- TypeError: can only concatenate str (not "NoneType") to str
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
- await self.loop.run_in_executor(
- File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "main.py", line 74, in msg
- message = "Сообщение от имени канала."+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
- TypeError: can only concatenate str (not "NoneType") to str
- Unclosed tags: <u> (x1)
- [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")
- Task exception was never retrieved
- 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")')>
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 514, in handle_updates
- diff = await self.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
- r = await self.session.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- [Previous line repeated 2 more times]
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 374, in invoke
- raise e from None
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
- return await self.send(query, timeout=timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
- RPCError.raise_it(result, type(data))
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
- raise getattr(
- 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")
- [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")
- Task exception was never retrieved
- 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")')>
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 514, in handle_updates
- diff = await self.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
- r = await self.session.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- [Previous line repeated 2 more times]
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 374, in invoke
- raise e from None
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
- return await self.send(query, timeout=timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
- RPCError.raise_it(result, type(data))
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
- raise getattr(
- 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")
- [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")
- Task exception was never retrieved
- 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")')>
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 514, in handle_updates
- diff = await self.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
- r = await self.session.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- [Previous line repeated 2 more times]
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 374, in invoke
- raise e from None
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
- return await self.send(query, timeout=timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
- RPCError.raise_it(result, type(data))
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
- raise getattr(
- 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")
- [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")
- Task exception was never retrieved
- 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")')>
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 514, in handle_updates
- diff = await self.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
- r = await self.session.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- [Previous line repeated 2 more times]
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 374, in invoke
- raise e from None
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
- return await self.send(query, timeout=timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
- RPCError.raise_it(result, type(data))
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
- raise getattr(
- 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")
- [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")
- [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")
- [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")
- [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")
- Task exception was never retrieved
- 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")')>
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 514, in handle_updates
- diff = await self.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
- r = await self.session.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- [Previous line repeated 2 more times]
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 374, in invoke
- raise e from None
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
- return await self.send(query, timeout=timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
- RPCError.raise_it(result, type(data))
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
- raise getattr(
- 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")
- Task exception was never retrieved
- 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")')>
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 514, in handle_updates
- diff = await self.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
- r = await self.session.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- [Previous line repeated 2 more times]
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 374, in invoke
- raise e from None
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
- return await self.send(query, timeout=timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
- RPCError.raise_it(result, type(data))
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
- raise getattr(
- 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")
- [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")
- Task exception was never retrieved
- 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")')>
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 514, in handle_updates
- diff = await self.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
- r = await self.session.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- [Previous line repeated 2 more times]
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 374, in invoke
- raise e from None
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
- return await self.send(query, timeout=timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
- RPCError.raise_it(result, type(data))
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
- raise getattr(
- 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")
- [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")
- Task exception was never retrieved
- 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")')>
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 514, in handle_updates
- diff = await self.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
- r = await self.session.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- [Previous line repeated 2 more times]
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 374, in invoke
- raise e from None
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
- return await self.send(query, timeout=timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
- RPCError.raise_it(result, type(data))
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
- raise getattr(
- 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")
- [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")
- Task exception was never retrieved
- 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")')>
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/client.py", line 514, in handle_updates
- diff = await self.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
- r = await self.session.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 381, in invoke
- return await self.invoke(query, retries - 1, timeout)
- [Previous line repeated 2 more times]
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 374, in invoke
- raise e from None
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
- return await self.send(query, timeout=timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
- RPCError.raise_it(result, type(data))
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
- raise getattr(
- 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")
- [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")
- 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")
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
- await self.loop.run_in_executor(
- File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "main.py", line 75, in msg
- app.send_message(config.admin, message)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/sync.py", line 78, in async_to_sync_wrap
- return asyncio.run_coroutine_threadsafe(coroutine, main_loop).result()
- File "/usr/lib/python3.8/concurrent/futures/_base.py", line 444, in result
- return self.__get_result()
- File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
- raise self._exception
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/messages/send_message.py", line 124, in send_message
- r = await self.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
- r = await self.session.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
- return await self.send(query, timeout=timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
- RPCError.raise_it(result, type(data))
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
- raise getattr(
- 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")
- can only concatenate str (not "NoneType") to str
- Traceback (most recent call last):
- File "main.py", line 72, in msg
- 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
- TypeError: can only concatenate str (not "NoneType") to str
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
- await self.loop.run_in_executor(
- File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "main.py", line 74, in msg
- message = "Сообщение от имени канала."+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
- TypeError: can only concatenate str (not "NoneType") to str
- can only concatenate str (not "NoneType") to str
- Traceback (most recent call last):
- File "main.py", line 72, in msg
- 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
- TypeError: can only concatenate str (not "NoneType") to str
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
- await self.loop.run_in_executor(
- File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "main.py", line 74, in msg
- message = "Сообщение от имени канала."+"\nИз чата: "+"["+msg.chat.title+"] "+"@"+msg.chat.username+"\nСсылка на сообщение:\n"+"https://t.me/"+msg.chat.username+"/"+str(msg.id)+"\nПишет:\n"+msg.text
- TypeError: can only concatenate str (not "NoneType") to str
- 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")
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/dispatcher.py", line 242, in handler_worker
- await self.loop.run_in_executor(
- File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "main.py", line 75, in msg
- app.send_message(config.admin, message)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/sync.py", line 78, in async_to_sync_wrap
- return asyncio.run_coroutine_threadsafe(coroutine, main_loop).result()
- File "/usr/lib/python3.8/concurrent/futures/_base.py", line 444, in result
- return self.__get_result()
- File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
- raise self._exception
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/messages/send_message.py", line 124, in send_message
- r = await self.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/advanced/invoke.py", line 77, in invoke
- r = await self.session.invoke(
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 361, in invoke
- return await self.send(query, timeout=timeout)
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/session/session.py", line 331, in send
- RPCError.raise_it(result, type(data))
- File "/usr/local/lib/python3.8/dist-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
- raise getattr(
- 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")
Advertisement
Add Comment
Please, Sign In to add comment