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

FileNotFoundError: [Errno 2] No such file or directory #264

Closed
vitacell opened this issue Mar 20, 2024 · 8 comments
Closed

FileNotFoundError: [Errno 2] No such file or directory #264

vitacell opened this issue Mar 20, 2024 · 8 comments

Comments

@vitacell
Copy link

When the program tryes to download a video, it says:

FileNotFoundError: [Errno 2] No such file or directory

@dik23
Copy link

dik23 commented Mar 26, 2024

I get the same while using 0.12.11

When I look in the download location I find a folder which contains multiple files, depending on the source

There's always a .json a .m4a and a .mp4. Sometimes there's a .png

The .m4a and .mp4 can be combined into a, for example, .mkv which then works as I would expect the result if the error wasn't shown

@Unrud
Copy link
Owner

Unrud commented Mar 27, 2024

URL?

@dik23
Copy link

dik23 commented Mar 28, 2024

@Unrud
Copy link
Owner

Unrud commented Mar 29, 2024

Run the following command to get the complete stack trace:

env G_MESSAGES_DEBUG=yt-dlp flatpak run com.github.unrud.VideoDownloader

@dik23
Copy link

dik23 commented Mar 29, 2024

download.log

@Unrud
Copy link
Owner

Unrud commented Mar 29, 2024

The error is related to the flatpak document portal. Change the download folder to ~/Downloads/VideoDownloader until the issue is resolved.

@dik23
Copy link

dik23 commented Mar 30, 2024

Works for me

@Unrud Unrud closed this as completed in 039f7ae Mar 31, 2024
@Unrud
Copy link
Owner

Unrud commented Mar 31, 2024

Fixed in v0.12.12. It includes a workaround for flatpak/xdg-desktop-portal#475.

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

No branches or pull requests

3 participants