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

[Errno 2] No usable temporary directory found in ['/data/data/com.termux/files/usr/tmp', '/'] #262

Open
zaednasr opened this issue Dec 27, 2023 · 5 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@zaednasr
Copy link
Contributor

This is a strange error because it only appears on a few devices. Sometimes if they reinstall the app, it might work for them or sometimes it doesn't. Not sure what could cause this or why does it even mention termux in the first place?

@JunkFood02 JunkFood02 added bug Something isn't working help wanted Extra attention is needed labels Dec 27, 2023
@JunkFood02
Copy link
Collaborator

JunkFood02/Seal#1161

@JunkFood02
Copy link
Collaborator

why does it even mention termux in the first place?

We built the python and ffmpeg executable in a termux environment(docker image) for better dependency management and cross compilation for difference arch. It could be the home directory for the environment variables when the libraries got compiled I think

@zaednasr
Copy link
Contributor Author

zaednasr commented Apr 1, 2024

@JunkFood02 some new information. If the user tries to write subtitles it pushes out this error but otherwise it downloads fine.

@GfEW
Copy link

GfEW commented Apr 2, 2024

@zaednasr

@JunkFood02 some new information. If the user tries to write subtitles it pushes out this error but otherwise it downloads fine.

I've done extensive research to help tracking down JunkFood02/Seal#1161 (see there) and would like to check your obversation for reproducibility on my end.

If you're using yt-dlp via CLI (e. g. termux) or custom commands in Seal:

  • Would you mind to provide your exact yt-dlp commandline here?
  • Should you employ a two-step process, first fetching the list of available formats, then the actual downloads, both yt-dlp command lines would be great to know.

If you're using yt-dlp via Seal-GUI:

  • If you can find out the two involved yt-dlp command lines, see above.
  • Otherwise, this adds yet another use case to JunkFood02/Seal#1337.

@zaednasr
Copy link
Contributor Author

zaednasr commented Apr 2, 2024

@zaednasr

@JunkFood02 some new information. If the user tries to write subtitles it pushes out this error but otherwise it downloads fine.

I've done extensive research to help tracking down JunkFood02/Seal#1161 (see there) and would like to check your obversation for reproducibility on my end.

If you're using yt-dlp via CLI (e. g. termux) or custom commands in Seal:

  • Would you mind to provide your exact yt-dlp commandline here?
  • Should you employ a two-step process, first fetching the list of available formats, then the actual downloads, both yt-dlp command lines would be great to know.

If you're using yt-dlp via Seal-GUI:

  • If you can find out the two involved yt-dlp command lines, see above.
  • Otherwise, this adds yet another use case to JunkFood02/Seal#1337.

Its device based. Sometimes even the same configuration yields a success. I believe all of this has to do with the termux docker container. If we could just raw dog the libraries without the middle man this could go away.

My app YTDLnis, lets you see the command used for a download in the download card by tapping the extra commands button, or by tapping the command button in the download history details card.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants