void-linux / void-packages

The Void source packages collection
https://voidlinux.org
Other
2.5k stars 2.11k forks source link

stremio-shell: possible missing dependency on qtwebengine #32804

Closed motorto closed 2 years ago

motorto commented 3 years ago

System

Expected behavior

Stremio App should launch normally

Actual behavior

Stremio app doesn't launch

Steps to reproduce the behavior

Install stremio-shell from repos and launch the app from the terminal

When launching from the terminal stremio-shell I get the following output:

$ stremio
QQmlApplicationEngine failed to load component
qrc:/main.qml:3:1: module "QtWebChannel" is not installed
qrc:/main.qml:2:1: module "QtWebEngine" is not installed
qrc:/main.qml:3:1: module "QtWebChannel" is not installed
qrc:/main.qml:2:1: module "QtWebEngine" is not installed
QObject::connect: Cannot connect MainApp::receivedMessage(QVariant, QVariant) to (nullptr)::onAppMessageReceived(QVariant, QVariant)

On IRC I was told that it might be an issue with missing dependency on qt5webengine.

ericonr commented 3 years ago

Have you tried installing qt5-webengine to see what happens?

motorto commented 3 years ago

Hey thanks for the answer, sorry for the late reply.

If I install qt5-webengineit launches the gui, but I get a pop-up error (don't know if I should upload pictures so here it goes the logs from the stdout and the pop-up.

stdout:

$ stremio
[cplayer] mpv 0.33.1 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
[cplayer]  built on Mon Apr  5 16:57:51 UTC 2021
[cplayer] FFmpeg library versions:
[cplayer]    libavutil       56.51.100
[cplayer]    libavcodec      58.91.100
[cplayer]    libavformat     58.45.100
[cplayer]    libswscale      5.7.100
[cplayer]    libavfilter     7.85.100
[cplayer]    libswresample   3.7.100
[cplayer] FFmpeg version: 4.3.2
[cplayer]
[cplayer] Configuration: waf configure --prefix=/usr --libdir=/usr/lib64 --confdir=/etc/mpv --docdir=/usr/share/examples/mpv --enable-cdda --enable-dvbin --enable-dvdnav --enable-libarchive --enable-libmpv-shared --enable-cplugins --enable-alsa --disable-caca --enable-jack --enable-lcms2 --enable-lua --disable-openal --enable-pulse --disable-sdl2 --disable-vapoursynth --enable-vdpau --enable-vulkan --enable-shaderc --enable-wayland --enable-x11 --zshdir=/usr/share/zsh/site-functions
[cplayer] List of enabled features: 52 alsa asm build-date cdda cplayer cplugins debug-build drm dvbin dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg gbm gbm.h gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack jpeg lcms2 libarchive libass libavdevice libbluray libdl libm libmpv-shared libplacebo librt linux-fstatfs linux-input-event-codes lua memfd_create optimize plain-gl posix posix-or-mingw pthreads pulse rubberband shaderc shaderc-shared stdatomic uchardet vaapi vaapi-drm vaapi-egl vaapi-vulkan vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vt.h vulkan wayland wayland-protocols x11 xv zlib
[cplayer] Waiting for scripts...
[cplayer] Set property: vo="libmpv" -> 1
[cplayer] Set property: gpu-hwdec-interop="auto" -> 1
[cplayer] Set property: cache-default=15000 -> -3
[cplayer] Set property: cache-backbuffer=15000 -> -3
Warning: option --cache-secs is deprecated and might be removed in the future (will use unlimited time).
[cplayer] Set property: cache-secs=10 -> 1
[cplayer] Set property: audio-client-name="Stremio" -> 1
[cplayer] Set property: title="Stremio" -> 1
[cplayer] Set property: audio-fallback-to-null="yes" -> 1
[cplayer] Set property: audio-client-name="Stremio" -> 1
[cplayer] Set property: title="Stremio" -> 1
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
[cplayer] Done loading scripts.
[osd/libass] libass API version: 0x1501000
[osd/libass] libass source: tarball: 0.15.1
[osd/libass] Shaper: FriBidi 1.0.10 (SIMPLE) HarfBuzz-ng 2.9.0 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
qml: Loading web UI from URL: https://app.strem.io/shell-v4.4/#?loginFlow=desktop
qml: Stremio Shell version: 4.4.142
qml:  **** Completed. Loading Autoupdater ***
qml: Auto-updater: skipping, possibly not running an installed app?
[libmpv_render] GL_VERSION='3.0 Mesa 21.2.1'
[libmpv_render] Detected desktop OpenGL 3.0.
[libmpv_render] GL_VENDOR='Intel Open Source Technology Center'
[libmpv_render] GL_RENDERER='Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)'
[libmpv_render] GL_SHADING_LANGUAGE_VERSION='1.30'
[libmpv_render] Loaded extension GL_ARB_sync.
[libmpv_render] Loaded extension GL_ARB_timer_query.
[libmpv_render] Loaded extension GL_ARB_get_program_binary.
[libmpv_render] Loaded extension GL_ARB_buffer_storage.
[libmpv_render] Loaded extension GL_ARB_shader_image_load_store.
[libmpv_render] Loaded extension GL_ARB_uniform_buffer_object.
[libmpv_render] Loaded extension GL_ARB_shader_storage_buffer_object.
[libmpv_render] Loaded extension GL_ARB_compute_shader.
[libmpv_render] Loaded extension GL_ARB_arrays_of_arrays.
[libmpv_render] Loaded extension GL_ARB_debug_output.
[libmpv_render] GL_*_swap_control extension missing.
[libmpv_render] Testing FBO format rgba16f
[libmpv_render] Using FBO format rgba16f.
[libmpv_render] Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=1).
[libmpv_render] No advanced processing required. Enabling dumb mode.
[libmpv_render] Loading hwdec driver 'vaapi-egl'
[libmpv_render/vaapi-egl] VAAPI hwdec only works with OpenGL or Vulkan backends.
[libmpv_render] Loading failed.
[libmpv_render] Loading hwdec driver 'drmprime-drm'
[libmpv_render/drmprime-drm] Failed to retrieve DRM fd from native display.
[libmpv_render] Loading failed.
js: TypeError: Failed to fetch
js: server-crash 0 null

And the pop-up throws the following:

Error while starting streaming server. Please reconsider re-installing Stremio from https://stremio.com

Details:
Stremio streaming server has thrown an error
QProcess::ProcessError code: 0
paper42 commented 2 years ago

@mobinmob

motorto commented 2 years ago

@paper42 it is now working ... Don't know if it is because I am using more qt5 apps and it pulls the needed deps ... So I am going to keep this open until @mobinmob says something

mobinmob commented 2 years ago

@paper42 it is now working ... Don't know if it is because I am using more qt5 apps and it pulls the needed deps ... So I am going to keep this open until @mobinmob says something

qt5-webengine must be a runtime dep only - I will add it, thanks. No idea about the other error.

mobinmob commented 2 years ago

qt5-webengine is already on the depends array, not sure why it was not installes: https://github.com/void-linux/void-packages/blob/1e66920b88cb2b94d3d6c994ea49c4d8fc60a3f6/srcpkgs/stremio-shell/template#L13

github-actions[bot] commented 2 years ago

Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it.