[Zeitgeist] [Bug 641968] Re: querying on LeastRecentActor and MostRecentActor for a certain subject_uri is not working

2010-09-18 Thread Seif Lotfy
** Summary changed:

- querying on LeastRecentActor for a certain subject_uri is not working
+ querying on LeastRecentActor and MostRecentActor for a certain subject_uri is 
not working

** Changed in: zeitgeist
 Assignee: Seif Lotfy (seif) => (unassigned)

-- 
querying on LeastRecentActor and MostRecentActor for a certain subject_uri is 
not working
https://bugs.launchpad.net/bugs/641968
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: Confirmed

Bug description:
Scenario: I would like to know which actor touched a file with uri="home/boo" 
least recently.

This query should do the job:
>>> template = Event.new_for_values(subject_uri="home/boo")
>>> ids = engine.find_eventids(TimeRange.always(), [template, ], 
>>> StorageState.Any, 0, ResultType.LeastRecentActor)

However as you can see in the attached script this does always return an empty 
result. It looks like LeastRecentActor plus any search template is not working.



___
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] GNOME Activity Journal 0.5.0.1 released

2010-09-18 Thread Siegfried-Angel Gevatter Pujals
On behalf of the GNOME Activity Journal team, I am proud to announce
the immediate availability of GNOME Activity Journal 0.5.0.1 codenamed
"Bazaar". This is a bug-fix release published as a follow-up for GNOME
Activity Journal 0.5.0.

 - Updated Hamster-specific code to use the new ontology from Zeitgeist 0.5.0
   (LP: #641148, Debian bug #591267).
 - Catch exception trying to extract a non-existant thumbnail from an
   OpenDocument file (LP: #535440).
 - Fixed a possible issue with "%20" being used in filenames.
 - Some minor changes (relabeled "Goto Today" to "Go to Today", added missing
   tooltips to toolbar icons).
 - Removed superfluous debugging (timing) information.
 - Updated several translations.
 - Removed Zeitgeist version check for Zeitgeist 0.5.0 compatibility (as it
   reports a wrong version number).

The source tarball is available at
https://launchpad.net/gnome-activity-journal and a package for Ubuntu
Maverick in our PPA (https://launchpad.net/~zeitgeist/+archive/ppa).

Cheers,

-- 
Siegfried-Angel Gevatter Pujals (RainCT)
Free Software Developer       363DEAE3

___
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 641968] Re: querying on LeastRecentActor for a certain subject_uri is not working

2010-09-18 Thread Seif Lotfy
** Changed in: zeitgeist
 Assignee: (unassigned) => Seif Lotfy (seif)

-- 
querying on LeastRecentActor for a certain subject_uri is not working
https://bugs.launchpad.net/bugs/641968
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: Confirmed

Bug description:
Scenario: I would like to know which actor touched a file with uri="home/boo" 
least recently.

This query should do the job:
>>> template = Event.new_for_values(subject_uri="home/boo")
>>> ids = engine.find_eventids(TimeRange.always(), [template, ], 
>>> StorageState.Any, 0, ResultType.LeastRecentActor)

However as you can see in the attached script this does always return an empty 
result. It looks like LeastRecentActor plus any search template is not working.



___
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 639737] Re: Improve insertion times

2010-09-18 Thread Seif Lotfy
** Changed in: zeitgeist
   Status: Triaged => In Progress

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

Status in Zeitgeist Framework: In Progress

Bug description:
We insert pretty slowly with an average of 0.15 seconds for one event on my 
core i5 2.5 GHz beast.

RainCT had some optimization possibilities:
1) PRAGMA synchronous=OFF
2) PRAGMA journal_mode=OFF

The Chat:

 I think we are - but I can't recall... in case of failed 
transactions - but I don't even know if we use transactions these days...
  try synchronous=OFF
  but it can corrupt your database if your phone dies while ZG is 
inserting
  and journal_mode=MEMORY
  or OFF since we don't use rollback anyway
 so maybe journal_mode = OFF is a good start?
 okay, he's probably right...
 'grep -Ri rollback _zeitgeist/' is your friend :-)
 apparently we are not using rollback...

More info can be found here: http://www.sqlite.org/pragma.html


In order to get a better picture of what's going on, can you please try to get 
some more information, like:
1) How many events are in your database?
2) What's the insertion time for one event into an empty db?
3) Out of this 0.15 secs, how many time is spend in our python code, and what's 
the time of the actual sql action?
4) How much faster is adding 10 events at once compared to adding them one at a 
time?
5) You think 0.15 secs is slow for inserting one event, what time do you 
expect, and why?



___
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 596070] Re: Build Python module for all versions

2010-09-18 Thread Siegfried Gevatter
It looks like this problem isn't present on my system any more. Feel
free to reopen this bug report in case some action is needed.

** Changed in: zeitgeist (Ubuntu)
   Status: Triaged => Invalid

-- 
Build Python module for all versions
https://bugs.launchpad.net/bugs/596070
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: Won't Fix
Status in “zeitgeist” package in Ubuntu: Invalid

Bug description:
We need to fix our autotools to install the Python module for all available 
Python versions, not only the default one.



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


[Gnome-zeitgeist] [Bug 612732] Re: dependency on tracker?

2010-09-18 Thread Siegfried Gevatter
** Changed in: gnome-activity-journal
   Status: New => Invalid

** Also affects: gnome-activity-journal (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: gnome-activity-journal (Ubuntu)
   Importance: Undecided => Low

** Changed in: gnome-activity-journal (Ubuntu)
   Status: New => Triaged

** Changed in: gnome-activity-journal (Ubuntu)
 Assignee: (unassigned) => Siegfried Gevatter (rainct)

-- 
dependency on tracker?
https://bugs.launchpad.net/bugs/612732
You received this bug notification because you are a member of GNOME
Zeitgeist Team, which is the registrant for GNOME Activity Journal.

Status in GNOME Activity Journal: Invalid
Status in “gnome-activity-journal” package in Ubuntu: Triaged

Bug description:
The package description says "Searching requires version 0.7 or higher of 
Tracker, and will be disabled if
 this dependency can't be fulfilled."

But the package doesn't have any dependency on tracker. Either Suggests or 
Recommends sounds good.



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


[Zeitgeist] [Bug 511127] Re: Use Gloobus for thumbnails

2010-09-18 Thread Siegfried Gevatter
** Summary changed:

- Integrate with Gnome Activity Journal
+ Use Gloobus for thumbnails

-- 
Use Gloobus for thumbnails
https://bugs.launchpad.net/bugs/511127
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to [Legacy] GNOME Activity Journal.

Status in Gloobus Preview: Invalid
Status in GNOME Activity Journal: New
Status in [Legacy] GNOME Activity Journal: Invalid

Bug description:
Gnome Activity Journal will be a part of Gnome 3, and currently, it uses the 
legacy thumbnail system. It would be great to include Gloobus into it so that 
we can get an instant view of the files listed by date.



___
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] Translation template import - zeitgeist in Zeitgeist Framework 0.3

2010-09-18 Thread rosetta
Hello Zeitgeist Framework Team,

On 2010-09-18 15:23z (1 minutes ago), you uploaded a translation
template for zeitgeist in Zeitgeist Framework 0.3 in Launchpad.

The template has now been imported successfully.


Thank you,

The Launchpad team

___
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] Translation template import - zeitgeist in Zeitgeist Framework 0.1

2010-09-18 Thread rosetta
Hello Zeitgeist Framework Team,

On 2010-09-18 15:23z (1 minutes ago), you uploaded a translation
template for zeitgeist in Zeitgeist Framework 0.1 in Launchpad.

The template has now been imported successfully.


Thank you,

The Launchpad team

___
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] [Merge] lp:~zeitgeist/zeitgeist/pragma-settings into lp:zeitgeist

2010-09-18 Thread Siegfried Gevatter
Review: Approve
revision rai...@ubuntu.com-20100918150908-03d463fxnsk03e29 (1589)
Author: Siegfried-Angel Gevatter Pujals 
Date: Sat 2010-09-18 17:09:08 +0200
Branch: zeitgeist-trunk

Merge ~zeitgeist/zeitgeist/pragma-settings.

We change SQLite's locking mode to EXCLUSIVE, since this gives us a
little reduction in file-system operations and ensures that there is
only one process accessing the database.

We also set the journal mode to the newly available WAL, if the
system has a new enough SQLite (3.7.0+). This results in further
performance improvements but it's important to note that this change
is irreversible.
-- 
https://code.launchpad.net/~zeitgeist/zeitgeist/pragma-settings/+merge/35833
Your team Zeitgeist Framework Team is subscribed to branch 
lp:~zeitgeist/zeitgeist/pragma-settings.

___
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] [Merge] lp:~zeitgeist/zeitgeist/pragma-settings into lp:zeitgeist

2010-09-18 Thread Seif Lotfy
Ok I thought it through again and these changes don't qualify to update the DB 
version, because:
1) We don' change any real data storage scheme
2) There is no need for a database migration
3) It is revertable
-- 
https://code.launchpad.net/~zeitgeist/zeitgeist/pragma-settings/+merge/35833
Your team Zeitgeist Framework Team is requested to review the proposed merge of 
lp:~zeitgeist/zeitgeist/pragma-settings into lp:zeitgeist.

___
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] Translation template import - zeitgeist in Zeitgeist Framework 0.3

2010-09-18 Thread rosetta
Hello Zeitgeist Framework Team,

On 2010-09-18 14:35z (1 minutes ago), you uploaded a translation
template for zeitgeist in Zeitgeist Framework 0.3 in Launchpad.

The template has now been imported successfully.


Thank you,

The Launchpad team

___
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] Translation template import - zeitgeist in Zeitgeist Framework 0.1

2010-09-18 Thread rosetta
Hello Zeitgeist Framework Team,

On 2010-09-18 14:35z (1 minutes ago), you uploaded a translation
template for zeitgeist in Zeitgeist Framework 0.1 in Launchpad.

The template has now been imported successfully.


Thank you,

The Launchpad team

___
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] Translation template import - zeitgeist in Zeitgeist Framework 0.3

2010-09-18 Thread rosetta
Hello Zeitgeist Framework Team,

On 2010-09-18 14:32z (just requested), you uploaded a translation
template for zeitgeist in Zeitgeist Framework 0.3 in Launchpad.

The template has now been imported successfully.


Thank you,

The Launchpad team

___
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] Translation template import - zeitgeist in Zeitgeist Framework 0.1

2010-09-18 Thread rosetta
Hello Zeitgeist Framework Team,

On 2010-09-18 14:32z (just requested), you uploaded a translation
template for zeitgeist in Zeitgeist Framework 0.1 in Launchpad.

The template has now been imported successfully.


Thank you,

The Launchpad team

___
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 641968] Re: querying on LeastRecentActor for a certain subject_uri is not working

2010-09-18 Thread Seif Lotfy
** Changed in: zeitgeist
   Importance: Undecided => High

** Changed in: zeitgeist
Milestone: None => 0.5.2

-- 
querying on LeastRecentActor for a certain subject_uri is not working
https://bugs.launchpad.net/bugs/641968
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: Confirmed

Bug description:
Scenario: I would like to know which actor touched a file with uri="home/boo" 
least recently.

This query should do the job:
>>> template = Event.new_for_values(subject_uri="home/boo")
>>> ids = engine.find_eventids(TimeRange.always(), [template, ], 
>>> StorageState.Any, 0, ResultType.LeastRecentActor)

However as you can see in the attached script this does always return an empty 
result. It looks like LeastRecentActor plus any search template is not working.



___
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 641968] Re: querying on LeastRecentActor for a certain subject_uri is not working

2010-09-18 Thread Siegfried Gevatter
** Changed in: zeitgeist
   Status: New => Confirmed

-- 
querying on LeastRecentActor for a certain subject_uri is not working
https://bugs.launchpad.net/bugs/641968
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: Confirmed

Bug description:
Scenario: I would like to know which actor touched a file with uri="home/boo" 
least recently.

This query should do the job:
>>> template = Event.new_for_values(subject_uri="home/boo")
>>> ids = engine.find_eventids(TimeRange.always(), [template, ], 
>>> StorageState.Any, 0, ResultType.LeastRecentActor)

However as you can see in the attached script this does always return an empty 
result. It looks like LeastRecentActor plus any search template is not working.



___
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 641968] Re: querying on LeastRecentActor for a certain subject_uri is not working

2010-09-18 Thread Markus Korn

** Attachment added: "reproducer.py"
   
https://bugs.edge.launchpad.net/bugs/641968/+attachment/1601980/+files/reproducer.py

-- 
querying on LeastRecentActor for a certain subject_uri is not working
https://bugs.launchpad.net/bugs/641968
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: New

Bug description:
Scenario: I would like to know which actor touched a file with uri="home/boo" 
least recently.

This query should do the job:
>>> template = Event.new_for_values(subject_uri="home/boo")
>>> ids = engine.find_eventids(TimeRange.always(), [template, ], 
>>> StorageState.Any, 0, ResultType.LeastRecentActor)

However as you can see in the attached script this does always return an empty 
result. It looks like LeastRecentActor plus any search template is not working.



___
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 641968] [NEW] querying on LeastRecentActor for a certain subject_uri is not working

2010-09-18 Thread Markus Korn
Public bug reported:

Scenario: I would like to know which actor touched a file with
uri="home/boo" least recently.

This query should do the job:
>>> template = Event.new_for_values(subject_uri="home/boo")
>>> ids = engine.find_eventids(TimeRange.always(), [template, ], 
>>> StorageState.Any, 0, ResultType.LeastRecentActor)

However as you can see in the attached script this does always return an
empty result. It looks like LeastRecentActor plus any search template is
not working.

** Affects: zeitgeist
 Importance: Undecided
 Status: New

-- 
querying on LeastRecentActor for a certain subject_uri is not working
https://bugs.launchpad.net/bugs/641968
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: New

Bug description:
Scenario: I would like to know which actor touched a file with uri="home/boo" 
least recently.

This query should do the job:
>>> template = Event.new_for_values(subject_uri="home/boo")
>>> ids = engine.find_eventids(TimeRange.always(), [template, ], 
>>> StorageState.Any, 0, ResultType.LeastRecentActor)

However as you can see in the attached script this does always return an empty 
result. It looks like LeastRecentActor plus any search template is not working.



___
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 641621] Re: Add event_id to the debug verbose output at command line

2010-09-18 Thread Markus Korn
Hi Manish,
I don't think this is a good idea. Take your second scenario as an example, in 
this case the output would contain 13 ids, which makes the logging output hard 
to read.
If you want to get notified if (and which events) get inserted you can always 
write a tiny Monitor you can connect to zeitgeist. I think Michal Hruby has 
written one which shows details in NotifyOSD.

I'm closing this bug as Won't fix for now, feel free to reopen or ping
me on irc if you think this still needs some discussions.

Markus

** Changed in: zeitgeist
   Status: New => Won't Fix

-- 
Add event_id to the debug verbose output at command line
https://bugs.launchpad.net/bugs/641621
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: Won't Fix

Bug description:
Right now when I am running zeitgeist-daemon and I insert an event, I get an 
output

DEBUG:zeitgeist.engine:Inserted 1 events in 0.004629s

Can be event_id be also a part of it? It can be very much useful in debugging 
scenarios

Proposed:

DEBUG:zeitgeist.engine:Inserted 1 events (32622) in 0.004629s
OR
DEBUG:zeitgeist.engine:Inserted 13events (32622, 236243, 236234) in 0.014629s



___
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] [Merge] lp:~zeitgeist/zeitgeist/pragma-settings into lp:zeitgeist

2010-09-18 Thread Seif Lotfy
yep I think so

On Sat, Sep 18, 2010 at 9:34 AM, Markus Korn  wrote:

> I've another question: doesn't this change justify a boost of our db scheme
> version?
> --
>
> https://code.launchpad.net/~zeitgeist/zeitgeist/pragma-settings/+merge/35833
> You proposed lp:~zeitgeist/zeitgeist/pragma-settings for merging.
>



-- 
This is me doing some advertisement for my blog http://seilo.geekyogre.com

https://code.launchpad.net/~zeitgeist/zeitgeist/pragma-settings/+merge/35833
Your team Zeitgeist Framework Team is requested to review the proposed merge of 
lp:~zeitgeist/zeitgeist/pragma-settings into lp:zeitgeist.

___
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] [Merge] lp:~zeitgeist/zeitgeist/pragma-settings into lp:zeitgeist

2010-09-18 Thread Markus Korn
I've another question: doesn't this change justify a boost of our db scheme 
version?
-- 
https://code.launchpad.net/~zeitgeist/zeitgeist/pragma-settings/+merge/35833
Your team Zeitgeist Framework Team is requested to review the proposed merge of 
lp:~zeitgeist/zeitgeist/pragma-settings into lp:zeitgeist.

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