question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Latest version completely fails to run, it looks like.

See original GitHub issue

Checklist

  • I’m reporting a bug unrelated to a specific site
  • I’ve verified that I’m running yt-dlp version 2022.04.08 (update instructions) or later (specify commit)
  • 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 issues including closed ones. DO NOT post duplicates
  • I’ve read the guidelines for opening an issue

Description

So I upgraded just now. And the same command line that was running a minute ago now fails to download anything. Some file not found error. Not sure what it misses, it seems like some python files, which is strange, because it’s a static executable.

Verbose log

>"D:\Programok\videó\CLI\youtube-dl.exe" --no-playlist -o D:\Letöltés\%(title)s.%(ext)s https://www.youtube.com/watch?v=vp7d1DV0sFI
[debug] Command-line config: ['--no-playlist', '-o', 'D:\\Letöltés\\%(title)s.%(ext)s', 'https://www.youtube.com/watch?v=vp7d1DV0sFI']
[debug] Portable config "D:\Programok\videó\CLI\yt-dlp.conf": ['-f', '(bestvideo[vcodec^=av01]/bestvideo[vcodec=vp9]/bestvideo[vcodec^=avc]/bestvideo[vcodec!=vp8])[height<=2160]+(258/256/bestaudio[acodec=opus]/bestaudio[acodec=vorbis]/bestaudio[acodec^=m4a]/bestaudio)/(best[vcodec^=av01]/best[vcodec=vp9]/best[vcodec^=avc]/best[vcodec!=vp8])[height<=1440]/best', '--verbose', '--video-password', 'PRIVATE', '--ignore-errors', '--write-description', '--write-sub', '--write-thumbnail', '--sub-lang', 'en,en-GB,en-US,en-CA,en-AU,en-NZ,hu', '--no-playlist', '--embed-metadata', '--embed-chapters', '--no-mtime', '-o', '.\\%(title)s.%(ext)s']
Traceback (most recent call last):
  File "__main__.py", line 19, in <module>
  File "yt_dlp\__init__.pyc", line 869, in main
  File "yt_dlp\__init__.pyc", line 830, in _real_main
  File "yt_dlp\YoutubeDL.pyc", line 667, in __init__
  File "yt_dlp\YoutubeDL.pyc", line 3743, in _setup_opener
  File "yt_dlp\utils.pyc", line 1027, in make_HTTPS_handler
FileNotFoundError: [Errno 2] No such file or directory

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
gamer191commented, Apr 10, 2022

@mzso I have 3 questions for you:

  1. How did you downgrade to yt-dlp 2022.03.08.1
  2. if you still have the exe that gave the above error, can you please run it with --compat-options no-certifi --verbose
  3. if you update back to the latest version, does it still break? If yes, can you please run it with --verbose and send the logs, and then run it again with --compat-options no-certifi --verbose and send the logs?

No I think I was using the full exe. How is the “min” different?

yt-dlp_min.exe is the py2exe build. It is faster, but has known issues, which is why it isn’t recommended

PS: I will most likely not respond to your reply to this message, until Friday

1reaction
mzsocommented, Apr 10, 2022

It seems like with yt-dlp 2022.03.08.1 it still works. The download from Youtube is excruciatingly slow though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix the "This App Can't Run on Your PC" Error in ...
1. Check the App's Version ... If you downloaded and installed the app without checking its properties, it might be incompatible with your...
Read more >
Get help with Windows upgrade and installation errors
See some of the most common upgrade and installation errors for Windows 10 and Windows 11, and what you can do to try...
Read more >
Fix Chrome update problems & failed updates - Google Help
On your computer, right-click the Chrome icon. · Click Properties and then Compatibility. · Uncheck "Run this program in compatibility mode for.".
Read more >
What to Do When Windows Update Keeps Failing on ...
Method 1: Run the Windows Update Troubleshooter tool · Download the Windows Update Troubleshooter. This download link is directly from Microsoft's website, which ......
Read more >
If your iPhone or iPad won't update - Apple Support
If you don't see the option to update to new software like iOS 16 or ... Update to the latest version of iOS...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found