Remove "gnomekeyring" package in gwibber-service-sina plugin

Bug #960885 reported by Iceyer on 2012-03-21
This bug affects 1 person
Affects Status Importance Assigned to Milestone
An Yang

Bug Description

In Ubuntu 12.04, the gwibber update and some old package can not be used.

 in the file:
Line 3:
import gnomekeyring

This line should be remove because it well import the old python package, so the plugin will not work.

By the way, the gnomekeyring package didn't be used in the file.

Ken VanDine (ken-vandine) wrote :

I proposed a branch yesterday that ports the plugin to work with the gwibber >= 3.3.90

affects: gwibber → gwibber-service-sina
Changed in gwibber-service-sina:
assignee: nobody → An Yang (euroford)
Iceyer (iceyers) wrote :

I have installed the version with this patch.
but it can not work unless I delete "import gnomekeyring"

Here is some log when I add a sina accout before I delete this line:

Loading plugin for facebook
Loading plugin for sina
/usr/lib/python2.7/dist-packages/gobject/ Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
  import gobject._gobject
Loading plugin for identica
Loading plugin for twitter
Traceback (most recent call last):
  File "/usr/share/gwibber/plugins/sina/gtk/sina/", line 149, in on_sina_auth_title_change
    saved = self.dialog.on_edit_account_save()
  File "/usr/lib/python2.7/dist-packages/gwibber/", line 252, in on_edit_account_save
    getattr(self.gwibber.accounts, fn)(json.dumps(self.account))
  File "/usr/lib/python2.7/dist-packages/dbus/", line 145, in __call__
  File "/usr/lib/python2.7/dist-packages/dbus/", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python2.7/dist-packages/gwibber/microblog/", line 339, in Create
  File "/usr/lib/python2.7/dist-packages/gwibber/microblog/", line 303, in update_password_cache
    self.passwords[id] = util.keyring.get_secret(id)
  File "/usr/lib/python2.7/dist-packages/gwibber/microblog/util/", line 49, in get_secret
  File "/usr/lib/python2.7/dist-packages/gi/", line 43, in function
    return info.invoke(*args, **kwargs)
TypeError: Item 0: must be a subtype of gi.Boxed

However, You can not see you accout.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers