--- rbzeitgeist.py.orig	2014-05-29 16:14:26.000000000 +0530
+++ rbzeitgeist.py	2014-07-18 04:51:32.000000000 +0530
@@ -38,7 +38,7 @@
 try:
     IFACE = ZeitgeistClient()
 except RuntimeError as e:
-    print("Unable to connect to Zeitgeist, won't send events. Reason: '%s'" % e)
+    print(("Unable to connect to Zeitgeist, won't send events. Reason: '%s'" % e))
     IFACE = None
 
 class ZeitgeistPlugin(GObject.Object, Peas.Activatable):
@@ -131,16 +131,16 @@
 
             subject = Subject.new_for_values(
                 uri=song["location"],
-                interpretation=unicode(Interpretation.AUDIO),
-                manifestation=unicode(Manifestation.FILE_DATA_OBJECT),
+                interpretation=str(Interpretation.AUDIO),
+                manifestation=str(Manifestation.FILE_DATA_OBJECT),
                 origin=song["location"].rpartition("/")[0],
                 mimetype=uri_mimetype,
                 text=" - ".join([song["title"], song["artist"], song["album"]])
             )
             event = Event.new_for_values(
                 timestamp=int(time.time()*1000),
-                interpretation=unicode(event_type),
-                manifestation=unicode(manifest),
+                interpretation=str(event_type),
+                manifestation=str(manifest),
                 actor="application://rhythmbox.desktop",
                 subjects=[subject,]
             )
