Closed Kosinkadink closed 1 year ago
Sorry for wasting your time if you started to look into this, issue was due to something entirely unrelated to image-ffmpeg, with other code messing with the sys.path and inserting an obj from Path instead of string, which caused the error on linux systems.
No problem, thanks nonetheless!
Hey, there appears to be a bug on Ubuntu (and potentially other linux systems), where importing
get_ffmpeg_exe
results inAttributeError: 'PosixPath' object has no attribute 'startswith'
. Additional info: the code was being executed on remote VMs like runpod, but running Ubuntu.I am reporting this one the behalf of some other peeps who ran into this issue. Here is the full stack trace to help narrow down the problem. My intuition says something just needs to be cast to string, because on linux/Ubuntu, something returns a PosixPath.