← Back to team overview

desktop-packages team mailing list archive

[Bug 855100] Re: python plugins not working

 

Still got the following error with totem - 3.0.1-0ubuntu7 and the
subtitle downloader 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
Traceback (most recent call last):
  File "/usr/lib/totem/plugins/opensubtitles/opensubtitles.py", line 300, in <module>
    class OpenSubtitles(GObject.Object, Peas.Activatable):
  File "/usr/lib/totem/plugins/opensubtitles/opensubtitles.py", line 303, in OpenSubtitles
    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'>

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

Title:
  python plugins not working

Status in “totem” package in Ubuntu:
  Confirmed
Status in “totem” source package in Oneiric:
  Fix Released

Bug description:
  Hi,

  I upgraded to Oneiric and noticed that the upnp-coherence plugin is missing. After installing it manually, I noticed that some plugins aren't working on totem.
  Output from console:

  (totem:5249): libpeas-WARNING **: Could not find 'Module' in
  '/usr/lib/totem/plugins/upnp-coherence/upnp-coherence.plugin'

  (totem:5249): libpeas-WARNING **: Error loading '/usr/lib/totem/plugins/upnp-coherence/upnp-coherence.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
  Traceback (most recent call last):
    File "/usr/lib/totem/plugins/pythonconsole/pythonconsole.py", line 69, in <module>
      class PythonConsolePlugin(gobject.GObject, Peas.Activatable):
  TypeError: Error when calling the metaclass bases
      metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

  (totem:5249): libpeas-WARNING **: Error loading plugin 'pythonconsole'
  Traceback (most recent call last):
    File "/usr/lib/totem/plugins/opensubtitles/opensubtitles.py", line 298, in <module>
      class OpenSubtitles(gobject.GObject, Peas.Activatable):
  TypeError: Error when calling the metaclass bases
      metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

  (totem:5249): libpeas-WARNING **: Error loading plugin 'opensubtitles'
  Traceback (most recent call last):
    File "/usr/lib/totem/plugins/jamendo/jamendo.py", line 66, in <module>
      class JamendoPlugin(gobject.GObject, Peas.Activatable, PeasGtk.Configurable):
  TypeError: Error when calling the metaclass bases
      metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

  (totem:5249): libpeas-WARNING **: Error loading plugin 'jamendo'
  Traceback (most recent call last):
    File "/usr/lib/totem/plugins/dbus/dbus-service.py", line 30, in <module>
      class dbusservice(gobject.GObject, Peas.Activatable):
  TypeError: Error when calling the metaclass bases
      metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

  (totem:5249): libpeas-WARNING **: Error loading plugin 'dbus-service'
  Traceback (most recent call last):
    File "/usr/lib/totem/plugins/iplayer/iplayer.py", line 16, in <module>
      class IplayerPlugin (gobject.GObject, Peas.Activatable):
  TypeError: Error when calling the metaclass bases
      metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

  (totem:5249): libpeas-WARNING **: Error loading plugin 'iplayer'
  Totem-Message: socket created
  Segmentation fault (core dumped)

  ProblemType: BugDistroRelease: Ubuntu 11.10
  Package: totem 3.0.1-0ubuntu5
  ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
  Uname: Linux 3.0.0-11-generic i686
  NonfreeKernelModules: slamr
  ApportVersion: 1.23-0ubuntu1
  Architecture: i386
  Date: Tue Sep 20 23:39:19 2011SourcePackage: totem
  UpgradeStatus: Upgraded to oneiric on 2011-09-17 (3 days ago)

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


References