← Back to team overview

desktop-packages team mailing list archive

[Bug 706752] Re: Rhythmbox can't load some plugins

 

Hi,
I'm using Ubuntu 11.10 beta (amd64) and Rhythmbox 2.90.1~20110802-0ubuntu2. I have the same problem.
Rhythmbox can't load some plugins. For example Lyrics.
I tried to reinstall the Rhythmbox and the plugins, but the promlem stayed.

In  terminal:
/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 36, 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'>

(rhythmbox:20681): libpeas-WARNING **: Error loading plugin 'lyrics'

(rhythmbox:20681): Rhythmbox-WARNING **: Could not open device /dev/radio0
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/sendto/sendto.py", line 47, in <module>
    class SendToPlugin (GObject.Object, Peas.Activatable):
  File "/usr/lib/rhythmbox/plugins/sendto/sendto.py", line 50, in SendToPlugin
    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'>

(rhythmbox:20681): libpeas-WARNING **: Error loading plugin 'sendto'
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/replaygain/replaygain.py", line 32, in <module>
    from config import ReplayGainConfig
  File "/usr/lib/rhythmbox/plugins/replaygain/config.py", line 40, in <module>
    class ReplayGainConfig(GObject.Object, PeasGtk.Configurable):
  File "/usr/lib/rhythmbox/plugins/replaygain/config.py", line 42, in ReplayGainConfig
    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'>

(rhythmbox:20681): libpeas-WARNING **: Error loading plugin 'replaygain'
Traceback (most recent call last):
  File "/usr/lib/rhythmbox/plugins/context/context.py", line 29, in <module>
    import ContextView as cv
  File "/usr/lib/rhythmbox/plugins/context/ContextView.py", line 32, in <module>
    import LyricsTab as lt
  File "/usr/lib/rhythmbox/plugins/context/LyricsTab.py", line 134, in <module>
    class LyricsDataSource (gobject.GObject):
  File "/usr/lib/python2.7/dist-packages/gobject/__init__.py", line 60, in __init__
    cls._type_register(cls.__dict__)
  File "/usr/lib/python2.7/dist-packages/gobject/__init__.py", line 115, in _type_register
    type_register(cls, namespace.get('__gtype_name__'))
TypeError: Error when calling the metaclass bases
    could not get typecode from object

(rhythmbox:20681): libpeas-WARNING **: Error loading plugin 'context'

What can I do?

** Description changed:

  Binary package hint: rhythmbox
  
  This bug has been found on ubuntu 10.10, rhythmbox package version is
  0.13.1-0ubuntu6
  
  I tried to enable the "album art" plugin in rhythmbox, but it displays a message saying it couldn't be loaded. In the terminal, I get this:
  (rhythmbox:11864): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  ** Message: pygobject_register_sinkfunc is deprecated (GstObject)
  
  (rhythmbox:11864): Rhythmbox-WARNING **: Could not import gettext
  ImportError: ./gettext.so: ELF file OS ABI invalid
  
  (rhythmbox:11864): Rhythmbox-WARNING **: unable to load module as python
  runtime could not be initialized
  
  (rhythmbox:11864): Rhythmbox-WARNING **: Could not load plugin
  artdisplay
  
- 
- (rhythmbox:11864): Rhythmbox-WARNING **: Error, impossible to activate plugin 'Album art'
+ (rhythmbox:11864): Rhythmbox-WARNING **: Error, impossible to activate
+ plugin 'Album art'
  
  (rhythmbox:11864): Rhythmbox-WARNING **: unable to load module as python
  runtime could not be initialized
  
  (rhythmbox:11864): Rhythmbox-WARNING **: Could not load plugin
  artdisplay
  
- 
- (rhythmbox:11864): Rhythmbox-WARNING **: Error, impossible to activate plugin 'Album art'
+ (rhythmbox:11864): Rhythmbox-WARNING **: Error, impossible to activate
+ plugin 'Album art'
  
  This also happens with most other plugins on the list, all of them being
  default from ubuntu's version of rhythmbox, not third party plugins.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to rhythmbox in Ubuntu.
https://bugs.launchpad.net/bugs/706752

Title:
  Rhythmbox can't load some plugins

Status in “rhythmbox” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: rhythmbox

  This bug has been found on ubuntu 10.10, rhythmbox package version is
  0.13.1-0ubuntu6

  I tried to enable the "album art" plugin in rhythmbox, but it displays a message saying it couldn't be loaded. In the terminal, I get this:
  (rhythmbox:11864): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  ** Message: pygobject_register_sinkfunc is deprecated (GstObject)

  (rhythmbox:11864): Rhythmbox-WARNING **: Could not import gettext
  ImportError: ./gettext.so: ELF file OS ABI invalid

  (rhythmbox:11864): Rhythmbox-WARNING **: unable to load module as
  python runtime could not be initialized

  (rhythmbox:11864): Rhythmbox-WARNING **: Could not load plugin
  artdisplay

  (rhythmbox:11864): Rhythmbox-WARNING **: Error, impossible to activate
  plugin 'Album art'

  (rhythmbox:11864): Rhythmbox-WARNING **: unable to load module as
  python runtime could not be initialized

  (rhythmbox:11864): Rhythmbox-WARNING **: Could not load plugin
  artdisplay

  (rhythmbox:11864): Rhythmbox-WARNING **: Error, impossible to activate
  plugin 'Album art'

  This also happens with most other plugins on the list, all of them
  being default from ubuntu's version of rhythmbox, not third party
  plugins.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/706752/+subscriptions