Levman5
@Levman5
print(“Hello World!”)

Как исправить EOF Error в docker-compose?

При выполнении docker-compose up получаю эту ошибку:
my_user_bot | Welcome to Pyrogram (version 2.0.70)
my_user_bot | Pyrogram is free software and comes with ABSOLUTELY NO WARRANTY. Licensed
my_user_bot | under the terms of the GNU Lesser General Public License v3.0 (LGPL-3.0).
my_user_bot | 
my_user_bot | Enter phone number or bot token: Traceback (most recent call last):
my_user_bot |   File "/app/main.py", line 80, in <module>
my_user_bot |     app.run()
my_user_bot |   File "/usr/local/lib/python3.9/site-packages/pyrogram/methods/utilities/run.py", line 84, in run
my_user_bot |     self.start()
my_user_bot |   File "/usr/local/lib/python3.9/site-packages/pyrogram/sync.py", line 66, in async_to_sync_wrap
my_user_bot |     return loop.run_until_complete(coroutine)
my_user_bot |   File "/usr/local/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
my_user_bot |     return future.result()
my_user_bot |   File "/usr/local/lib/python3.9/site-packages/pyrogram/methods/utilities/start.py", line 62, in start
my_user_bot |     await self.authorize()
my_user_bot |   File "/usr/local/lib/python3.9/site-packages/pyrogram/client.py", line 308, in authorize
my_user_bot |     value = await ainput("Enter phone number or bot token: ")
my_user_bot |   File "/usr/local/lib/python3.9/site-packages/pyrogram/utils.py", line 40, in ainput
my_user_bot |     return await asyncio.get_event_loop().run_in_executor(executor, func)
my_user_bot |   File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
my_user_bot |     result = self.fn(*self.args, **self.kwargs)
my_user_bot | EOFError: EOF when reading a line
my_user_bot exited with code 1


Как это исправить, если мне нужно ввести текст?
  • Вопрос задан
  • 470 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы
28 нояб. 2024, в 13:31
30000 руб./за проект
28 нояб. 2024, в 13:22
1000 руб./за проект
28 нояб. 2024, в 13:00
70000 руб./за проект