← Back to team overview

zeitgeist team mailing list archive

[Bug 953041] Re: Extraneous actors are inserted into sqlite database during read-only operations

 

** Changed in: zeitgeist
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/953041

Title:
  Extraneous actors are inserted into sqlite database during read-only
  operations

Status in Zeitgeist Framework:
  Fix Released

Bug description:
  Example code:

  import time, os
  from gi.repository import GObject
  from zeitgeist.client import ZeitgeistClient
  from zeitgeist.datamodel import Event, Subject, Interpretation
  zg = ZeitgeistClient()

  event_template = Event()
  event_template.actor = "foo"

  mainloop = GObject.MainLoop()

  def callback(events):
      print len(events)
      mainloop.quit()

  zg.find_events_for_templates([event_template], callback, num_events=100, result_type=0)
  mainloop.run()

  Searching the actors table in sqlite shows a "foo" actor after
  execution.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/953041/+subscriptions


References