Sync icons not displaying (Nautilus) / new issue?

Hi,

I have nautilus-nextcloud installed and /usr/share/nautilus-python/extensions/syncstate-Nextcloud.py is identical to the file mentioned as a workaround for the same issue in the past where the proposed solution was:

$ wget -O ~/.local/share/nautilus-python/extensions/syncstate-Nextcloud.py "https://raw.githubusercontent.com/nextcloud/desktop/master/shell_integration/nautilus/syncstate.py"

I’ve noticed that when I start nautilus from the command line it says:

ImportError: could not import gobject (error was: ImportError("cannot import name '_gi' from partially initialized module 'gi' (most likely due to a circular import) (/usr/lib/python3/dist-packages/gi/__init__.py)"))

(org.gnome.Nautilus:20985): Nautilus-Python-WARNING **: 19:47:31.145: pygobject initialization failed

(org.gnome.Nautilus:20985): Nautilus-Python-WARNING **: 19:47:31.145: nautilus_python_init_python failed
Traceback (most recent call last):
  File "/usr/share/nautilus-python/extensions/syncstate-Nextcloud.py", line 29, in <module>
    from gi.repository import GObject, Nautilus
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 40, in <module>
    from . import _gi
ImportError: cannot import name '_gi' from partially initialized module 'gi' (most likely due to a circular import) (/usr/lib/python3/dist-packages/gi/__init__.py)
Traceback (most recent call last):
  File "/usr/share/nautilus-python/extensions/open-tilix.py", line 15, in <module>
    from gi import require_version
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 40, in <module>
    from . import _gi
ImportError: cannot import name '_gi' from partially initialized module 'gi' (most likely due to a circular import) (/usr/lib/python3/dist-packages/gi/__init__.py)

Any python gurus know what I can/should do about that? I found python - ImportError: cannot import name ‘_gi’ from partially initialized module ‘gi’ (most likely due to a circular import) - Stack Overflow which is similar but not the same.

python3 -c 'from gi.repository import GLib'

works for me, and I have python-3.10 and python-3.9 installed:

$ ls -l /usr/bin/python3*
lrwxrwxrwx 1 root root      10 Jul 19 16:23 /usr/bin/python3 -> python3.10
-rwxr-xr-x 1 root root 5904456 Aug 10 13:19 /usr/bin/python3.10
-rwxr-xr-x 1 root root 5455208 Jul 15 05:36 /usr/bin/python3.9
-rwxr-xr-x 1 root root     960 May 25 21:40 /usr/bin/python3-futurize
-rwxr-xr-x 1 root root     964 May 25 21:40 /usr/bin/python3-pasteurize