ERROR:root:Could not find any typelib for GnomeKeyring from python-keyring when gir1.2-gnomekeyring-1.0 is missing

Bug #1197988 reported by Philip Muškovac
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-keyring (Ubuntu)
Fix Released
Low
Dmitry Shachnev

Bug Description

On my Kubuntu system something recently pulled in gnome-keyring. Now, every time I run a launchpadlib script I get

ERROR:root:Could not find any typelib for GnomeKeyring

from python-keyring I guess.
The error/warning went away once I installed gir1.2-gnomekeyring-1.0, so I guess something should at least recommend that.

ProblemType: BugDistroRelease: Ubuntu 13.10
Package: gnome-keyring 3.8.2-0ubuntu3
ProcVersionSignature: Ubuntu 3.10.0-1.8-generic 3.10.0-rc7
Uname: Linux 3.10.0-1-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.10.2-0ubuntu3
Architecture: amd64
Date: Fri Jul 5 00:12:58 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2011-10-08 (635 days ago)
InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20111007)
MarkForUpload: TrueSourcePackage: gnome-keyring
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Philip Muškovac (yofel) wrote :
description: updated
affects: gnome-keyring (Ubuntu) → python-keyring (Ubuntu)
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

This is just a warning you can ignore. Python-keyring tries to do "from gi.repository import GnomeKeyring" to check which backends are available.

I'll look if we can disable stdout when checking that.

Changed in python-keyring (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Added a fix for this to my pull request: <https://bitbucket.org/kang/python-keyring-lib/pull-request/33/>.

Changed in python-keyring (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Dmitry Shachnev (mitya57)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-keyring - 1.6-1

---------------
python-keyring (1.6-1) unstable; urgency=low

  * Team upload.

  [ Dmitry Shachnev ]
  * New upstream release.
    - Fixes incompatibility between GNOME Keyring and SecretService
      backends (closes: #714440).
    - Removes warning when gnome-keyring is not available (LP: #1197988).
  * Drop fix-importkiller.patch, applied upstream.

  [ Sebastian Ramacher ]
  * debian/control: Update Homepage to point to the Bitbucket repository. The
    old homepage does no longer exist.

 -- Dmitry Shachnev <email address hidden> Sun, 14 Jul 2013 22:42:56 +0200

Changed in python-keyring (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Pavel Sedlák (psedlak) wrote :

This bug was reintroduced in 2.0, after https://bitbucket.org/kang/python-keyring-lib/diff/keyring/backends/Gnome.py?diff2=55e8cb1e1848&at=2.0

With 1.6.1 it works, with 2.0/2.0.1 it's broken again.

Revision history for this message
Pavel Sedlák (psedlak) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.