I’m running Xubuntu 22.04.1 LTS x86_64 and have installed the InSync Thunar plugin but it doesn’t work. Here’s the error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/gi/__init__.py", line 126, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Thunarx not available
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/importer.py", line 136, in load_module
raise ImportError('cannot import name %s, '
ImportError: cannot import name Thunarx, introspection typelib not found
(thunar:5926): thunarx-python-WARNING **: 08:37:10.532: thunarx_python_init_python failed
/usr/share/thunarx-python/extensions/insync-menu-plugin.py:28: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import GObject, Gtk, Thunarx # noqa isort:skip
Traceback (most recent call last):
File "/usr/share/thunarx-python/extensions/insync-menu-plugin.py", line 28, in <module>
from gi.repository import GObject, Gtk, Thunarx # noqa isort:skip
File "/usr/lib/python3/dist-packages/gi/importer.py", line 136, in load_module
raise ImportError('cannot import name %s, '
ImportError: cannot import name Thunarx, introspection typelib not found
Hi,
I’ve the same problem with a fresh linux Mint 21 Vanessa. Installing insync-thunar lead to a complete failure of thunar. Purging insync-thunar resolved the situation and thunar is working again.
From my ~/,xsession-errors
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/gi/__init__.py", line 126, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Thunarx not available
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/importer.py", line 136, in load_module
raise ImportError('cannot import name %s, '
ImportError: cannot import name Thunarx, introspection typelib not found
(xfdesktop:1981): thunarx-python-WARNING **: 09:04:36.918: thunarx_python_init_python failed
/usr/lib/linuxmint/mintUpdate/mintUpdate.py:1393: DeprecationWarning: Gtk.ImageMenuItem.set_image is deprecated
menuItem3.set_image(image)
blueman-applet 09.04.36 WARNING PluginManager:151 __load_plugin: Not loading PPPSupport because its conflict has higher priority
/usr/share/thunarx-python/extensions/insync-thunar-plugin.py:28: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import GObject, Gtk, Thunarx # noqa isort:skip
Traceback (most recent call last):
File "/usr/share/thunarx-python/extensions/insync-thunar-plugin.py", line 28, in <module>
from gi.repository import GObject, Gtk, Thunarx # noqa isort:skip
File "/usr/lib/python3/dist-packages/gi/importer.py", line 136, in load_module
raise ImportError('cannot import name %s, '
ImportError: cannot import name Thunarx, introspection typelib not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/gi/__init__.py", line 126, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Thunarx not available
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gi/importer.py", line 136, in load_module
raise ImportError('cannot import name %s, '
ImportError: cannot import name Thunarx, introspection typelib not found
I had the same problem with RappidVCS (https://github.com/rabbitvcs/rabbitvcs). I managed to fix this problem by installing the gir1.2-thunarx-3.0 package on bookworm (thunar 4.18.4) that deploys introspection data for Thunarx.