After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 698043 - fix im-status plugin load
fix im-status plugin load
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: Plugins (other)
2.99.x
Other OpenBSD
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-04-15 08:37 UTC by Antoine Jacoutot
Modified: 2013-04-15 10:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
use GLib.GError (1.97 KB, patch)
2013-04-15 08:37 UTC, Antoine Jacoutot
accepted-commit_now Details | Review

Description Antoine Jacoutot 2013-04-15 08:37:02 UTC
Created attachment 241550 [details] [review]
use GLib.GError

Hi.

Properly use GLib.GError to that the plugin loads.
Otherwise it fails with:

Traceback (most recent call last):
  • File "/usr/local/lib/rhythmbox/plugins/im-status/im-status.py", line 88 in do_activate
    self.save_status ()
  • File "/usr/local/lib/rhythmbox/plugins/im-status/im-status.py", line 193 in save_status
    self.saved_purple = self.get_purple_status ()
  • File "/usr/local/lib/rhythmbox/plugins/im-status/im-status.py", line 255 in get_purple_status
    except gi.GLib.GError as e:
AttributeError: 'module' object has no attribute 'GLib'

Comment 1 Jonathan Matthew 2013-04-15 10:00:41 UTC
Review of attachment 241550 [details] [review]:

sure
Comment 2 Antoine Jacoutot 2013-04-15 10:03:39 UTC
Thanks Jonathan, it's in as e65a099.e65a099