kozec / syncthing-gtk

GTK3 & python based GUI for Syncthing
GNU General Public License v2.0
1.29k stars 140 forks source link

ValueError: Namespace Notify not available, when trying to run the AppImage #476

Closed Omar-Elrefaei closed 6 years ago

Omar-Elrefaei commented 6 years ago

I am on KDE Neon, so GTK/Gnome libs are not available by default. When attempting to run the appimage for the first time I got

./SyncthingGTK-0.9.4-x86_64.AppImage Traceback (most recent call last): File "/tmp/.mount_SyncthA8eVaZ/usr/bin/syncthing-gtk", line 37, in <module> from syncthing_gtk.app import App File "/tmp/.mount_SyncthA8eVaZ/usr/lib/python2.7/site-packages/syncthing_gtk/app.py", line 17, in <module> from syncthing_gtk.notifications import Notifications, HAS_DESKTOP_NOTIFY File "/tmp/.mount_SyncthA8eVaZ/usr/lib/python2.7/site-packages/syncthing_gtk/notifications.py", line 19, in <module> gi.require_version('Notify', '0.7') File "/tmp/.mount_SyncthA8eVaZ/usr/lib/python2.7/site-packages/gi/__init__.py", line 130, in require_version raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace Notify not available

But just after apt install gir1.2-notify everything went smooth.

I think you should bundle it with the appimage as a dependency.