GNOME Bugzilla – Bug 727729
(rhythmbox:11953): libpeas-WARNING **: Error loading plugin 'rbzeitgeist'
Last modified: 2014-07-19 01:06:06 UTC
Description: Ubuntu Trusty Tahr (development branch) Release: 14.04 rhythmbox: 3.0.1-1ubuntu8 rhythmbox-plugin-zeitgeist: 3.0.1-1ubuntu8 I tried to enable zeitgeist plugin, but bug happend. ~$ rhythmbox (rhythmbox:11953): Gtk-CRITICAL **: gtk_css_provider_load_from_path: assertion 'path != NULL' failed Traceback (most recent call last):
+ Trace 233444
from zeitgeist.client import ZeitgeistClient
(rhythmbox:11953): libpeas-WARNING **: Error loading plugin 'rbzeitgeist' I tried to reinstall both Rhythmbox and Zeitgeist plugin too, but nothing changed. Bug happend, becouse of python-zeitgeist is only avaliable for Python2. For Python3, zeitgeist module is not exists. See downstream bug: https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/1273901 Debug mode says: In debug mode (rhythmbox --debug) the output ends with : (16:05:45) [0xff4830] [rhythmdb_process_one_event] rhythmdb.c:2513: processing RHYTHMDB_EVENT_STAT (16:05:45) [0xff4830] [rhythmdb_process_stat_event] rhythmdb.c:2152: not modified: file:///media/donnees/Musique/HIB%20music/Psychonauts%20MP3%20Soundtracks/Psychonauts%20Original%20Score/MP3s/01%20Coach's%20Welcome.mp3 (16:05:45) [0xff4830] [sync_window_settings] rb-shell.c:1902: paned position 221 (16:05:45) [0xff4830] [sync_window_settings] rb-shell.c:1909: right_paned position 1461 (16:05:45) [0xff4830] [sync_window_settings] rb-shell.c:1916: sidebar paned position 490 (16:05:45) [0xff4830] [_uri_handle_recursively_process_files] rb-file-helpers.c:894: got 9 file(s) (16:05:45) [0xff4830] [find_plugin_file] /usr/lib/rhythmbox/plugins/rb/rb.py:140: looking for coverflow/index.html in /usr/share/rhythmbox/plugins/coverart_browser
Created attachment 281094 [details] [review] zeitgeist python2 to python3 diff Here is a quick patch to get zeitgeist python package to work with the latest rhythmbox.
Steps to apply the above patch: 1. Check if the "python-zeitgeist" package in installed in your system. sid@unstable:~$ 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 2. As root, copy dir /usr/lib/python2.7/dist-packages/zeitgeist to /usr/lib/python3/dist-packages/ 3. cd /usr/lib/python3/dist-packages/zeitgeist 4. As root, patch -p0 < ~/Downloads/zeitgeist.python2_to_python3.diff Note: For this to work with rhythmbox, also apply the rhythmbox patch as noted in: https://bugzilla.gnome.org/show_bug.cgi?id=707527#c4
Created attachment 281095 [details] rhythmbox playing songs which will be logged to zeitgeist
Created attachment 281096 [details] zeitgeist displaying tracks played by rhythmbox. It works !!
*** This bug has been marked as a duplicate of bug 707527 ***