linuxmint / warpinator

Share files across the LAN
GNU General Public License v3.0
1.2k stars 81 forks source link

"/usr/libexec/warpinator/warpinator.py", line 14 #36

Closed Crojav closed 4 years ago

Crojav commented 4 years ago

In MxLinux 19.2 Warpinator will not start/open from the start menu or within the terminal

$ warpinator --debug
Nothing shows up
$ warpinator
Nothing shows up

$ ls /usr/share/warpinator/
main-window.ui  op-item.ui  overview-button.ui  prefs-window.ui

$ ls /usr/libexec/warpinator/warpinator.py
/usr/libexec/warpinator/warpinator.py

$ python3 /usr/libexec/warpinator/warpinator.py
Traceback (most recent call last):
  File "/usr/libexec/warpinator/warpinator.py", line 14, in <module>
    from gi.repository import Gtk, GLib, XApp, Gio, GObject, Gdk
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible
  File "/usr/lib/python3/dist-packages/gi/importer.py", line 146, in load_module
    dynamic_module = load_overrides(introspection_module)
  File "/usr/lib/python3/dist-packages/gi/overrides/__init__.py", line 125, in load_overrides
    override_mod = importlib.import_module(override_package_name)
  File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/lib/python3/dist-packages/gi/overrides/XApp.py", line 31, in <module>
    GtkButton = override(GtkButton)
  File "/usr/lib/python3/dist-packages/gi/overrides/__init__.py", line 202, in override
    assert g_type != TYPE_NONE
AssertionError
mtwebster commented 4 years ago

This looks like something went wrong either with the install or introspection packages on your system. What happens if you do this:

python3
>> from gi.repository import XApp
Crojav commented 4 years ago
$ python3
Python 3.7.3 (default, Dec 20 2019, 18:57:59) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from gi.repository import XApp
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible
  File "/usr/lib/python3/dist-packages/gi/importer.py", line 146, in load_module
    dynamic_module = load_overrides(introspection_module)
  File "/usr/lib/python3/dist-packages/gi/overrides/__init__.py", line 125, in load_overrides
    override_mod = importlib.import_module(override_package_name)
  File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/lib/python3/dist-packages/gi/overrides/XApp.py", line 31, in <module>
    GtkButton = override(GtkButton)
  File "/usr/lib/python3/dist-packages/gi/overrides/__init__.py", line 202, in override
    assert g_type != TYPE_NONE
AssertionError
>>> 
mtwebster commented 4 years ago

I'm not familiar with your MxLinux. Is there a package called gobject-introspection installed? There's something definitely wrong here, but I don't think it's related to warpinator.

Does:

>>> from gi.repository import Gtk

work?

@SwampRabbit any thoughts?

SwampRabbit commented 4 years ago

@mtwebster I actually talked with the OP when they initially had issues. After trying to assist them, finding they get no output with the --debug option, and the above outputs they have shared.

I believe this issue is isolated to the user, potentially due to their system also being used for development purposes and possibly different package install attempts, I believe any conflicts are not on the Warpinator or MX Linux side.

Everything should be good with Warpinator and dependencies, I've done numerous installs and testing, and you all have done a great job making that easy.

Also we have had no issues reported from other users with Warpinator or any xapps, in fact everyone that has used it loves Warpinator.

Crojav commented 4 years ago

Yes I am the Op, and I think that is the case. I by myself do not need the Warpinator, it was of that someone on the MxLinux forum asked to test in our systems. So all is all right - if later I like to use Warpinator I will get it working, on my system.

Thanks

On 10/07/2020 19:47, SwampRabbit wrote:

@mtwebster https://github.com/mtwebster I actually talked with the OP when they initially had issues. After trying to assist them, finding they get no output with the --debug option, and the above outputs they have shared.

I believe this issue is isolated to the user, potentially due to their system also being used for development purposes and possibly different package install attempts, I believe any conflicts are not on the Warpinator or MX Linux side.

Everything should be good with Warpinator and dependencies, I've done numerous installs and testing, and you all have done a great job making that easy.

Also we have had no issues reported from other users with Warpinator or any xapps, in fact everyone that has used it loves Warpinator.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/linuxmint/warpinator/issues/36#issuecomment-656801820, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGKC636VEQX33M56RVFHOPLR25H2RANCNFSM4OBGNOXA.

--