Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Youtube-DL python package overriding OS file unlock method #21545
Comments
|
I can confirm this happens only on windows systems |
|
any solution for this? still happening in windows 10 with django 3 |
|
Yeah, having this issue as well... |
Checklist
Verbose log
As this is not an issue with youtube-dl's functionality itself, but rather it's interaction with another package, there is no log to be provided.
The following error is thrown when trying to store a file using the Django Framework while the youtube_dl package is installed:
Description
When trying to store a file using the FileSystemStorage.save() method in the Django Framework, the afromentioned exceptions is thrown upon unlocking the newly stored file using the OS unlock function in locks.py.
Removing the youtube_dl package does immediately resolve this issue. Sadly, youtube-dl is necessary for this project due to a lack of working cross-platform alternatives.
This issue has been recreated with a Windows 10 and a Windows 7 machine using different VENVs.
I do believe this is a bug and have cross-posted a ticket with the Django Project (https://code.djangoproject.com/ticket/30603)