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 727729 - (rhythmbox:11953): libpeas-WARNING **: Error loading plugin 'rbzeitgeist'
(rhythmbox:11953): libpeas-WARNING **: Error loading plugin 'rbzeitgeist'
Status: RESOLVED DUPLICATE of bug 707527
Product: rhythmbox
Classification: Other
Component: Plugins (other)
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-04-07 07:56 UTC by Walter Garcia-Fontes
Modified: 2014-07-19 01:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
zeitgeist python2 to python3 diff (12.69 KB, patch)
2014-07-18 13:24 UTC, gnome.vrb
none Details | Review
rhythmbox playing songs which will be logged to zeitgeist (133.43 KB, image/png)
2014-07-18 13:28 UTC, gnome.vrb
  Details
zeitgeist displaying tracks played by rhythmbox. It works !! (147.49 KB, image/png)
2014-07-18 13:29 UTC, gnome.vrb
  Details

Description Walter Garcia-Fontes 2014-04-07 07:56:43 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):
  • File "/usr/lib/rhythmbox/plugins/rbzeitgeist/rbzeitgeist.py", line 35 in <module>
    from zeitgeist.client import ZeitgeistClient
ImportError: No module named 'zeitgeist'

(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
Comment 1 gnome.vrb 2014-07-18 13:24:47 UTC
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.
Comment 2 gnome.vrb 2014-07-18 13:26:29 UTC
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
Comment 3 gnome.vrb 2014-07-18 13:28:43 UTC
Created attachment 281095 [details]
rhythmbox playing songs which will be logged to zeitgeist
Comment 4 gnome.vrb 2014-07-18 13:29:36 UTC
Created attachment 281096 [details]
zeitgeist displaying tracks played by rhythmbox. It works !!
Comment 5 Jonathan Matthew 2014-07-19 01:06:06 UTC

*** This bug has been marked as a duplicate of bug 707527 ***