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

tmp file not found #26

Open
claudio4 opened this issue Jan 30, 2024 · 11 comments
Open

tmp file not found #26

claudio4 opened this issue Jan 30, 2024 · 11 comments

Comments

@claudio4
Copy link

I have been trying to use this program but I always get a whatever.tmp.mkv: No such file or directory error immediatly after ffmpeg's banner (example below). I have tried to use Node v21.5.0, v18.19.0 and v16.15.1. I also tried to modify the ffmpeg-static version and I have used both 5.0.0 (recommended in other issue) and 5.1.0 . But I get the same result.

The preferred quality was not found, downgraded to 1080p
⠸ Downloading captions for Introduction...
node:internal/process/esm_loader:94
    internalBinding('errors').triggerUncaughtException(
                              ^
ffmpeg version 5.0-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      57. 17.100 / 57. 17.100
  libavcodec     59. 18.100 / 59. 18.100
  libavformat    59. 16.100 / 59. 16.100
  libavdevice    59.  4.100 / 59.  4.100
  libavfilter     8. 24.100 /  8. 24.100
  libswscale      6.  4.100 /  6.  4.100
  libswresample   4.  3.100 /  4.  3.100
  libpostproc    56.  3.100 / 56.  3.100
/home/claudio4/Downloads/Developer Productivity/1. Introduction/Introduction.tmp.mkv: No such file or directory

Thrown at:
    at loadESM (node:internal/process/esm_loader:94:31)
    at processTicksAndRejections (node:internal/process/task_queues:96:5

Any help would be appreciated.

@imsrikant
Copy link

I am having the same error as well. @abdulrahman1s please help.

@AkinaSS
Copy link

AkinaSS commented Mar 20, 2024

I also got the same issue too, I haven't modify anything yet since I don't know how to do so without breaking things, my ffmpeg version is 6.0 and node version is v20.11.1 from what looks like in this stack trace

⠧ Downloading captions for Introduction...
node:internal/process/esm_loader:34
      internalBinding('errors').triggerUncaughtException(
                                ^
ffmpeg version 6.0-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
⠦ Downloading captions for Introduction...
node:internal/process/esm_loader:34
      internalBinding('errors').triggerUncaughtException(
                                ^
ffmpeg version 6.0-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
/home/chikathetougemaster/Fem-videos/Build AI-Powered Apps with OpenAI and Node.js/1. Introduction/Introduction.tmp.mkv: No such file or directory

(Use `node --trace-uncaught ...` to show where the exception was thrown)

Node.js v20.11.1

I would very appreciate if someone can point me to the right direction or how to fix this, I heard that it still working but idk...

@imsrikant
Copy link

This error is only happening in Unix based OS.

@AkinaSS
Copy link

AkinaSS commented Mar 22, 2024

This error is only happening in Unix based OS.

True I think, btw I run this on WSL Ubuntu so I don't know...

@abdulrahman1s
Copy link
Owner

Is this issue happening only with this course, or is it occurring with any course you're trying to download? If it's specific to a course, please email me at [email protected] with your account credentials (cookies), and I'll work on fixing it this week.

@claudio4
Copy link
Author

claudio4 commented Mar 22, 2024

Is this issue happening only with this course, or is it occurring with any course you're trying to download?

With any course.

@abdulrahman1s
Copy link
Owner

That's strange, could you provide additional information like what distro you ware using, and what tool did you use to run the program? (npm or pnpm)

@ferdinandodanise
Copy link

Hi, I had same issue and I understood that the problem was about subtitles not present for that course. Try to unselect subtitles

@claudio4
Copy link
Author

That's strange, could you provide additional information like what distro you ware using, and what tool did you use to run the program? (npm or pnpm)

I tried it in OpenSUSE TW on WSL and in Debian bookworm on a VM. In oS I used both npm and pnpm, in Deb I only tried npm.

@AkinaSS
Copy link

AkinaSS commented Mar 30, 2024

Is this issue happening only with this course, or is it occurring with any course you're trying to download? If it's specific to a course, please email me at [email protected] with your account credentials (cookies), and I'll work on fixing it this week.

Consider that me and the author of the issue try to download different courses and got the same error, I think it looks like it's every course applied
For more information, I run it in Ubuntu on WSL, I don't know the correct version but I download it straight from the Microsoft Store (the first one on search) so it's safe to assume that it's the newest version of it. I tried both npm and pnpm but it gives the same error
The only thing I notice is when it's failed to download, the only thing it leaves back is a vtt file like here, probably for the video subtitle, the rest is not found

chikathetougemaster@LAPTOP-8U2KT215:~$ ls Fem-videos/Build\ AI-Powered\ Apps\ with\ OpenAI\ and\ Node.js/1.\ Introduction/
Introduction.vtt

Hi, I had same issue and I understood that the problem was about subtitles not present for that course. Try to unselect subtitles

I see but the course I try to download does have subtitles though if you checked, so I don't think that's the case

@nooreldeensalah
Copy link

nooreldeensalah commented Jun 26, 2024

We can conclude that this is a compatibility issue on Unix-based systems, I've found an old fork that works on Linux.
The fork is 17 commits behind https://github.com/kruzkasu223/fem-dl-working/tree/master, my assumptions are perhaps the code broke while refactoring.

Thought I'd post this so others who get the issue get to try to use this solution

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

6 participants