GNOME Bugzilla – Bug 707527
zeitgeist: More python3 porting
Last modified: 2018-05-24 17:58:34 UTC
This still isn't enough for the zeitgeist plugin to work on Ubuntu 13.10.
+ Trace 232450
from zeitgeist.client import ZeitgeistClient
I think it needs to be ported to the Zeitgeist 2 gobject introspection bindings
Created attachment 254143 [details] [review] zeitgeist: More python3 porting
This issue affects me too. Rhythmbox 3.0.2 (& 3.0.1), openSUSE 13.1
(In reply to comment #0) > This still isn't enough for the zeitgeist plugin to work on Ubuntu 13.10. > > This is because rhythmbox now uses python plugins based on python3 and not python2. sid@unstable:~/temp/zeitgeist$ dpkg -L python-zeitgeist /. /usr /usr/share /usr/share/doc /usr/share/doc/python-zeitgeist /usr/share/doc/python-zeitgeist/copyright /usr/share/doc/python-zeitgeist/changelog.Debian.gz /usr/lib /usr/lib/python2.7 /usr/lib/python2.7/dist-packages /usr/lib/python2.7/dist-packages/zeitgeist /usr/lib/python2.7/dist-packages/zeitgeist/_ontology.py /usr/lib/python2.7/dist-packages/zeitgeist/__init__.py /usr/lib/python2.7/dist-packages/zeitgeist/client.py /usr/lib/python2.7/dist-packages/zeitgeist/datamodel.py /usr/lib/python2.7/dist-packages/zeitgeist/mimetypes.py So, for this above zeitgeist python package needs to be reworked for python3, and probably this should come in a separate python3-zeitgeist package ( which should take a while ). Please refer to https://bugzilla.gnome.org/show_bug.cgi?id=727729 for quick workaround patch for zeitgeist package, which should make things working !! For any comments related to the zeitgeist python package, please update https://bugzilla.gnome.org/show_bug.cgi?id=727729. Not this bug. This bug will be used as a tracker bug for all python3 changes that will need to go to the rhythmbox zeitgeist plugin in /usr/lib/rhythmbox/plugins/rbzeitgeist/rbzeitgeist.py
Created attachment 281091 [details] [review] Latest python3 changes for rbzeitgeist.py Latest python3 changes for /usr/lib/rhythmbox/plugins/rbzeitgeist/rbzeitgeist.py
*** Bug 727729 has been marked as a duplicate of this bug. ***
The plugin needs to be rewritten to use zeitgeist through gobject introspection. It appears the zeitgeist python modules will not be updated to work with python 3. The zeitgeist python examples would probably be useful for anyone wishing to convert the rhythmbox plugin: http://cgit.freedesktop.org/zeitgeist/zeitgeist/tree/examples/python/ They are not python 3 compatible, but they demonstrate how to use zeitgeist via gobject introspection, which is also possible in python 3.
Has anybody looked at this? With more and more distributions switching to python3, it might be interesting to have this module converted
Created attachment 340841 [details] [review] zeitgeist: Use zeitgeist via Gobject introspection
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/rhythmbox/issues/1304.