Hi!
I would really love to use this application https://software.opensuse.org/package/cozy
I’ve installed it and tried to run it from a KDE start menu, but it won’t start. I tried to run it from command prompt. The command to start it is com.github.geigi.cozy which took me some time to find.
aleksandr@aleksandr-pc:~> com.github.geigi.cozy
(com.github.geigi.cozy:26772): Gtk-WARNING **: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
(com.github.geigi.cozy:26772): Gtk-WARNING **: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
(com.github.geigi.cozy:26772): Gtk-WARNING **: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
Traceback (most recent call last):
File "/usr/bin/com.github.geigi.cozy", line 35, in <module>
from cozy.ui import CozyUI
File "/usr/lib/python3.6/site-packages/cozy/ui.py", line 6, in <module>
from gi.repository import Gtk, Gio, Gdk, GLib, Gst
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
File "/usr/lib64/python3.6/site-packages/gi/importer.py", line 146, in load_module
dynamic_module = load_overrides(introspection_module)
File "/usr/lib64/python3.6/site-packages/gi/overrides/__init__.py", line 118, in load_overrides
override_mod = importlib.import_module(override_package_name)
File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/usr/lib64/python3.6/site-packages/gi/overrides/Gst.py", line 582, in <module>
real_functions = [o for o in inspect.getmembers(Gst) if isinstance(o[1], type(Gst.init))]
File "/usr/lib64/python3.6/inspect.py", line 342, in getmembers
value = getattr(object, key)
File "/usr/lib64/python3.6/site-packages/gi/module.py", line 143, in __getattr__
assert g_type == TYPE_NONE
AssertionError
Does anyone know what it means and what is the solution to make the app run?
From Leap 15.1 repos;
zypper in cozy
The following 6 NEW packages are going to be installed:
cozy python3-gst python3-magic python3-mutagen python3-peewee python3-pytaglib
Upgrade to 0.6.15;
zypper in https://download.opensuse.org/repositories/X11:/Pantheon:/Apps/openSUSE_Leap_15.1/noarch/cozy-0.6.15-lp151.33.1.noarch.rpm
The following 2 NEW packages are going to be installed:
python3-distro python3-pytz
The following package is going to be upgraded:
cozy
The following package is going to change vendor:
cozy openSUSE -> obs://build.opensuse.org/X11
com.github.geigi.cozy
'/usr/bin/com.github.geigi.cozy']
11:47:27 [MainThread ] [main ] [INFO ] ('opensuse-leap', '15.1', 'n/a')
11:47:27 [MainThread ] [main ] [INFO ] Starting up cozy 0.6.15
11:47:27 [MainThread ] [ui ] [INFO ] Initialize main window
11:47:27 [MainThread ] [ui ] [INFO ] Not connecting about close button.
11:47:27 [Thread-5 ] [offline_ca] [INFO ] Startet processing queue
The reason why I ask is that the command you posted is not typical for launching an app, it’s more typical of how a library is referenced from within an application.
Hi
There are a increasing number of applications using that naming convention, as well as desktop files… have a look in /usr/share/applications. Maybe more on the GNOME side… eg /usr/bin/com.github.johnfactotum.Foliate.
Hi
That’s a lot of active repositories, there may be a non system (eg home) that has pulled in a package that’s not compatible. The only thing I can suggest is fire up YaST Software Management and select the repository view, select each on the non standard repositories and see what packages are installed and see if any of the python and gtk ones for cozy are installed from those home repos…
If you think a conflict is the problem,
You’ll probably find your problem faster if you install into a clean virtual machine and inspect the results.
You can then decide whether to continue to run the app in the virtual machine or use that info to troubleshoot your physical machine.
Hi
See the versions tab, you can select each python one and in the versions tab switch back to the openSUSE OSS version, impact, unknown as if another package is built from that version it may want to uninstall, one of the problems of home repositories and using ‘system packages and/or later versions’. It highlights one of the Tumbleweed features in version updates can be pushed to the development repository, then to factory so it appears in Tumbleweed
Hi again.
I set up a Virtualbox with the same OpenSUSE Leap 15.1 installation and was able to run the application. I only used the preinstalled repos + codecs from pacman.
What can I do next to fix the problem on my main system?
Hi
It would be any python3, gtk and typelibs AFAIK, but could also be an underlying application that is still missing…
Yes, switch vendor and see how it goes, it should highlight if it is going to remove a package you need from one of the home repositories, then can investigate when/if that happens.