[Nepomuk] [PATCH] Metadata mover

Vishesh Handa handa.vish at gmail.com
Tue May 18 13:02:08 CEST 2010


On Tue, May 18, 2010 at 4:22 PM, Sebastian Trüg <trueg at kde.org> wrote:

> One more question:
>
> On 05/14/2010 03:12 PM, Vishesh Handa wrote:
> > r -> * QUrl(
> > "nepomuk:/res/0887efd7-b6ab-4acf-8f0a-74ed7106c6ed" )*
> > url ->
> > *KUrl("file:///home/vishesh/Index_LOO/Phonemusic/19.mp3")*
>
> > r ->  *QUrl(
> > "nepomuk:/res/b9f11a5b-cbe3-4797-9fe0-0f293a215a9e" )*
> > url ->
> > *KUrl("file:///home/vishesh/Index_LOO/Phonemusic/19.mp3")*
>
> What exactly is this?
> Does Virtuoso return the wrong URL or is one resource skipped?
>
>
It returns the wrong URL. The resource *
nepomuk:/res/b9f11a5b-cbe3-4797-9fe0-0f293a215a9e* actually has a nie:url of
*file:///home/vishesh/Index_LOO/Phonemusic/20.mp3*. It shows 19.mp3.

The output show is from MetadataMover::updateMetadata inside the while loop.
I simply added debug statements to print the uri and url.

- Vishesh Handa

Cheers,
> Sebastian
> _______________________________________________
> Nepomuk mailing list
> Nepomuk at kde.org
> https://mail.kde.org/mailman/listinfo/nepomuk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/nepomuk/attachments/20100518/f75ad19d/attachment.htm 


More information about the Nepomuk mailing list