clean install of gutsy and gajim throws a gnomekeyring.DeniedError

Bug #138225 reported by Stephan Rügamer
2
Affects Status Importance Assigned to Milestone
gajim (Ubuntu)
Fix Released
Medium
Sebastien Bacher

Bug Description

Binary package hint: gajim

When you have a clean install of gutsy (or gnome) and start up gajim, it will throw an gnomekeyring.DeniedError.

Please find attached a debdiff which fixes this problem.
This problem is known upstream, and is applied to 0.11.2, which is not released.

I'll mail our package maintainer to apply the fix to bzr-branch, but you should upload this package fix.

Revision history for this message
Stephan Rügamer (sruegamer) wrote :
Revision history for this message
Nafallo Bjälevik (nafallo) wrote : Re: [Bug 138225] Re: clean install of gutsy and gajim throws a gnomekeyring.DeniedError

 Hi \sh,

On Sat, 2007-09-08 at 09:47 +0000, Stephan Hermann wrote:
> ** Attachment added: "debdiff to fix gnomekeyring issue in gajim (for gutsy)"
> http://launchpadlibrarian.net/9188992/gajim_0.11.1-0ubuntu6.debdiff

Which changeset is this?
--
Nafallo Bjälevik <email address hidden>

Revision history for this message
Nafallo Bjälevik (nafallo) wrote :

Never mind that comment :-P.

Revision history for this message
Nafallo Bjälevik (nafallo) wrote :

nafallo@centaur:~/devel/gajim/ubuntu $ bzr patch --strip=1 ../gajim_0.11.1-0ubuntu6.debdiff
patching file debian/changelog
patching file src/common/passwords.py

Changed in gajim:
assignee: nobody → nafallo
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Daniel Holbach (dholbach) wrote :

Séb: can you check the patch and upload if it's ok?

Changed in gajim:
assignee: nafallo → seb128
Revision history for this message
Stephan Rügamer (sruegamer) wrote :

Hi,

as discusses with Daniel, a bit of explanation:

As discussed in this bugreport of pygtk http://bugzilla.gnome.org/show_bug.cgi?id=363019 it looks
like that the python implementation lacked of proper return values of some gnome-keyring bindings.
This should be fixed in (what) version (hopefully 2.11.0-0ubuntu1 which is in gutsy).

But during the time of being not fixed, gajim had some problems with it. When there is no default keyring (which happens when you have a new install or no app ever requested something from gnome-keyring), gajim failed to create a default keyring, therefore it couldn't find any default keyring. This problem throws an gnomekeyring.DeniedError, which wasn't handled.
Changeset 8701 (http://trac.gajim.org/changeset/8701) fixes this, not nicely, but it fixes it for this time. Hopefully, gajim upstream, or we (Ubuntu) are able to create a default keyring, when there is no one and gajim is the first app ever started to need one.

Nafallo updated our bzr tree already with this patch for gutsy, and hopefully will upload this, if not, Daniel or Sebastien, could you do the upload?

Thx,

\sh

Revision history for this message
Daniel Holbach (dholbach) wrote :

Uploaded, please use (LP: #123456) next time.

Luke Yelavich (themuso)
Changed in gajim:
status: Fix Committed → Fix Released
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.