Bug 285834

Summary: Problem of index odt file with image.
Product: nepomuk Reporter: Weng Xuetian <wengxt>
Component: fileindexerAssignee: Sebastian Trueg <sebastian>
Status: RESOLVED WORKSFORME    
Severity: normal CC: thomas.pfeiffer, trueg
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Chakra   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Buggy test file

Description Weng Xuetian 2011-11-05 17:13:38 UTC
Created attachment 65264 [details]
Buggy test file

Version:           4.7 (using KDE 4.7.3) 
OS:                Linux

odt file with image inside created by calligra fails to be indexed.
Strigi built from recent git.
Qt 4.7.4


Some output when try to index it manually.
nepomukindexer(13230)/nepomuk (strigi service) Nepomuk::Indexer::indexFile: Starting to analyze "/home/saber/5201.odt"
nepomukindexer(13230)/nepomuk (strigi service) Nepomuk::clearIndexedData: (QUrl("file:///home/saber/5201.odt") )
nepomukindexer(13230)/nepomuk (strigi service) Nepomuk::StrigiIndexWriter::addTriplet: Depth > 0 - :lqmjr http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileHash
nepomukindexer(13230)/nepomuk (strigi service) Nepomuk::StrigiIndexWriter::addTriplet: Depth > 0 - :lqmjr http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#hashAlgorithm SHA1
nepomukindexer(13230)/nepomuk (strigi service) Nepomuk::StrigiIndexWriter::addTriplet: Depth > 0 - :lqmjr http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#hashValue e32e1db0427e416f6a1436bf713a1a89e3124e33
nepomukindexer(13230)/nepomuk (strigi service) Nepomuk::StrigiIndexWriter::addTriplet: Depth > 0 - /home/saber/5201.odt http://www.semanticdesktop.org/ontologies/2007/01/19/nie#generator Calligra/2.4 Beta 3
nepomukindexer(13230)/nepomuk (strigi service) Nepomuk::StrigiIndexWriter::addTriplet: Depth > 0 - /home/saber/5201.odt http://www.semanticdesktop.org/ontologies/2007/01/19/nie#contentCreated 2008-08-22T11:41:04
nepomukindexer(13230)/nepomuk (strigi service) Nepomuk::StrigiIndexWriter::addTriplet: Depth > 0 - :hnqxj http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileHash
nepomukindexer(13230)/nepomuk (strigi service) Nepomuk::StrigiIndexWriter::addTriplet: Depth > 0 - :hnqxj http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#hashAlgorithm SHA1
nepomukindexer(13230)/nepomuk (strigi service) Nepomuk::StrigiIndexWriter::addTriplet: Depth > 0 - :hnqxj http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#hashValue e487a3afab863ce070e80baf758e308acaa3bcb0
nepomukindexer(13230)/nepomuk (storage service) Nepomuk::GenericDataManagementJob::slotDBusCallFinished: QDBusError("org.freedesktop.DBus.Error.InvalidArgs", "Unknown protocol '' encountered in hnqxj")
nepomukindexer(13230)/nepomuk (strigi service) Nepomuk::StrigiIndexWriter::finishAnalysis: "Unknown protocol '' encountered in hnqxj"
nepomukindexer(13230)/nepomuk (strigi service) main: Indexed data for KUrl("file:///home/saber/5201.odt")
nepomukindexer(13230)/nepomuk (strigi service) Nepomuk::StrigiIndexWriter::~StrigiIndexWriter:

Reproducible: Always

Steps to Reproduce:
1. Download attach file
2. Make nepomuk index it.

Actual Results:  
File do not get indexed.

Expected Results:  
File get indexed.
Comment 1 Sebastian Trueg 2011-11-23 19:04:10 UTC
Works here with KDE 4.7 branch (soon to be 4.7.4) and libstreamanalyzer git master (soon to be 0.7.7)
Comment 2 Lamarque V. Souza 2012-03-08 22:55:57 UTC
*** Bug 291842 has been marked as a duplicate of this bug. ***