Bug#947776: python3-nautilus: ImportError: could not import gobject (error was: ImportError('/usr/lib/python3/dist-packages/gi/_gi.cpython-38-i386-linux-gnu.so: undefined symbol: PyExc_NotImplementedError'))

Simon McVittie smcv at debian.org
Tue Sep 8 10:24:57 BST 2020


Control: retitle -1 python3-nautilus: ImportError: could not import gobject (error was: ImportError('/usr/lib/python3/dist-packages/gi/_gi.cpython-38-i386-linux-gnu.so: undefined symbol: PyExc_NotImplementedError'))

On Tue, 08 Sep 2020 at 09:52:12 +0200, Ludovic CHEVALIER wrote:
> I'm using python3-nautilus

Which version? Please send details of the version you are now using
(the output of "reportbug --template python3-nautilus").

> > (org.gnome.Nautilus:16118): Nautilus-Python-WARNING **: 09:32:47.414: g_module_open libpython failed: /usr/lib/libpython3.8.so.1.0: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

That looks like a bug in python3-nautilus. It assumes that it can load
libpython3.8.so.1.0 from /usr/lib for some reason, but Debian does not
install libpython3.8.so.1.0 in that location.

Python extensions do not normally need to do this, so nautilus-python
is doing something weird here.

> So, I've just created a symbolic link like this and it works now. :-)
> > ln -s i386-linux-gnu/libpython3.8.so.1.0 /usr/lib/

Please remember that you have done this so that you can undo the workaround
when testing later versions. Modifying /usr should never be necessary.

    smcv



More information about the pkg-gnome-maintainers mailing list