Bug 265656 - akonadi floods nepomuk with duplicates
Summary: akonadi floods nepomuk with duplicates
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Nepomuk Feeder Agents (show other bugs)
Version: 4.6
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Koenig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-06 23:55 UTC by Luis Silva
Modified: 2012-01-15 12:16 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
A modified mergeresources.py that exposes this behavior. (4.35 KB, text/plain)
2011-02-06 23:55 UTC, Luis Silva
Details
Screenshot Krunner showing multiplicated contact (115.47 KB, image/png)
2011-10-04 20:10 UTC, BartOtten
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luis Silva 2011-02-06 23:55:40 UTC
Created attachment 56932 [details]
A modified mergeresources.py that exposes this behavior.

Version:           4.6 (using KDE 4.6.0) 
OS:                Linux

I have been playing around with the resource merging in playground:
http://websvn.kde.org/trunk/playground/base/nepomuk-kde/toolbox/mergeresources.py

Using the following query one finds hundreds of duplicates:
select distinct ?people count(?r) where { ?r a nco:PersonContact . ?r nco:fullname ?people . }

I tried to merge these and I noticed a huge improve in queries afterwards.

Reproducible: Always

Steps to Reproduce:
Install and make use of the nepomuk email, calendar and contact feeders.

Actual Results:  
A duplicate resource is created in nepomuk every time the feeder starts.

Expected Results:  
Each task, contact, email, etc. should only be fed to nepomuk once. Feeders should properly check for this.

I am posting a modified mergeresources.py that exposes this behavior.
Comment 1 Ignacio Serantes 2011-09-24 10:52:33 UTC
The same for audio files. I think that the problem is related to a bad serialization, a bad transaction or both problems at the same time.
Comment 2 Luis Silva 2011-09-26 16:58:23 UTC
Although the situation has incredibly improved with the new nepomuk feeder, I am still getting some duplicates, especially with my own e-mail. I am also seeing "MERGING FAILED!" messages during indexing.
Comment 3 BartOtten 2011-10-04 20:10:08 UTC
Created attachment 64212 [details]
Screenshot Krunner showing multiplicated contact

Is this related? I guess so.
Comment 4 Christophe Marin 2011-10-04 20:20:11 UTC
not sure if e91113b8e0956b8ac8ae7614a2b1faa7dfbed0f0 in kdebase-runtime fixes this.

Adding vhanda
Comment 5 Luis Silva 2011-10-04 20:25:43 UTC
After some time running the new nepomukfeeder I have no more nco:PersonContact duplicates. I still have duplicate tags, especially the "Birthday" tag is still not being merged properly.
Comment 6 Luis Silva 2012-01-15 12:16:26 UTC
No more duplicates in kde 4.8. Thanks