Показать сообщение отдельно

  #24  
Старый 20.05.2022, 12:15
chapo
Флудер
Регистрация: 10.10.2016
Сообщений: 9,228
С нами: 5046982

Репутация: 183


По умолчанию

Цитата:
Сообщение от #R3dD1  

Че ему не нравится? Запускался же

Terminal:





Код:
Traceback
(
most recent call last
)
:
File
"C:\Users\user\PycharmProjects\pythonProject2\main.py"
,
line
101
,
in

asyncio
.
run
(
main
(
)
)
File
"C:\Users\user\AppData\Local\Programs\Python\Python310\lib\asyncio\runners.py"
,
line
44
,
in
run
return
loop
.
run_until_complete
(
main
)
File
"C:\Users\user\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py"
,
line
646
,
in
run_until_complete
return
future
.
result
(
)
File
"C:\Users\user\PycharmProjects\pythonProject2\main.py"
,
line
47
,
in
main
async
with
TelegramClient
(
'name'
,
API_ID
,
API_HASH
)
as
client
:
File
"C:\Users\user\PycharmProjects\pythonProject2\venv\lib\site-packages\telethon\client\auth.py"
,
line
713
,
in
__aenter__
return
await
self
.
start
(
)
File
"C:\Users\user\PycharmProjects\pythonProject2\venv\lib\site-packages\telethon\client\auth.py"
,
line
182
,
in
_start
await
self
.
sign_in
(
bot_token
=
bot_token
)
File
"C:\Users\user\PycharmProjects\pythonProject2\venv\lib\site-packages\telethon\client\auth.py"
,
line
368
,
in
sign_in
    result
=
await
self
(
request
)
File
"C:\Users\user\PycharmProjects\pythonProject2\venv\lib\site-packages\telethon\client\users.py"
,
line
30
,
in
__call__
return
await
self
.
_call
(
self
.
_sender
,
request
,
ordered
=
ordered
)
File
"C:\Users\user\PycharmProjects\pythonProject2\venv\lib\site-packages\telethon\client\users.py"
,
line
84
,
in
_call
    result
=
await
future
telethon
.
errors
.
rpcerrorlist
.
ApiIdPublishedFloodError
:
This API
id
was published somewhere
,
you can't use it now
(
caused by ImportBotAuthorizationRequest
)
Exception ignored
in
:

Traceback
(
most recent call last
)
:
File
"C:\Users\user\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py"
,
line
116
,
in
__del__
  File
"C:\Users\user\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py"
,
line
108
,
in
close
  File
"C:\Users\user\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py"
,
line
750
,
in
call_soon
  File
"C:\Users\user\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py"
,
line
515
,
in
_check_closed
RuntimeError
:
Event loop
is
closed

This API id was published somewhere, you can't use it now
 
Ответить с цитированием