Public bug reported:

Importing the keyring module produces a warning:

    $ python
    Python 2.7.8 (default, Oct 20 2014, 15:05:19) 
    [GCC 4.9.1] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import keyring
    /usr/lib/python2.7/dist-packages/keyring/backends/Gnome.py:6: PyGIWarning: 
GnomeKeyring was imported without specifying a version first. Use 
gi.require_version('GnomeKeyring', '1.0') before import to ensure that the 
right version gets loaded.
      from gi.repository import GnomeKeyring

The GNOME backend ought to use gi.require_version(...) to suppress it.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: python-keyring 4.0-1ubuntu1
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic x86_64
ApportVersion: 2.19.1-0ubuntu3
Architecture: amd64
CurrentDesktop: GNOME
Date: Tue Oct 27 08:33:19 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-07-25 (1188 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120425)
PackageArchitecture: all
SourcePackage: python-keyring
UpgradeStatus: Upgraded to wily on 2015-10-22 (4 days ago)

** Affects: python-keyring (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug gnome3-ppa third-party-packages wily

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1510392

Title:
  PyGIWarning: GnomeKeyring was imported without specifying a version
  first.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-keyring/+bug/1510392/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to