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

Bug #960885 reported by Iceyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gwibber-service-sina
New
Undecided
An Yang

Bug Description

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

 in the file:
/usr/share/gwibber/plugins/sina/__init__.py
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.

Revision history for this message
Ken VanDine (ken-vandine) wrote :

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

https://code.launchpad.net/~ken-vandine/gwibber-service-sina/fix_logger/+merge/98247

affects: gwibber → gwibber-service-sina
Changed in gwibber-service-sina:
assignee: nobody → An Yang (euroford)
Revision history for this message
Iceyer (iceyers) wrote :

I have installed the version with this patch.
https://code.launchpad.net/~ken-vandine/gwibber-service-sina/fix_logger/+merge/98247
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/constants.py:24: 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/__init__.py", line 149, in on_sina_auth_title_change
    saved = self.dialog.on_edit_account_save()
  File "/usr/lib/python2.7/dist-packages/gwibber/accounts.py", line 252, in on_edit_account_save
    getattr(self.gwibber.accounts, fn)(json.dumps(self.account))
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", 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/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/python2.7/dist-packages/gwibber/microblog/storage.py", line 339, in Create
    self.update_password_cache(data)
  File "/usr/lib/python2.7/dist-packages/gwibber/microblog/storage.py", line 303, in update_password_cache
    self.passwords[id] = util.keyring.get_secret(id)
  File "/usr/lib/python2.7/dist-packages/gwibber/microblog/util/keyring.py", line 49, in get_secret
    attrlist)
  File "/usr/lib/python2.7/dist-packages/gi/types.py", 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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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