Похожие чаты

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 ответов

72 просмотра

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

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

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

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

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта