[Zeitgeist] [Bug 646724] Re: not all files show up in files-place

2012-03-12 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-desktop/unity-lens-files/ubuntu

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

Title:
  not all files show up in files-place

Status in Unity:
  Fix Released
Status in Unity 2D:
  Fix Released
Status in Unity Files Lens:
  Fix Released
Status in Zeitgeist Framework:
  Invalid
Status in Zeitgeist Data-Sources:
  Invalid
Status in “unity-lens-files” package in Ubuntu:
  Fix Released
Status in “zeitgeist” package in Ubuntu:
  Fix Released

Bug description:
  The Unity interface, with its files-place feature for user access to
  files/documents etc. is really great.

  However there is a problem since the search feature relies wholly on
  zeitgeist (AFAIK), in the zeitgeist is not tracking everything.

  E.g. in openoffice, I create a new file (or open an existing one) from
  within openoffice itself. This file does not show up, presumably
  because openoffice does not (yet) push its activity to zeitgeist.

  I guess any number of other programs could suffer the same problem.

  For the average user, this is surely going to be confusing. They will
  create documents via legitimate means ('New ...' buttons in their
  applications), and then expect to be able to search for them in the
  Unity files-place interface.

  To avoid this confusion I would guess there really needs to be a
  filesystem watcher on the home dir (or key folders within it) so that
  zeitgeist is aware of activity caused by non-zeitgeist-aware
  applications.

  (See also bug 897393, about warning users that the search doesn't
  search all files.)

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

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 646724] Re: not all files show up in files-place

2012-03-12 Thread Launchpad Bug Tracker
This bug was fixed in the package unity-lens-files - 5.6.0-0ubuntu1

---
unity-lens-files (5.6.0-0ubuntu1) precise; urgency=low

  * New upstream release.
- Content of hidden folders shown in unity-lens-files (LP: #878052)
- not all files show up in files-place (LP: #646724)
 -- Didier Roche didro...@ubuntu.com   Mon, 12 Mar 2012 12:04:25 +0100

** Changed in: unity-lens-files (Ubuntu)
   Status: Triaged = Fix Released

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

Title:
  not all files show up in files-place

Status in Unity:
  Fix Released
Status in Unity 2D:
  Fix Released
Status in Unity Files Lens:
  Fix Released
Status in Zeitgeist Framework:
  Invalid
Status in Zeitgeist Data-Sources:
  Invalid
Status in “unity-lens-files” package in Ubuntu:
  Fix Released
Status in “zeitgeist” package in Ubuntu:
  Fix Released

Bug description:
  The Unity interface, with its files-place feature for user access to
  files/documents etc. is really great.

  However there is a problem since the search feature relies wholly on
  zeitgeist (AFAIK), in the zeitgeist is not tracking everything.

  E.g. in openoffice, I create a new file (or open an existing one) from
  within openoffice itself. This file does not show up, presumably
  because openoffice does not (yet) push its activity to zeitgeist.

  I guess any number of other programs could suffer the same problem.

  For the average user, this is surely going to be confusing. They will
  create documents via legitimate means ('New ...' buttons in their
  applications), and then expect to be able to search for them in the
  Unity files-place interface.

  To avoid this confusion I would guess there really needs to be a
  filesystem watcher on the home dir (or key folders within it) so that
  zeitgeist is aware of activity caused by non-zeitgeist-aware
  applications.

  (See also bug 897393, about warning users that the search doesn't
  search all files.)

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

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Branch ~zeitgeist/zeitgeist/bluebird] Rev 419: fix to make zeitgeist compatible with vala 0.16

2012-03-12 Thread noreply

revno: 419
committer: Seif Lotfy s...@lotfy.com
branch nick: zeitgeist
timestamp: Mon 2012-03-12 14:41:16 +0100
message:
  fix to make zeitgeist compatible with vala 0.16
modified:
  extensions/ds-registry.vala


--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to 
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'extensions/ds-registry.vala'
--- extensions/ds-registry.vala	2011-09-28 12:51:08 +
+++ extensions/ds-registry.vala	2012-03-12 13:41:16 +
@@ -144,7 +144,7 @@
 return registry;
 }
 
-public static Variant to_variant (
+private static Variant to_variant (
 HashTablestring, DataSource sources)
 {
 var vb = new VariantBuilder (new VariantType (SIG_DATASOURCES));

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Merge] lp:~tdfischer/zeitgeist/bluebird into lp:zeitgeist

2012-03-12 Thread Trever Fischer
Trever Fischer has proposed merging lp:~tdfischer/zeitgeist/bluebird into 
lp:zeitgeist.

Requested reviews:
  Seif Lotfy (seif)

For more details, see:
https://code.launchpad.net/~tdfischer/zeitgeist/bluebird/+merge/97026

Fixes #953041
-- 
https://code.launchpad.net/~tdfischer/zeitgeist/bluebird/+merge/97026
Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
=== modified file 'extensions/ds-registry.vala'
--- extensions/ds-registry.vala	2012-03-12 13:41:16 +
+++ extensions/ds-registry.vala	2012-03-12 14:19:24 +
@@ -144,7 +144,7 @@
 return registry;
 }
 
-private static Variant to_variant (
+public static Variant to_variant (
 HashTablestring, DataSource sources)
 {
 var vb = new VariantBuilder (new VariantType (SIG_DATASOURCES));

=== modified file 'src/db-reader.vala'
--- src/db-reader.vala	2012-02-05 14:52:13 +
+++ src/db-reader.vala	2012-03-12 14:19:24 +
@@ -652,7 +652,7 @@
 where.add_wildcard_condition (actor, val, negated);
 else
 where.add_match_condition (actor,
-actors_table.get_id (val), negated);
+actors_table.find_id (val), negated);
 }
 
 // Origin
@@ -712,7 +712,7 @@
 subj_mimetype, val, negated);
 else
 where.add_match_condition (subj_mimetype,
-mimetypes_table.get_id (val), negated);
+mimetypes_table.find_id (val), negated);
 }
 
 // URI
@@ -851,14 +851,14 @@
 if (symbols.length () == 1)
 {
 subwhere.add_match_condition (table_name,
-lookup_table.get_id (_symbol));
+lookup_table.find_id (_symbol));
 }
 else
 {
 var sb = new StringBuilder ();
 foreach (unowned string uri in symbols)
 {
-sb.append_printf (%d,, lookup_table.get_id (uri));
+sb.append_printf (%d,, lookup_table.find_id (uri));
 }
 sb.truncate (sb.len - 1);
 

=== modified file 'src/table-lookup.vala'
--- src/table-lookup.vala	2012-02-13 20:14:41 +
+++ src/table-lookup.vala	2012-03-12 14:19:24 +
@@ -75,6 +75,25 @@
 }
 }
 
+/**
+ * Searches the table for the given ID, returns -1 if not found.
+ *
+ * @see get_id
+ */
+public int find_id (string name)
+{
+int id = value_to_id.lookup (name);
+if (id == 0)
+return -1;
+return id;
+}
+
+/**
+ * Searches the table for the given ID, inserts a new one if not found.
+ *
+ * @see find_id
+ *
+ */
 public int get_id (string name)
 {
 int id = value_to_id.lookup (name);

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Branch ~zeitgeist/zeitgeist/bluebird] Rev 420: Index only recognized uri schemes

2012-03-12 Thread noreply

revno: 420
committer: Michal Hruby michal@gmail.com
branch nick: zeitgeist
timestamp: Mon 2012-03-12 15:22:16 +0100
message:
  Index only recognized uri schemes
modified:
  extensions/fts++/indexer.cpp
  extensions/fts++/indexer.h


--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to 
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'extensions/fts++/indexer.cpp'
--- extensions/fts++/indexer.cpp	2012-03-07 16:08:26 +
+++ extensions/fts++/indexer.cpp	2012-03-12 14:22:16 +
@@ -106,9 +106,17 @@
 
 g_assert (g_checksum_type_get_length (G_CHECKSUM_MD5) == HASH_LENGTH);
 this-checksum = g_checksum_new (G_CHECKSUM_MD5);
-if (!this-checksum)
-g_critical (GChecksum initialization failed.);
-
+if (!this-checksum) g_critical (GChecksum initialization failed.);
+
+GError *error = NULL;
+/* we need to be careful with what we log, for example ubuntuone logs its
+ * weird uids and that screws up the index */
+this-uri_schemes_regex = g_regex_new (
+(file|http[s]?|[s]?ftp|ssh|smb|dav[s]?|application)$, G_REGEX_OPTIMIZE,
+(GRegexMatchFlags) 0, error);
+
+if (error)
+  g_critical (Unable to initialize uri scheme regex: %s, error-message);
   }
   catch (const Xapian::Error xp_error)
   {
@@ -399,7 +407,7 @@
   tokenizer-index_text (StringUtils::AsciiFold (text), 5);
 }
 
-void Indexer::IndexUri (std::string const uri, std::string const origin)
+bool Indexer::IndexUri (std::string const uri, std::string const origin)
 {
   GFile *f = g_file_new_for_uri (uri.c_str ());
 
@@ -407,12 +415,21 @@
   if (scheme == NULL)
   {
 g_warning (Invalid URI: %s, uri.c_str ());
-return;
+g_object_unref (f);
+return false;
   }
 
   std::string scheme_str(scheme);
   g_free (scheme);
 
+  // do we support this scheme?
+  if (!g_regex_match (uri_schemes_regex, scheme_str.c_str (),
+(GRegexMatchFlags) 0, NULL))
+  {
+g_object_unref (f);
+return false;
+  }
+
   if (scheme_str == file)
   {
 // FIXME: special case some typical filenames (like photos)
@@ -462,7 +479,7 @@
 weight_index  G_N_ELEMENTS (path_weights))
 {
   // if this is already home directory we don't want it
-  if (path_component == home_dir_path) return;
+  if (path_component == home_dir_path) break;
 
   gchar *name = g_path_get_basename (path_component.c_str ());
 
@@ -481,10 +498,11 @@
 // mailto:usern...@server.com
 size_t scheme_len = scheme_str.length () + 1;
 size_t at_pos = uri.find ('@', scheme_len);
-if (at_pos == std::string::npos) return;
-
-tokenizer-index_text (uri.substr (scheme_len, at_pos - scheme_len), 5);
-tokenizer-index_text (uri.substr (at_pos + 1), 1);
+if (at_pos != std::string::npos)
+{
+  tokenizer-index_text (uri.substr (scheme_len, at_pos - scheme_len), 5);
+  tokenizer-index_text (uri.substr (at_pos + 1), 1);
+}
   }
   else if (scheme_str.compare (0, 4, http) == 0)
   {
@@ -578,6 +596,8 @@
   }
 
   g_object_unref (f);
+
+  return true;
 }
 
 bool Indexer::IndexActor (std::string const actor, bool is_subject)
@@ -1035,15 +1055,11 @@
 if (!IndexActor (uri, true))
   IndexUri (uri, origin);
   }
-  else if (uri.compare (0, 10, ubuntuone:) == 0)
+  else if (!IndexUri (uri, origin))
   {
-// U1 logs its uids, we don't want to index those
+// unsupported uri scheme
 return;
   }
-  else
-  {
-IndexUri (uri, origin);
-  }
 }
 
 AddDocFilters (event, doc);

=== modified file 'extensions/fts++/indexer.h'
--- extensions/fts++/indexer.h	2012-03-07 16:08:26 +
+++ extensions/fts++/indexer.h	2012-03-12 14:22:16 +
@@ -57,6 +57,7 @@
 if (query_parser) delete query_parser;
 if (db) delete db;
 if (checksum) g_checksum_free (checksum);
+if (uri_schemes_regex) g_regex_unref (uri_schemes_regex);
 
 for (AppInfoMap::iterator it = app_info_cache.begin ();
  it != app_info_cache.end (); ++it)
@@ -111,7 +112,7 @@
 
   void AddDocFilters (ZeitgeistEvent *event, Xapian::Document doc);
   void IndexText (std::string const text);
-  void IndexUri (std::string const uri, std::string const origin);
+  bool IndexUri (std::string const uri, std::string const origin);
   bool IndexActor (std::string const actor, bool is_subject);
 
   gboolean ClearFailedLookupsCb ();
@@ -123,7 +124,8 @@
   Xapian::TermGenerator*tokenizer;
   AppInfoMapapp_info_cache;
   ApplicationSetfailed_lookups;
-  GChecksum *checksum;
+  GChecksum*checksum;
+  GRegex   *uri_schemes_regex; 
 
   guint clear_failed_id;
   std::string   home_dir_path;


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

2012-03-12 Thread Seif Lotfy
** Branch linked: lp:~tdfischer/zeitgeist/bluebird

-- 
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:
  New

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

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 950983] Re: Storage monitor sets up weird storage ids

2012-03-12 Thread Seif Lotfy
Please run this script you will find something bogus there.
I think it has something to do with the storage-monitor extension

http://pastebin.com/sPLu78G5

-- 
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/950983

Title:
  Storage monitor sets up weird storage ids

Status in Zeitgeist Framework:
  Confirmed

Bug description:
  Seems like the storage monitor is giving out random ids or something that are 
not respected by the event
  I have several entries in my event table with storage_id 863 which however 
does not exist.

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

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 799531] Re: API for deletion of events within a timerange?

2012-03-12 Thread Seif Lotfy
so something like

delete_events_for_template (TimeRange tr, event_templates)

also expose it over dbus and add some tests

-- 
You received this bug notification because you are a member of Activity
Log Manager, which is the registrant for Activity Log Manager.
https://bugs.launchpad.net/bugs/799531

Title:
  API for deletion of events within a timerange?

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

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/service.py, line 702, in 
_message_cb
  retval = candidate_method(self, *args, **keywords)
File /usr/share/zeitgeist/_zeitgeist/engine/remote.py, line 337, in 
DeleteEvents
  timestamps = self._engine.delete_events(event_ids, sender=sender)
File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 838, in 
delete_events
  % ,.join([?] * len(ids)), ids)
File /usr/share/zeitgeist/_zeitgeist/engine/sql.py, 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:
https://bugs.launchpad.net/activity-log-manager/+bug/799531/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


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

2012-03-12 Thread Trever Fischer
Public bug reported:

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.

** Affects: zeitgeist
 Importance: Undecided
 Status: New

-- 
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:
  New

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

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 865435] [NEW] Zeitgeist daemon segfault

2012-03-12 Thread Launchpad Bug Tracker
You have been subscribed to a public bug:

I've got an 11.04 laptop and my system will randomly crash and bring me
back to the login screen. There's no guaranteed way to trigger it, but
it only seems to occur when opening synaptic, pressing cancel from the
administrator password dialog, or just randomly when using synaptic.

I recently upgraded to the newest ATI drivers and I though that must be
the cause, but I vaguely remember it doing it once or twice a day or so
beforehand. Furthermore, I took a look at the syslog and it seems to be
a segfault in Zeitgeist, and didn't that update recently too?

** Affects: zeitgeist
 Importance: Undecided
 Status: New


** Tags: daemon segfault synaptic
-- 
Zeitgeist daemon segfault
https://bugs.launchpad.net/bugs/865435
You received this bug notification because you are a member of Zeitgeist 
Framework Team, which is subscribed to Zeitgeist Framework.

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 799531] Re: API for deletion of events within a timerange?

2012-03-12 Thread मनीष सिन्हा
How about doing it in 2 steps

find_events_ids
THEN
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.
https://bugs.launchpad.net/bugs/799531

Title:
  API for deletion of events within a timerange?

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

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/service.py, line 702, in 
_message_cb
  retval = candidate_method(self, *args, **keywords)
File /usr/share/zeitgeist/_zeitgeist/engine/remote.py, line 337, in 
DeleteEvents
  timestamps = self._engine.delete_events(event_ids, sender=sender)
File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 838, in 
delete_events
  % ,.join([?] * len(ids)), ids)
File /usr/share/zeitgeist/_zeitgeist/engine/sql.py, 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:
https://bugs.launchpad.net/activity-log-manager/+bug/799531/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 799531] Re: API for deletion of events within a timerange?

2012-03-12 Thread Trever Fischer
A potential solution?

** Patch added: bzr.patch
   
https://bugs.launchpad.net/zeitgeist/+bug/799531/+attachment/2857018/+files/bzr.patch

-- 
You received this bug notification because you are a member of Activity
Log Manager, which is the registrant for Activity Log Manager.
https://bugs.launchpad.net/bugs/799531

Title:
  API for deletion of events within a timerange?

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

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/service.py, line 702, in 
_message_cb
  retval = candidate_method(self, *args, **keywords)
File /usr/share/zeitgeist/_zeitgeist/engine/remote.py, line 337, in 
DeleteEvents
  timestamps = self._engine.delete_events(event_ids, sender=sender)
File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 838, in 
delete_events
  % ,.join([?] * len(ids)), ids)
File /usr/share/zeitgeist/_zeitgeist/engine/sql.py, 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:
https://bugs.launchpad.net/activity-log-manager/+bug/799531/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 865435] Re: Zeitgeist daemon segfault

2012-03-12 Thread मनीष सिन्हा
** Project changed: zeitgeist-explorer = zeitgeist

-- 
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/865435

Title:
  Zeitgeist daemon segfault

Status in Zeitgeist Framework:
  New

Bug description:
  I've got an 11.04 laptop and my system will randomly crash and bring
  me back to the login screen. There's no guaranteed way to trigger it,
  but it only seems to occur when opening synaptic, pressing cancel
  from the administrator password dialog, or just randomly when using
  synaptic.

  I recently upgraded to the newest ATI drivers and I though that must
  be the cause, but I vaguely remember it doing it once or twice a day
  or so beforehand. Furthermore, I took a look at the syslog and it
  seems to be a segfault in Zeitgeist, and didn't that update recently
  too?

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

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


Re: [Zeitgeist] [Bug 799531] Re: API for deletion of events within a timerange?

2012-03-12 Thread Seif Lotfy
looks good
can you make it return the ids of the events that got deleted?
It should support a callback

2012/3/12 Trever Fischer 799...@bugs.launchpad.net

 A potential solution?

 ** Patch added: bzr.patch

 https://bugs.launchpad.net/zeitgeist/+bug/799531/+attachment/2857018/+files/bzr.patch

 --
 You received this bug notification because you are a member of Activity
 Log Manager, which is the registrant for Activity Log Manager.
 https://bugs.launchpad.net/bugs/799531

 Title:
  API for deletion of events within a timerange?

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

 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/service.py, line 702, in
 _message_cb
  retval = candidate_method(self, *args, **keywords)
File /usr/share/zeitgeist/_zeitgeist/engine/remote.py, line 337, in
 DeleteEvents
  timestamps = self._engine.delete_events(event_ids, sender=sender)
File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 838, in
 delete_events
  % ,.join([?] * len(ids)), ids)
File /usr/share/zeitgeist/_zeitgeist/engine/sql.py, 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:
 https://bugs.launchpad.net/activity-log-manager/+bug/799531/+subscriptions


-- 
You received this bug notification because you are a member of Activity
Log Manager, which is the registrant for Activity Log Manager.
https://bugs.launchpad.net/bugs/799531

Title:
  API for deletion of events within a timerange?

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

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/service.py, line 702, in 
_message_cb
  retval = candidate_method(self, *args, **keywords)
File /usr/share/zeitgeist/_zeitgeist/engine/remote.py, line 337, in 
DeleteEvents
  timestamps = self._engine.delete_events(event_ids, sender=sender)
File /usr/share/zeitgeist/_zeitgeist/engine/main.py, line 838, in 
delete_events
  % ,.join([?] * len(ids)), ids)
File /usr/share/zeitgeist/_zeitgeist/engine/sql.py, 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:
https://bugs.launchpad.net/activity-log-manager/+bug/799531/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 925637] Re: Folder blacklisted list should be enhanced to match with the prototype

2012-03-12 Thread Stefano Candori
** Changed in: activity-log-manager
   Status: Confirmed = Fix Committed

-- 
You received this bug notification because you are a member of Activity
Log Manager, which is the registrant for Activity Log Manager.
https://bugs.launchpad.net/bugs/925637

Title:
  Folder blacklisted list should be enhanced to match with the prototype

Status in Activity Log Manager for Zeitgeist:
  Fix Committed

Bug description:
  Right now files blocklisting is just a list of folders. It should contain a 
icon and nautilus icon in case of special folders
  Right now it looks like this
  http://i.imgur.com/MfD5E.png

  and should look like
  
https://lh4.googleusercontent.com/VzHz73ZkGqMdtsqK3uelIRMJqCXsQ74Y6WhP4qLRLkTNdOoHAZrgEkurV-N_wSPFQwr5inz0gT0iL5hb6rXk-Ughj1FAk_A3RXtgFIM9L8K2c_kJ2Ok

To manage notifications about this bug go to:
https://bugs.launchpad.net/activity-log-manager/+bug/925637/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


Re: [Zeitgeist] [Bug 925637] Re: Folder blacklisted list should be enhanced to match with the prototype

2012-03-12 Thread Seif Lotfy
Awesome job dude... Before you merge please apply for merging since i found
a tiny issue
you have to make sure that the font size of the directory name is exactly
as big as the heade above it (the one that says Don't record activity in
the following folders:)

right now you hardcode it to 12 (it should be 11), but it should respect
the current system font-size by imitating the header.

2012/3/12 Stefano Candori stefano.cand...@gmail.com

 ** Changed in: activity-log-manager
   Status: Confirmed = Fix Committed

 --
 You received this bug notification because you are a member of Activity
 Log Manager, which is the registrant for Activity Log Manager.
 https://bugs.launchpad.net/bugs/925637

 Title:
  Folder blacklisted list should be enhanced to match with the prototype

 Status in Activity Log Manager for Zeitgeist:
   Fix Committed

 Bug description:
  Right now files blocklisting is just a list of folders. It should contain
 a icon and nautilus icon in case of special folders
  Right now it looks like this
  http://i.imgur.com/MfD5E.png

  and should look like

 https://lh4.googleusercontent.com/VzHz73ZkGqMdtsqK3uelIRMJqCXsQ74Y6WhP4qLRLkTNdOoHAZrgEkurV-N_wSPFQwr5inz0gT0iL5hb6rXk-Ughj1FAk_A3RXtgFIM9L8K2c_kJ2Ok

 To manage notifications about this bug go to:
 https://bugs.launchpad.net/activity-log-manager/+bug/925637/+subscriptions


-- 
You received this bug notification because you are a member of Activity
Log Manager, which is the registrant for Activity Log Manager.
https://bugs.launchpad.net/bugs/925637

Title:
  Folder blacklisted list should be enhanced to match with the prototype

Status in Activity Log Manager for Zeitgeist:
  Fix Committed

Bug description:
  Right now files blocklisting is just a list of folders. It should contain a 
icon and nautilus icon in case of special folders
  Right now it looks like this
  http://i.imgur.com/MfD5E.png

  and should look like
  
https://lh4.googleusercontent.com/VzHz73ZkGqMdtsqK3uelIRMJqCXsQ74Y6WhP4qLRLkTNdOoHAZrgEkurV-N_wSPFQwr5inz0gT0iL5hb6rXk-Ughj1FAk_A3RXtgFIM9L8K2c_kJ2Ok

To manage notifications about this bug go to:
https://bugs.launchpad.net/activity-log-manager/+bug/925637/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 925637] Re: Folder blacklisted list should be enhanced to match with the prototype

2012-03-12 Thread Stefano Candori
Sure seif, thanks. I'll fix it this evening...

-- 
You received this bug notification because you are a member of Activity
Log Manager, which is the registrant for Activity Log Manager.
https://bugs.launchpad.net/bugs/925637

Title:
  Folder blacklisted list should be enhanced to match with the prototype

Status in Activity Log Manager for Zeitgeist:
  Fix Committed

Bug description:
  Right now files blocklisting is just a list of folders. It should contain a 
icon and nautilus icon in case of special folders
  Right now it looks like this
  http://i.imgur.com/MfD5E.png

  and should look like
  
https://lh4.googleusercontent.com/VzHz73ZkGqMdtsqK3uelIRMJqCXsQ74Y6WhP4qLRLkTNdOoHAZrgEkurV-N_wSPFQwr5inz0gT0iL5hb6rXk-Ughj1FAk_A3RXtgFIM9L8K2c_kJ2Ok

To manage notifications about this bug go to:
https://bugs.launchpad.net/activity-log-manager/+bug/925637/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp