How about doing it in 2 steps

then delete_events

You received this bug notification because you are a member of Activity
Log Manager, which is the registrant for Activity Log Manager.

  API for deletion of events within a timerange?

Status in Activity Log Manager for Zeitgeist:
Status in Zeitgeist Framework:

Bug description:
  If I try to select date range more then a month it just freezes.

  $ activity-log-manager 
  INFO:zeitgeist.client:Reconnected to Zeitgeist engine...
  Error from Zeitgeist engine: 
org.freedesktop.DBus.Python.sqlite3.OperationalError: Traceback (most recent 
call last):
    File "/usr/lib/pymodules/python2.7/dbus/", line 702, in 
      retval = candidate_method(self, *args, **keywords)
    File "/usr/share/zeitgeist/_zeitgeist/engine/", line 337, in 
      timestamps = self._engine.delete_events(event_ids, sender=sender)
    File "/usr/share/zeitgeist/_zeitgeist/engine/", line 838, in 
      % ",".join(["?"] * len(ids)), ids)
    File "/usr/share/zeitgeist/_zeitgeist/engine/", line 74, in execute
      return super(UnicodeCursor, self).execute(statement, parameters)
  OperationalError: too many SQL variables

  Version: 0.8.0-0ubuntu1~ppa2~natty

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to