Closed Leif-W closed 3 weeks ago
Redirecting to filelock dependency.
Actually, regardless of the filelock dependency, this problem exists, and should be addressed. Test if the system can create a file lock, catch the exception, if exception, try a soft file lock, if soft file lock fails, just don't lock. This should not be causing an error. If the filelock lib fixes this, update dependency requirement and remove code.
Possibly fixed in v2.12.1, can you see if it works on your system?
Works for me now. Much appreciated workaround. Can leave open for a bit if anyone else wants to verify.
TL;DR filelock dependency issue?
Same issue as listed on yt-dlp.
Android/Termux doesn't have flock. Fallback to lockf. Possibly fallback to no lock.