Skip to content
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

Unable to rename after download #20933

Closed
MAWSpitau opened this issue May 2, 2019 · 2 comments
Closed

Unable to rename after download #20933

MAWSpitau opened this issue May 2, 2019 · 2 comments

Comments

@MAWSpitau
Copy link

@MAWSpitau MAWSpitau commented May 2, 2019

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2019.04.30
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

youtube-dl --verbose "https://www.youtube.com/watch?v=o5TZZj3D0MA"                                                     ~/Dropbox/4_video/birkenbihl
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.youtube.com/watch?v=o5TZZj3D0MA']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.30
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.15.0-48-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.4, ffprobe 3.4.4
[debug] Proxy map: {}
[youtube] o5TZZj3D0MA: Downloading webpage
[youtube] o5TZZj3D0MA: Downloading video info webpage
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'https://r3---sn-fuoxu-i5hl.googlevideo.com/videoplayback?id=o-AEaZ8LY3zq_vgqqm7bHwt16SUAXzp5Rggv61dbKKgf5K&aitags=133%2C134%2C160%2C242%2C243%2C278&itag=243&source=youtube&requiressl=yes&mm=31%2C29&mn=sn-fuoxu-i5hl%2Csn-i5h7lner&ms=au%2Crdu&mv=m&pl=36&ei=cKLKXPOIG5eegQelk7fQAg&initcwndbps=1776250&mime=video%2Fwebm&gir=yes&clen=2331898&dur=65.680&lmt=1545082974021993&mt=1556783655&fvip=4&keepalive=yes&c=WEB&txp=5432432&ip=2a02%3A2028%3A806%3A8401%3Ac0c5%3A5bc5%3Ab033%3Ac66c&ipbits=0&expire=1556805328&sparams=ip%2Cipbits%2Cexpire%2Cid%2Caitags%2Csource%2Crequiressl%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cei%2Cinitcwndbps%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&signature=2174EE51ACEA2D3F2CF490038E21A7BCA00DCB91.376AB1F1F22836CB70D35C758472216A4134A734&key=yt8&ratebypass=yes'
[download] Destination: ABC Listen Erklärung von Vera F. Birkenbihl.mov-o5TZZj3D0MA.f243.webm
[download] 100.0% of 2.22MiB at  2.31MiB/s ETA 00:00ERROR: unable to rename file: [Errno 2] No such file or directory
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 200, in try_rename
    os.rename(encodeFilename(old_filename), encodeFilename(new_filename))
OSError: [Errno 2] No such file or directory

Description

  • The download starts as normal.
  • At the end the script wants to rename the file, but that will not work.
  • The *part-File is without sound.
  • It happens with THAT file in the tried to Download in DEBUG-Section!
  • This video works pretty well... https://www.youtube.com/watch?v=st4uh90MX3Q
@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 2, 2019

Most likely your file system does not properly handle non-ASCII. Fix it or use --restrict-filenames.

@dstftw dstftw closed this May 2, 2019
@MAWSpitau
Copy link
Author

@MAWSpitau MAWSpitau commented May 2, 2019

Thanks. Works fine with --restrict-filenames

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.