Похожие чаты

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

32 просмотра

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

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

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

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

а зачем этот вопрос для удаления из чата?
Mёdkinson Medvezhkin
63
using next image component with s3 image: "url" parameter is valid but upstream response is invalid code: <Image fill src={s...
Fasil
3
Эх кто-то пришел и весь праздник испортил :( You need complex FBX scene importing setup to change things on import? good luck with that. You need navigation and pathfinding? g...
Serg Gini
5
Friends, how can I find my Wazirx wallet address?
Silm Silm
31
Всем привет! Подскажите. Я написал приложение на Delphi 10.2 Tokyo под Windows 10. И передо мной стал вопрос о том чтобы сделать это приложение кроссплатформенным (под Linux и...
Дмитрий Завгородний
24
Какого хера? /Sources/App/Modules/User/Models/UserLinkApple.swift:21:20: warning: stored property '_id' of 'Sendable'-conforming class 'UserLinkApple' is mutable @ID(...
Alexander Sherbakov
14
My 7 year old daughter recognizes the Bitcoin symbol and knows it's currency. What are the top ,3-5 most basic important concepts to convey to a kid about BCH? I started with ...
Big Hair
24
How the price of ANVL is decided? The buying pressure comes just from staking which is very slow, while the selling pressure might be huge. What are the benefits for those who...
MJ Javvaji @muralijavvaji
13
How many Cashfusion server now?
Crypto life
22
Кто знает локации, где можно машину красиво отфоткать?
Lalalashechki Lalala
23
Карта сайта