Comment 7 for bug 638217

Revision history for this message
Saravanan Thirumuruganathan (saravanan-thirumuruganathan) wrote :

Hi,

zeitgeist-daemon --replace did not solve the problem for me.

I pulled the latest code for both gaj and zeitgeist and tested it. GetHistogramData seems to have been defined in gnome-activity-journal/extension/gnome_activity_journal.py . If I move this file to zeitgeist/_zeitgeist/engine/extensions then I no longer get the "TypeError: Unknown method name: GetHistogramData". Now I get an error like

** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Traceback (most recent call last):
  File "./gnome-activity-journal", line 99, in <module>
    from src.main import PortalWindow
  File "/home/neo/temp/gaj/gnome-activity-journal/src/main.py", line 30, in <module>
    from activity_widgets import MultiViewContainer, TimelineViewContainer, ThumbViewContainer
  File "/home/neo/temp/gaj/gnome-activity-journal/src/activity_widgets.py", line 35, in <module>
    from store import ContentStruct, CLIENT
  File "/home/neo/temp/gaj/gnome-activity-journal/src/store.py", line 504, in <module>
    STORE = Store()
  File "/home/neo/temp/gaj/gnome-activity-journal/src/store.py", line 370, in __init__
    day = Day(date, days_population)
  File "/home/neo/temp/gaj/gnome-activity-journal/src/store.py", line 202, in __init__
    self.insert_events(None, fact.get_events())
  File "/home/neo/temp/gaj/gnome-activity-journal/src/external.py", line 243, in get_events
    events.append(self._make_event(int(self.start_time), Interpretation.ACCESS_EVENT.uri))
  File "/home/neo/temp/gaj/gnome-activity-journal/src/external.py", line 235, in _make_event
    subject_interpretation = Interpretation.COMMENT.uri,
  File "/home/neo/temp/gaj/gnome-activity-journal/../zeitgeist/zeitgeist/datamodel.py", line 185, in __getattr__
    raise AttributeError("'%s' object has no attribute '%s'" %(self.__class__.__name__, name))
AttributeError: 'Symbol' object has no attribute 'COMMENT'