kozec / syncthing-gtk

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

syncthing-gtk requires libnotify-dev on Ubuntu 16.04 #457

Closed cryobry closed 6 years ago

cryobry commented 6 years ago
$ syncthing-gtk
Traceback (most recent call last):
  File "/usr/bin/syncthing-gtk", line 37, in <module>
    from syncthing_gtk.app import App
  File "/usr/lib/python2.7/dist-packages/syncthing_gtk/app.py", line 17, in <module>
    from syncthing_gtk.notifications import Notifications, HAS_DESKTOP_NOTIFY
  File "/usr/lib/python2.7/dist-packages/syncthing_gtk/notifications.py", line 19, in <module>
    gi.require_version('Notify', '0.7')
  File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 102, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Notify not available

After installing libnotify-dev, syncthing-gtk runs as expected.

Ubuntu 16.04

kozec commented 6 years ago

It's listed as dependency in readme. Where are you installing it from?

cryobry commented 6 years ago
$ cat /etc/apt/sources.list.d/home\:kozec.list 
deb http://download.opensuse.org/repositories/home:/kozec/xUbuntu_16.04/ /
kozec commented 6 years ago

Ah. Of course I am the one who haven't read README...

It should be fixed when OBS finishes rebuilding.