> On Jan. 3, 2013, 7:21 p.m., Vishesh Handa wrote: > > What warning? > > > > This shouldn't be a problem since we are only setting it in one place. > > Luis Silva wrote: > I guess I have some old data that is getting reindexed by the new > indexer. The error was like this: > [/usr/bin/nepomukservicestub] nepomukindexer(2909)/nepomuk (strigi > service): SimpleIndexerError: > "http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#duration has a max > cardinality of 1. Provided 1 values - > "10617"^^<http://www.w3.org/2001/XMLSchema#duration>. Existing - > "8220"^^<http://www.w3.org/2001/XMLSchema#duration>" >
Sorry. I forgot about this. Anyway, what you have proposed won't fix the error - It is a case of a conflicting duration already existing that was not removed for some reason. I'm not sure how to handle this case - Maybe we should try removing all the data and indexing again? - Vishesh ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/108132/#review24605 ----------------------------------------------------------- On Jan. 3, 2013, 7:08 p.m., Luis Silva wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://git.reviewboard.kde.org/r/108132/ > ----------------------------------------------------------- > > (Updated Jan. 3, 2013, 7:08 p.m.) > > > Review request for Nepomuk, Vishesh Handa and Sebastian Trueg. > > > Description > ------- > > Avoid some runtime warnings from the FFmpeg extractor. > NFO::duration has cardinality 1 so use setProperty intead of addProperty. > > > Diffs > ----- > > services/fileindexer/indexer/ffmpegextractor.cpp > 6a812ef7351684ef71a968d1806d1bd908c01e4f > > Diff: http://git.reviewboard.kde.org/r/108132/diff/ > > > Testing > ------- > > Seems to work ok. No more warnings from this extractor, at least for now. > > > Thanks, > > Luis Silva > >
_______________________________________________ Nepomuk mailing list [email protected] https://mail.kde.org/mailman/listinfo/nepomuk
