Похожие чаты

Hi. how i can fix this error? Fatal error handling updates

(this is a bug in Telethon v1.28.5, please report it)Traceback (most recent call last):
File "C:\Users\mwcreator\AppData\Local\Programs\Python\Python311\Lib\site-packages\telethon\client\updates.py", line 307, in _update_loop diff = await self(get_diff)
^^^^^^^^^^^^^^^^^^^^ File "C:\Users\mwcreator\AppData\Local\Programs\Python\Python311\Lib\site-packages\telethon\client\users.py", line 30, in call
return await self._call(self._sender, request, ordered=ordered) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mwcreator\AppData\Local\Programs\Python\Python311\Lib\site-packages\telethon\client\users.py", line 83, in _call result = await future
^^^^^^^^^^^^ File "C:\Users\mwcreator\AppData\Local\Programs\Python\Python311\Lib\site-packages\telethon\network\mtprotosender.py", line 637, in _handle_rpc_result
result = state.request.read_result(reader) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mwcreator\AppData\Local\Programs\Python\Python311\Lib\site-packages\telethon\tl\tlobject.py", line 219, in read_result return reader.tgread_object()
^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\mwcreator\AppData\Local\Programs\Python\Python311\Lib\site-packages\telethon\extensions\binaryreader.py", line 142, in tgread_object
return clazz.from_reader(self) ^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mwcreator\AppData\Local\Programs\Python\Python311\Lib\site-packages\telethon\tl\types\updates.py", line 265, in from_reader _x = reader.tgread_object()
^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\mwcreator\AppData\Local\Programs\Python\Python311\Lib\site-packages\telethon\extensions\binaryreader.py", line 140, in tgread_object
raise errortelethon.errors.common.TypeNotFoundError: Could not find a matching Constructor ID for the TLObject that was supposed to be read with ID abb5f120.

26 ответов

69 просмотров

Upgrade to 1.29+ or delete the session file and log back in

сажéнец- Автор вопроса
⎞ .·. ⎝ ⎝
Upgrade to 1.29+ or delete the session file and lo...

can I somehow make the session leave the script? I have a multithread of sessions. I put try: ... except telethon.errors.common.TypeNotFoundError: return and still such an error occurs

сажéнец- Автор вопроса

You don't have the latest.

> Telethon v1.28.5

⎞ .·. ⎝ ⎝
https://t.me/TelethonChat/559707

Does errors.TimeoutError changed to TimeOutError in latest version?

Your error clearly indicates you were not using the latest version, you have python environment conflict, upgrade the one running your code

⎞ .·. ⎝ ⎝
They're not related to each other

aww thanks i got misunderstood another q, is auto_reconnect True by default?

сажéнец- Автор вопроса
⎞ .·. ⎝ ⎝
Your error clearly indicates you were not using th...

the script is the same for all sessions. only empty sessions work without this error. how do I upgrade to the latest version of the teleton and how do I fix the code if it works like that?

сажéнец
the script is the same for all sessions. only empt...

you upgrade the version of the one running your script, it's simple, and not a telethon issue. it's server one induced by downgrading version while using same session after using it in upgraded one

сажéнец- Автор вопроса
⎞ .·. ⎝ ⎝
you upgrade the version of the one running your sc...

are you saying that the sessions I ran on the old version of the teleton cause such errors when I run those sessions with the new version of the teleton?

сажéнец
are you saying that the sessions I ran on the old ...

yes, but the other way around, you're using new session with old library

сажéнец- Автор вопроса
⎞ .·. ⎝ ⎝
yes, but the other way around, you're using new se...

As a result, what do I need to do? rewrite the code? Find old sessions? get out of old go into new ones? what exactly?

сажéнец- Автор вопроса
⎞ .·. ⎝ ⎝
https://t.me/TelethonChat/559724

I don't understand, sorry. you summarize and I need a specific action what do I do, because I am at a dead end

сажéнец
I don't understand, sorry. you summarize and I nee...

You have a python issue and your script that errored is using 1.28, upgrade your telethon to layer 160 properly. which is version 1.29+

сажéнец- Автор вопроса
⎞ .·. ⎝ ⎝
You have a python issue and your script that error...

how can I do that? sorry again if I ask already very stupid questions

Run your script the same way it errored at. and import sys; print the sys.executable to see the python path running it, call that binary with passing it -m pip install -U telethon

сажéнец- Автор вопроса

Похожие вопросы

Обсуждают сегодня

30500 за редактор? )
Владимир
47
any reference of this implementation?
BitBuddha
29
Ⓐrtto, [4/23/24 7:02 PM] Please explain more fully how it is not working exactly, and what are the steps you are taking, and what error messages come or what happens. Ⓐrtto, ...
Ezza Kezza
2
sounds like people have lost their kaspa on tradeogre... does this mean tradeogre not trustworthy?
Ezza Kezza
15
Страшнейшая правда про списки ЦБ. С первых дней жизни P2P сферы, молодые человеки, начитавшись законодательной базы и "внутренних" документов, решили, что им противостоит сер...
Foxcool
3
Недавно Google Project Zero нашёл багу в SQLite с помощью LLM, о чём достаточно было шумно в определённых интернетах, которые сопровождались рассказами, что скоро всех "ибешни...
Alex Sherbakov
5
So much speculation in the last week. So much volatility in price. This is because Hedera has a GC that isn't using the network it's governing. Why aren't people asking why a...
Summit Seeker R
8
Anyone else having this error when trying to make transactions?
Datzel
11
Question: How viable is it to use Anvil as the backend infrastructure for managing a TradFi portfolio, while integrating Flexa for instant liquidity and payment solutions? Cou...
Kevin
2
вы делали что-то подобное и как? может есть либы готовые? увидел картинку нокода, где всё линиями соединено и стало интересно попробовать то же в ddl на lua сделать. решил с ч...
Victor
8
Карта сайта