[Tracker] Don't extract data from xls file



Hi, I was testing to index xls file by console way (Debian 9), first I try with ods file with the same info:

$ tracker extract -v detailed Prueba.ods
Tracker-Message: Starting tracker-extract 1.12.1
Tracker-Message: General options:
Tracker-Message:   Verbosity  ............................  2
Tracker-Message:   Sched Idle  ...........................  2
Tracker-Message:   Max bytes (per file)  .................  1048576
Setting priority nice level to 19
Loading extractor rules... (/usr/share/tracker/extract-rules)
Extractor rules loaded
MIME type guessed as 'application/vnd.oasis.opendocument.spreadsheet' (from GIO)
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix nie: <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
@prefix nco: <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#> .
@prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .

<urn:contact:Edy%20Cop> a nco:Contact ;
  nco:fullname "Edy Cop" .

<file:///home/edycop/Documents/Prueba.ods> nie:generator "LibreOffice/5.4.0.3$Linux_X86_64 LibreOffice_project/40m0$Build-3" ;
  nie:contentCreated "2017-08-10T12:38:53" ;
  nie:plainTextContent "Nombre Cedula Edwin Caldon 10297018 " ;
  a nfo:PaginatedTextDocument ;
  nco:publisher <urn:contact:Edy%20Cop> .

If you see the logging verbosity, Tracker index the number 10297018, but with xls (same info):

$ tracker extract -v detailed Prueba.xlsx
Tracker-Message: Starting tracker-extract 1.12.1
Tracker-Message: General options:
Tracker-Message:   Verbosity  ............................  2
Tracker-Message:   Sched Idle  ...........................  2
Tracker-Message:   Max bytes (per file)  .................  1048576
Setting priority nice level to 19
Loading extractor rules... (/usr/share/tracker/extract-rules)
Extractor rules loaded
MIME type guessed as 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' (from GIO)
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix nie: <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
@prefix nco: <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#> .
@prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .

<urn:contact:Edy%20Cop> a nco:Contact ;
  nco:fullname "Edy Cop" .

<file:///home/edycop/Documents/Prueba.xlsx> nie:comment "" ;
  nie:contentLastModified "2017-08-10T19:38:27Z" ;
  nco:publisher <urn:contact:Edy%20Cop> ;
  nie:contentCreated "2017-08-10T12:38:53Z" ;
  nie:plainTextContent "Nombre Cedula Edwin Caldon " ;
  nie:subject "" ;
  a nfo:PaginatedTextDocument ;
  nie:title "" .

Tracker doesn't do it. Why? I've try with the mime type (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) but doen't work either.

And when I search the number obviously xls file doesn't list in the result but ods file does.

Greetings.

--
______________________________________________
_|_ Edwin F. Caldon
_|_ github.com/edycop/blog
_|_
_|_ ¿Tiene precio la cultura?
_|_ ¿Cuanto estás dispuesto a pagar por ella?
_|____________________________________________


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]