You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying the appimage on my gentoo system that only has python 3.11.
Traceback (most recent call last):
File "/tmp/.mount_TwitchSAXRx5/usr/src/main.py", line 26, in <module>
from twitch import Twitch
File "/tmp/.mount_TwitchSAXRx5/usr/src/twitch.py", line 38, in <module>
from gui import GUIManager
File "/tmp/.mount_TwitchSAXRx5/usr/src/gui.py", line 21, in <module>
import pystray
File "/tmp/.mount_TwitchSAXRx5/usr/lib/python3.8/site-packages/pystray/__init__.py", line 64, in <module>
Icon = backend().Icon
File "/tmp/.mount_TwitchSAXRx5/usr/lib/python3.8/site-packages/pystray/__init__.py", line 56, in backend
return candidate()
File "/tmp/.mount_TwitchSAXRx5/usr/lib/python3.8/site-packages/pystray/__init__.py", line 28, in appindicator
from . import _appindicator as backend; return backend
File "/tmp/.mount_TwitchSAXRx5/usr/lib/python3.8/site-packages/pystray/_appindicator.py", line 20, in <module>
gi.require_version('Gtk', '3.0')
File "/tmp/.mount_TwitchSAXRx5/usr/lib/python3.8/site-packages/gi/__init__.py", line 126, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gtk not available
I have not tried the other type, PyInstaller.
I did manage to get it running by using hints in another bug to run the git version and had to use PYSTRAY_BACKEND=gtk
Is it possible to package all the python depends in AppImage so it can run on any linux system?
The text was updated successfully, but these errors were encountered:
The AppImage does not require Python 3.8 to be installed on the system, because Python is already included within the AppImage.
You can verify this by extracting the AppImage:
$ ./TwitchDropsMiner*.AppImage --appimage-extract
You'll find the Python executable (python3.8) in squashfs-root/usr/bin.
I'm not really sure why you're getting that error, but I've been using the AppImage on Arch Linux (and I've tested it on Ubuntu 20.04), with no issues...
Perhaps give the PyInstaller package a try.
I did manage to get it running by using hints in another bug to run the git version and had to use PYSTRAY_BACKEND=gtk
With the GTK backend you'll get a blurry tray icon (if you care about that kind of stuff).
If you just install the libappindicator-gtk3 package (or whatever it's called on Gentoo), you should have no errors.
Trying the appimage on my gentoo system that only has python 3.11.
I have not tried the other type, PyInstaller.
I did manage to get it running by using hints in another bug to run the git version and had to use PYSTRAY_BACKEND=gtk
Is it possible to package all the python depends in AppImage so it can run on any linux system?
The text was updated successfully, but these errors were encountered: