aiogram / aiogram/telegram-bot-api
Couldnt download file from server
- Ngôn ngữ chính
- Shell
- Star
- 301
- Fork
- 84
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hi!
I have a problem.
Deploying docker with the command:
docker run -d -p 8081:8081 --name=telegram-bot-api --restart=always -v telegram-bot-api-data:/var/lib/telegram-bot-api -e TELEGRAM_API_ID=XXXXXXX -e TELEGRAM_API_HASH=XXXXXXXXXXX -e TELEGRAM_LOCAL=True aiogram/telegram-bot-api:latest
I start the bot, I start transferring a large file to the bot.
When the bot.get_file(file_id) command is called, the file data is returned.
file_info:
file_id='BAACAgIAAxkBAAPKaCMKpB0eK6F5lMBDo0k9UuLaStEAAiNfAAKVBelI-s7ISjg6lVQ2BA' fille_unique_id='AgADI18AApUF6Ug' file_size=97548419 file_path='/var/lib/telegram-bot-api/7843XXXXXXXXXXXXXXXcc/videos/file_0.mp4'
And here is the bot.download_file call(.....) error is returned:
ERROR:__main__:Common Error: [Errno 2] No such file or directory: '/var/lib/telegram-bot-api/7843xxxxxxxxxxxxxxcc/videos/file_0.mp4'
the file itself is in docker.
I tried to change the paths - nothing helps.
What could be the problem?
Running on Mac OS
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.