viperadnan-git / video-encoder-bot

A Telegram bot to encode videos files via ffmpeg.
GNU General Public License v3.0
103 stars 262 forks source link

No such file or directory #4

Open HarukiOwO opened 3 years ago

HarukiOwO commented 3 years ago

[Errno 2] No such file or directory : 'ffprobe'

expected str, bytes or os.PathLike object, not NoneType

MrJayGatsby commented 3 years ago

Add https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git in buildpacks

zYxDevs commented 2 years ago

Add https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git in buildpacks

how if deploy on local ?

cesar-estrada commented 2 years ago

For deploy on local i install ffmpeg

cesar-estrada commented 2 years ago

Add https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git in buildpacks

Thanksssssss. I made it !!

zYxDevs commented 2 years ago

Add https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git in buildpacks

Thanksssssss. I made it !!

Please help me. I added buildpack in heroku, but it's saying "Your new buildpack configuration will be used when this app is next deployed.". What should i do?

redeploy your apps

zYxDevs commented 2 years ago

redeploy your apps

new shit happened

2022-08-04T19:41:12.905605+00:00 app[worker.1]: mod_name, mod_spec, code = _get_module_details(mod_name, _Error) 2022-08-04T19:41:12.905605+00:00 app[worker.1]: File "/usr/lib/python3.8/runpy.py", line 144, in _get_module_details 2022-08-04T19:41:12.905606+00:00 app[worker.1]: return _get_module_details(pkg_main_name, error) 2022-08-04T19:41:12.905606+00:00 app[worker.1]: File "/usr/lib/python3.8/runpy.py", line 111, in _get_module_details 2022-08-04T19:41:12.905606+00:00 app[worker.1]: import(pkg_name) 2022-08-04T19:41:12.905607+00:00 app[worker.1]: File "/app/bot/init.py", line 2, in 2022-08-04T19:41:12.905607+00:00 app[worker.1]: from pyrogram import Client 2022-08-04T19:41:12.905607+00:00 app[worker.1]: ModuleNotFoundError: No module named 'pyrogram' 2022-08-04T19:41:13.033857+00:00 heroku[worker.1]: Process exited with status 1 2022-08-04T19:41:13.102081+00:00 heroku[worker.1]: State changed from up to crashed

did u edit requirements.txt ? if no pyrogram on requirements.txt add it