[Nepomuk] Review Request: Avoid some runtime warnings from the FFmpeg extractor.
Luis Silva
lacsilva at gmail.com
Thu Jan 3 21:52:08 UTC 2013
> 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.
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>"
- Luis
-----------------------------------------------------------
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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20130103/a755427b/attachment.html>
More information about the Nepomuk
mailing list