python plugins are currently broken

Bug #841463 reported by Sathish Kumar
52
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Rhythmbox
New
Undecided
Unassigned
rhythmbox (Ubuntu)
Fix Released
Medium
Unassigned
Oneiric
Fix Released
Medium
Unassigned

Bug Description

the following error occurred while activating Magnatune / Jamendo in Edit>Plugin (in Rhythmbox 2.90.1 in Ubuntu 11.10 beta 1)

The plugin Magnature / Jamendo could not be loaded
a error occured: Dependecy shared plugin code failed to load

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: rhythmbox 2.90.1~20110802-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
Uname: Linux 3.0.0-10-generic x86_64
Architecture: amd64
Date: Mon Sep 5 07:17:28 2011
ExecutablePath: /usr/bin/rhythmbox
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
ProcEnviron:
 LANGUAGE=en_IN:en
 PATH=(custom, no user)
 LANG=en_IN
 SHELL=/bin/bash
SourcePackage: rhythmbox
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sathish Kumar (sathish-394) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

it seems to be an issue with all the python plugins, try to activate any and you'll get:

/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
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/lyrics/lyrics.py", line 35, in <module>
    from LyricsConfigureDialog import LyricsConfigureDialog
  File "/usr/lib/rhythmbox/plugins/lyrics/LyricsConfigureDialog.py", line 36, in <module>
    class LyricsConfigureDialog (GObject.Object, PeasGtk.Configurable):
  File "/usr/lib/rhythmbox/plugins/lyrics/LyricsConfigureDialog.py", line 38, in LyricsConfigureDialog
    object = GObject.property(type=GObject.Object)
  File "/usr/lib/python2.7/dist-packages/gi/_gobject/propertyhelper.py", line 111, in __init__
    self.type = self._type_from_python(type)
  File "/usr/lib/python2.7/dist-packages/gi/_gobject/propertyhelper.py", line 202, in _type_from_python
    raise TypeError("Unsupported type: %r" % (type_,))
TypeError: Unsupported type: <type 'gobject.GObject'>

similar error is raised for every other plugin there.

summary: - magnatune store jamendo plugin not load.
+ python plugins are currently broken
Changed in rhythmbox (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Martin Pitt (pitti) wrote :

This is due to importing both the old static "gobject" and the GI "GObject" binding. You can't mix them.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

And this is now fixed with latest upload. Thanks all.

Changed in rhythmbox (Ubuntu Oneiric):
status: Triaged → Fix Released
Revision history for this message
Oweoqi (oweoqi) wrote :

This issue is still ongoing for me, is an update on the way?

Revision history for this message
Xavier Guillot (valeryan-24) wrote :

I confirm this bug is still present in last Oneiric and Rhythmbox updates, unable to set python plugins working.

Revision history for this message
Mattias Eriksson (snaggen) wrote :
Revision history for this message
Mattias Eriksson (snaggen) wrote :

The checkin message in the commit I link to says that it should fix this problem, but I cant seem to get rhythmbox to work using git master....

Revision history for this message
Matthew Gregg (mcg) wrote :

This bug is still marked fix released but it is not. Can we get this reopened and fixed?

Revision history for this message
Olivier FAURAX (olivier-faurax) wrote :

The magnatune plugin is the culprit.

Here the trace I have when loading the magnatune plugin:
/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
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases
**
ERROR:/build/buildd/pygobject-3.0.0/gi/_gobject/pygobject.c:929:pygobject_new_full: assertion failed: (tp != NULL)
Abandon

This is kind of critical, as rhythmbox refuses to start if magnatune is activated in the plugin panel.

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.