New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nonblocking file unlock for virtiofs #6823
Comments
What does it even mean to unlock "non-blocking"? According to the docs |
It indeed does not make much sense, It is probably an oversight in the code of I think adding the flag only when an |
Will you be opening a PR? |
After more research I found that the flag |
Authored by: brandon-dacrib Closes #6823
Authored by: brandon-dacrib Closes yt-dlp#6823
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Provide a description that is worded well enough to be understood
Using some filesystems such as virtiofs, trying a to download a video will result in a error due to blocking locks not being supported in this filesystem. The lock part already has the non-blocking flag so there is no issue, only the unlocking part don't have the flag and is blocking.
Adding the flag
LOCK_NB
to the function_unlock_file(f)
inutils.py
fixes it but I don't know the implications it could have using other filesystems so I'm not sure if a pull request should be done for it.Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: