rdzidlic writes
this time the file actually works (is displayed using okular), seems very common problem with postscript files?
$ ll /home/rz/Freistellungsauftrag_2010_20091118.ps -rw-------. 1 rz 500 163196 Feb 14 2010 /home/rz/Freistellungsauftrag_2010_20091118.ps
:4:../internfile/internfile.cpp:161:FileInterner::init fn [/home/rz/Freistellungsauftrag_2010_20091118.ps] mime [(null)] preview 0 :4:../internfile/mimehandler.cpp:249:getMimeHandler: mtype [application/postscript] filtertypes 1 :4:../internfile/mimehandler.cpp:64:getMimeHandlerFromCache: a6f58ef586b1f3a7eb25fdadd7dbbb5e cache size 3 :4:../internfile/mimehandler.cpp:80:getMimeHandlerFromCache: a6f58ef586b1f3a7eb25fdadd7dbbb5e not found :4:../internfile/internfile.cpp:248:FileInterner:: init ok application/postscript [/home/rz/Freistellungsauftrag_2010_20091118.ps] :4:../internfile/internfile.cpp:737:FileInterner::internfile. ipath [] :4:../utils/execmd.cpp:330:ExecCmd::startExec: (0|1) pstotext {/home/rz/Freistellungsauftrag_2010_20091118.ps} :2:../utils/execmd.cpp:392:ExecCmd::startExec: pstotext not found :2:../internfile/mh_exec.cpp:117:MimeHandlerExec: command status 0xffffffff for pstotext :2:../internfile/internfile.cpp:732:FileInterner::internfile: next_document error [/home/rz/Freistellungsauftrag_2010_20091118.ps] application/postscript :4:../internfile/mimehandler.cpp:98:returnMimeHandler: returning filter for application/postscript cache size 3 :4:../internfile/internfile.cpp:852:FileInterner::internfile: conversion ended with no doc :4:../rcldb/rcldb.cpp:1249:Db::add: udi [/home/rz/Freistellungsauftrag_2010_20091118.ps|] parent [] :3:../rcldb/rcldb.cpp:604:Db::add: docid 6878 updated [/home/rz/Freistellungsauftrag_2010_20091118.ps|]
medoc writes
Recoll always retries files which failed to index last time. pstotext was not available last time but maybe now it is ?
Otoh, once a filter is detected missing during an indexing pass, other files of the same type should not be tried.
rdzidlic writes
yes, should not be retried for every file.
On my system tehre is ps2ascii comming with ghostscript directly which might be good enough?
medoc writes
Yes you can probably use ps2ascii, you’ll need to make a copy of the filter somewhere, edit it to replace the pstotext call, and point to it in $HOME/.recoll/mimeconf (inside an [index] section).
medoc writes
Duplicate of #232.