-
-
Notifications
You must be signed in to change notification settings - Fork 202
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
Fails to load / start [linux] #698
Comments
I've done a |
So I noticed my libatomic was 32bit. I installed Closing this issue! : ) |
You can check the list of shared system libraries by using the Since NW.js is basically Chromium+NodeJS+stuff, having Chromium and NodeJS installed on your system will usually help with missing dependencies if you're using a distro where no Streamlink Twitch GUI package is available for. I know that these problems would not exist if there were packages available for most of the major Linux distros like Debian/Ubuntu, Fedora, etc, but unfortunately, including Streamlink Twitch GUI into these distros is not possible due to being built on top of a pre-built NW.js, and changing that is a whole new rabbit hole. Having a custom package repo is also not a proper solution (I tried in #319, but it's very much outdated now), because I would either have to pay high monthly fees, which I absolutely won't do, or it would be very limited in terms of file traffic and storage space. BinTray is the only hoster I know which offers a free service, but it's just not enough for NW.js applications (unless they've lifted some of these limitations). And even then, having to know each package name of NW.js' dependencies for all these various distros and the versions of the non-rolling distros is something I don't want to spend time on. I need dedicated package maintainers for that. The only solution seem to be Flatpack, Snap and/or AppImage, so I can have universal packages, but I haven't spent much time on reading how to create and distribute those, because it's quite complex. I should give AppImage a go though, because among those three, it just makes more sense, as it is a complete standalone solution. (#616) |
G'day @bastimeyer ! Thanks for the lengthy response. And thank you for the excellent software too. I think packaging is still quite a lot of work for project maintainers, particularly if targetting both deb and rpm, and likely not worth the effort as a solo maintainer. From my limited perspective, I wholeheartedly agree with #616 - with the small comment that Flatpak is seeing a little more adoption than Snap. I have used AppImage successfully for a few pieces of software and it was very painless. Just a giant file to execute directly, it seemed, and in the three or four occasions I've done that there were no issues at all. When installing streamlink-twitch-gui on a new system, I have used the if command -v ldd >/dev/null 2>&1 ; then
# Found ldd command
LIBCHECK=$(LD_LIBRARY_PATH=${HERE}/lib ldd ${HERE}/lib/libnode.so | grep "not found")
if [ ! -z "${LIBCHECK}" ]; then
# Missing a required libary
echo "[!] Streamlink twitch gui requires a library that your system does not have installed."
echo " Try using your package manager to search for and install them: "
echo "${LIBCHECK}"
fi
fi You have the option of assuming ldd will be present (does anyone have coreutils without glibc common? surely not!) which can skip the first if/then block. I know this won't solve the issue for everyone, as it is kinda hidden in the add menu item script, but I don't think you should spend the time to do package management. Cheers again : ) |
There already was a launch script which did that because of an issue with old Ubuntu releases, but it got removed again (#615): I don't want to add this again, especially not if it's just a simple check with a warning message. Adding a troubleshoot page to the wiki sounds like a better idea to me. |
Bug report
Environment details
Operating system and version:
Fedora 31 (Linux 5.3.16)
Streamlink Twitch GUI version:
1.9.0
Streamlink version:
1.3.0
Configuration details:
Fedora 31 has python3 as default (ie. the
python
command) butpython2
is still installed.Description
When I launch streamlink with the regular menu shortcut, nothing happens. Running it in the console shows it starting, then just hanging.
Expected / Actual behavior
Streamlink launches and the window pops up where I can select streams etc.
Reproduction steps
Run streamlink-twitch-gui from the menu item.
Log output
This is the output:
The terminal hangs waiting at that point, until I ctrl+c.
I think I recognise the fontconfig line (and maybe it isn't important?) as a long standing Fedora default. I moved that file out of the directory, and it didn't help streamlink launch.
Additional comments, screenshots, etc.
~/.config/streamlink-twitch-gui
didn't help~/.cache/streamlink-twitch-gui
didn't helpdnf reinstall libatomic
(which was already installed) and this also didn't help. Package version is9.2.1
The text was updated successfully, but these errors were encountered: