nicklasb / gnome-keyring-import-export

A Python-3 variant of https://bitbucket.org/spookylukey/gnome-keyring-import-export
13 stars 4 forks source link

Won't work in Ubuntu after Bionic #4

Open DDzwiedziu opened 3 years ago

DDzwiedziu commented 3 years ago

As they doesn't supply the typelib.

gnome_keyring_import_export.py:55: 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 Gtk
Traceback (most recent call last):
  File "gnome_keyring_import_export.py", line 56, in <module>
    from gi.repository import GnomeKeyring
  File "/usr/lib/python3/dist-packages/gi/importer.py", line 131, in load_module
    raise ImportError('cannot import name %s, '
ImportError: cannot import name GnomeKeyring, introspection typelib not found

I'm just not sure if this is a real bug or just a me missing something in Python-GNOME-Ubuntu relations.

nicklasb commented 3 years ago

Hi @DDzwiedziu , you are right it seems, it has been replaced: https://askubuntu.com/questions/1080896/what-replaced-pythons-gnomekeyring-module-in-ubuntu-18-04-bionic

If you find a solution, don't hesitate to drop by with a PR, I don't do much with this repo currently.