kozec / syncthing-gtk

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

Syncthing-GTK appimage fails to run, GTK3 missing #509

Closed dyedquartz closed 5 years ago

dyedquartz commented 5 years ago

Running Debian 9 on KDE.

$ ./SyncthingGTK-0.9.4.3-x86_64.AppImage 

** (process:25764): WARNING **: 10:44:13.415: Failed to load shared library 'libgdk-3.so.0' referenced by the typelib: libjpeg.so.8: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/.mount_SyncthQjozzG/usr/lib/python2.7/site-packages/gi/importer.py", line 145, in load_module
    importlib.import_module('gi.repository.' + dep.split("-")[0])
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/tmp/.mount_SyncthQjozzG/usr/lib/python2.7/site-packages/gi/importer.py", line 146, in load_module
    dynamic_module = load_overrides(introspection_module)
  File "/tmp/.mount_SyncthQjozzG/usr/lib/python2.7/site-packages/gi/overrides/__init__.py", line 125, in load_overrides
    override_mod = importlib.import_module(override_package_name)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/tmp/.mount_SyncthQjozzG/usr/lib/python2.7/site-packages/gi/overrides/Gdk.py", line 81, in <module>
    Color = override(Color)
  File "/tmp/.mount_SyncthQjozzG/usr/lib/python2.7/site-packages/gi/overrides/__init__.py", line 202, in override
    assert g_type != TYPE_NONE
AssertionError
Syncthing-GTK requires GTK and gobject-introspection packages.\n Please, install GTK3 and gobject-introspection packages using your package manager
/usr/bin/zenity: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory
catb0t commented 5 years ago

have you tried installing the dependencies?

dyedquartz commented 5 years ago

I have tried, but I don't know if I have gotten all of the required dependencies. I have tried installing gobject-introspection and libgtk-3-0 which the latter has already been installed.

dyedquartz commented 5 years ago

UPDATE: I installed all of the dependencies, but the installer still does not want to launch

EDIT: $ gtk-launch --version returns 3.22.11

kozec commented 5 years ago

AppImage is entire application, not installer. But what you are describing shouldn't be happening and is most likely related to that libjpeg message. I can try bundling libjpeg along with everything else, but in meantime, it may be simpler to get deb package from obs.

dyedquartz commented 5 years ago

Thanks, that has worked for me installing syncthing-gtk, but now it does not show the folders on the left side, none at all.

kozec commented 5 years ago

Try starting it from terminal (syncthing-gtk -d -v) and check if it displays any errors.

dyedquartz commented 5 years ago

https://gist.github.com/dyedquartz/e0527d2c2b32bc0d79f12271224e6e97

Log

kozec commented 5 years ago

KeyError: u'fsWatcherEnabled'

Sounds like really old version of syncthing.

dyedquartz commented 5 years ago

ok, I'm going to try to install the most updated version of syncthing, and see if that fixes it

dyedquartz commented 5 years ago

Alright, Downloading the newest binary through the gtk app worked, thanks for all the help!

charlag commented 4 years ago

For the people experiencing this in the future: tried to run AppImage on Fedora, had packages but still had this error, trying to install from the repos now and it pulls these things:

 python2-gobject                                            x86_64                                       3.32.2-1.fc30                                        updates                                        16 k
 python2-gobject-base                                       x86_64                                       3.32.2-1.fc30                                        updates                                       312 k
 python2-bcrypt                                             x86_64                                       3.1.4-7.fc30                                         fedora                                         40 k
 python2-dateutil  

so that's likely what you need?