Open thomasrenkert opened 3 years ago
(node:29260) UnhandledPromiseRejectionWarning: Could not find ffmpeg executable,...
I think the ffmpeg is missing.
ffmpeg is installed
render@mamooth > ffmpeg -version
ffmpeg version 4.3.2 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 10 (GCC)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' --extra-ldflags='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags=' -I/usr/include/rav1e' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libdav1d --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-libjack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-liblensfun --enable-libmp3lame --enable-libmysofa --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librav1e --enable-libsmbclient --enable-version3 --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-version3 --enable-vapoursynth --enable-libvpx --enable-vulkan --enable-libglslang --enable-libx264 --enable-libx265 --enable-libxvid --enable-libxml2 --enable-libzimg --enable-libzvbi --enable-lv2 --enable-avfilter --enable-avresample --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-lto --enable-libmfx --enable-runtime-cpudetect
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
But Storyboarder won`t start
render@mamooth ~/Downloads> ./Storyboarder-3.0.0-linux-x86_64.AppImage --no-sandbox
22:11:36.472 › Loading preferences from /home/render/.config/Storyboarder/pref.json
(node:150919) UnhandledPromiseRejectionWarning: Could not find ffmpeg executable, tried "/tmp/.mount_StorybORDdMZ/resources/app.asar/node_modules/@ffmpeg-installer/linux-x64/ffmpeg" and "/tmp/.mount_StorybORDdMZ/resources/app.asar/node_modules/@ffmpeg-installer/ffmpeg/node_modules/@ffmpeg-installer/linux-x64/ffmpeg"
(node:150919) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:150919) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I'm having the exact same problem on elementaryOS 5.1.7, but the .deb file is working perfectly.
It's compiled and worked well. The AppImage works seems the problem is in some distributions and others not.
Same problem here on Pop!_OS 20.10 (Ubuntu).
ffmpeg is installed on my machine, tho I don't know if that affects Appimage installs.
$ ffmpeg
ffmpeg version 4.3.1-4ubuntu1 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 10 (Ubuntu 10.2.0-9ubuntu2)
Looks like a problem with the ffmpeg installer we use (node-ffmpeg-installer), or a problem with the way we've configured it.
As a workaround, maybe it's possible to manually copy an ffmpeg binary into the Storyboarder AppImage where Storyboarder would expect it?
Getting the same/similar error attempting to launch Storyboarder-3.0.0-linux-x86_64.AppImage on Pop!_OS 20.10
Tried clearing the preferences folder, but that just resulted in messages about not having existing preferences. Notably, it doesn't get far enough to generate a new 'pref.json' file.
puck% ./Storyboarder-3.0.0-linux-x86_64.AppImage 03:23:26.492 › Loading preferences from /home/kramer/.config/Storyboarder/pref.json 03:23:26.599 › Could not read prefs. Loading defaults. 03:23:26.599 › Error: ENOENT: no such file or directory, open '/home/kramer/.config/Storyboarder/pref.json' at Object.openSync (fs.js:466:3) at Object.func [as openSync] (electron/js2c/asar_bundle.js:5:1812) at Object.readFileSync (fs.js:368:35) at Object.e.readFileSync (electron/js2c/asar_bundle.js:5:8583) at load (/tmp/.mount_StorybGXnf6Y/resources/app.asar/src/js/prefs.js:83:34) at Object.init (/tmp/.mount_StorybGXnf6Y/resources/app.asar/src/js/prefs.js:178:3) at Object.
(/tmp/.mount_StorybGXnf6Y/resources/app.asar/src/js/main.js:13:12) at Module._compile (internal/modules/cjs/loader.js:1152:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10) at Module.load (internal/modules/cjs/loader.js:992:32) (node:192657) UnhandledPromiseRejectionWarning: Could not find ffmpeg executable, tried "/tmp/.mount_StorybGXnf6Y/resources/app.asar/node_modules/@ffmpeg-installer/linux-x64/ffmpeg" and "/tmp/.mount_StorybGXnf6Y/resources/app.asar/node_modules/@ffmpeg-installer/ffmpeg/node_modules/@ffmpeg-installer/linux-x64/ffmpeg" (node:192657) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:192657) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Processes simply hang after that last message, until ended with Ctrl+C
Extracting the Appimage reveals the existance of "squashfs-root/resources/app.asar.unpacked/node_modules/@ffmpeg-installer/darwin-x64/ffmpeg"
Attempting to execute that file results in the error:
zsh: exec format error: ./ffmpeg
I'm having the same issue on Manjaro. ffmpeg is installed.
I'm having the same issue with Storyboarder-3.0.0-linux-x86_64.AppImage on openSUSE 15.3, ffmpeg is installed as well.
Same problem here:
11:07:54.724 › Loading preferences from /home/lux/.config/Storyboarder/pref.json
11:07:54.792 › Could not read prefs. Loading defaults.
11:07:54.793 › Error: ENOENT: no such file or directory, open '/home/lux/.config/Storyboarder/pref.json'
at Object.openSync (fs.js:466:3)
at Object.func [as openSync] (electron/js2c/asar_bundle.js:5:1812)
at Object.readFileSync (fs.js:368:35)
at Object.e.readFileSync (electron/js2c/asar_bundle.js:5:8583)
at load (/tmp/.mount_StorybdUedEo/resources/app.asar/src/js/prefs.js:83:34)
at Object.init (/tmp/.mount_StorybdUedEo/resources/app.asar/src/js/prefs.js:178:3)
at Object.--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:23860) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
In a:
Operating System: Ubuntu 20.04.3 LTS Kernel: Linux 5.4.0-89-generic Architecture: x86-64
with this version of libappimage: libappimage0/focal 0.1.9+dfsg-1 amd64 Core library for appimage
Same here on OS Linux Mint 19.3 Cinnamon Kernel 5.0.0-32-generic
Have the same problem. Kubuntu 21.10.
Same problem here on Debian Bullseye (11.2) and deb package not working (unable to install) as stated in #2336.
Same problem on Fedora 35.
21:06:07.156 › Loading preferences from /home/jsolum/.config/Storyboarder/pref.json
21:06:07.345 › Could not read prefs. Loading defaults.
21:06:07.346 › Error: ENOENT: no such file or directory, open '/home/jsolum/.config/Storyboarder/pref.json'
at Object.openSync (fs.js:466:3)
at Object.func [as openSync] (electron/js2c/asar_bundle.js:5:1812)
at Object.readFileSync (fs.js:368:35)
at Object.e.readFileSync (electron/js2c/asar_bundle.js:5:8583)
at load (/tmp/.mount_StorybViCbvK/resources/app.asar/src/js/prefs.js:83:34)
at Object.init (/tmp/.mount_StorybViCbvK/resources/app.asar/src/js/prefs.js:178:3)
at Object.<anonymous> (/tmp/.mount_StorybViCbvK/resources/app.asar/src/js/main.js:13:12)
at Module._compile (internal/modules/cjs/loader.js:1152:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10)
at Module.load (internal/modules/cjs/loader.js:992:32)
(node:1148781) UnhandledPromiseRejectionWarning: Could not find ffmpeg executable, tried "/tmp/.mount_StorybViCbvK/resources/app.asar/node_modules/@ffmpeg-installer/linux-x64/ffmpeg" and "/tmp/.mount_StorybViCbvK/resources/app.asar/node_modules/@ffmpeg-installer/ffmpeg/node_modules/@ffmpeg-installer/linux-x64/ffmpeg"
(node:1148781) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:1148781) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Same Problem on Garuda Linux with Storyboarder-2.1.0-linux-x86_64.appimage.
ffmpeg version n6.0 Copyright (c) 2000-2023 the FFmpeg developers built with gcc 13.1.1 (GCC) 20230429
This is the output in the terminal