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 739742 - Totem plugin still uses python2
Totem plugin still uses python2
Status: RESOLVED FIXED
Product: dvb-daemon
Classification: Other
Component: general
unspecified
Other Linux
: Normal blocker
: ---
Assigned To: dvb-daemon-maint
dvb-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2014-11-06 15:48 UTC by Emilio Pozuelo Monfort
Modified: 2014-11-11 16:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Emilio Pozuelo Monfort 2014-11-06 15:48:55 UTC
client/totem-plugin/dvb-daemon.plugin.in has:

Loader=python

However totem switch to python3 plugins:

https://git.gnome.org/browse/totem/commit/src/plugins/totem-plugins-engine.c?id=e42f0dc5b287e35174158cec5d36332b7a077254

Which means when you try to enable the totem plugin in a recent totem, you get:

(totem:30035): libpeas-WARNING **: The 'python' plugin loader has not been enabled
Comment 1 Emilio Pozuelo Monfort 2014-11-06 15:50:09 UTC
BTW it's not just the loader that needs to be changed, the plugin itself needs to be ported to python3.
Comment 2 Sebastian Pölsterl 2014-11-11 12:15:27 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 3 Emilio Pozuelo Monfort 2014-11-11 14:40:20 UTC
Hi,

This still has Loader=python instead of python3:

https://git.gnome.org/browse/gnome-dvb-daemon/tree/client/totem-plugin/dvb-daemon.plugin.in

And the plugin code doesn't seem to have been updated for python 3.

So can you say where and how this has been fixed? I'm asking because I need to backport the fix to Debian.
Comment 4 Sebastian Pölsterl 2014-11-11 16:34:49 UTC
The python code the plugin is based on has been ported to python3. However, Totem plugins have only limited possibilities to alter Totem's UI (e.g. to add menu items). As stated in bug #673903, a grilo plugin would be required. An initial version of that plugin is in git master. Thanks for reminding me to remove the orphaned totem plugin loader.