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.
"ERROR: unable to rename file" in a Dropbox folder #18078
Comments
|
Blame Dropbox for that. What you can do is not to write in Dropbox folder or use |
If the current directory is a Dropbox synced folder, and the title contains unicode characters, the download will fail with "ERROR: unable to rename file: [Errno 2] No such file or directory"
After running the youtube-dl command a second time, a filename containing "Unicode Encoding Conflict" appears in the Dropbox folder, which might give a hint on what's causing the issue:
Possible way to fix this issue is to create the temporary files inside the tmp folder instead of the current directory.
Another workaround is to use
--restrict-filenamesMight also be some bug with Dropbox
System information: