GNOME Bugzilla – Bug 791208
Throws warning about missing gi.require_version("Nautilus", ...) when any script installed
Last modified: 2017-12-05 23:52:05 UTC
With any nautilus-python extension script installed, Nautilus prints the following warning on start: sys:1: PyGIWarning: Nautilus was imported without specifying a version first. Use gi.require_version('Nautilus', '3.0') before import to ensure that the right version gets loaded. This is irrespective of the script contents - a blank script in e.g. ~/.local/share/nautilus-python/extensions/test.py is sufficient to reproduce this: touch ~/.local/share/nautilus-python/extensions/test.py nautilus -q
Thanks for the report, I have a fix for this in mind that I'm pretty sure will work.
I've fixed this in master.