denis_testemale writes

Hello.

Recoll 1.18.1 + Xapian 1.2.12 on Ubuntu 12.10 kernel 3.5.0-22

I’ve noticed that 2 .tif files are created in my home directory after I run recollindex (either through the GUI or manually). Their names makes sense to me (could be a tag somewhere in one of my documents). I’ve read and use your workaround (small script that includes indexation and cleaning) for a similar situation with groff creating grohtml…png files(issue #56) but I thought I should raise this problem here. Sorry if it has already been dealt with, I didn’t find.

Thanks for the software by the way. Very useful to me. denis

medoc writes

Hi,

Which filter do you think creates the .tif files ?

jf

denis_testemale writes

Hello. After reading your question, and since I had no idea about the filter involved, I tried to pin down the section of the verbose output that is written just when the files are created (this is a bit of a manual and not very graceful method, but well…). It seems something like rclrar and/or application/x-rar are involved. I extracted the lines that seem to be of interest:

 >3:../rcldb/rcldb.cpp:1138:Db::add: docid 151581 updated [/home/denis/Communications/Conf_stages/Old/2009/Goldschmidt_2009/Oral/Gallium/figures_OP/GaO6.rar|]
RCLMFILT: rclrar : extractone: failed: [Failed the read enough data]
 >2:../internfile/internfile.cpp:831:FileInterner::internfile: next_document error [/home/denis/Communications/Conf_stages/Old/2009/Goldschmidt_2009/Oral/Gallium/figures_OP/GaO6.rar] application/x-rar
 >3:../rcldb/rcldb.cpp:1138:Db::add: docid 151581 updated [/home/denis/Communications/Conf_stages/Old/2009/Goldschmidt_2009/Oral/Gallium/figures_OP/GaO6.rar|]
 >3:../rcldb/rcldb.cpp:1138:Db::add: docid 151577 updated [/home/denis/Communications/Conf_stages/Old/2009/Goldschmidt_2009/Oral/Gallium/figures_OP/GaBr4.rar|]
RCLMFILT: rclrar : extractone: failed: [Failed the read enough data]
 >2:../internfile/internfile.cpp:831:FileInterner::internfile: next_document error [/home/denis/Communications/Conf_stages/Old/2009/Goldschmidt_2009/Oral/Gallium/figures_OP/GaBr4.rar] application/x-rar
 >3:../rcldb/rcldb.cpp:1138:Db::add: docid 151577 updated [/home/denis/Communications/Conf_stages/Old/2009/Goldschmidt_2009/Oral/Gallium/figures_OP/GaBr4.rar|]

denis

denis_testemale writes

I edited the lines (removed : in front of numbers at the beginning of lines) for syntaxing reasons. d

medoc writes

Thanks for looking this up, it would seem that it’s rclrar leaving files around after a failed extraction then.

I guess that this kind of thing will always happen, I should probably run the recollindex process itself inside a temporary directory (hoping that no filter will chdir…).

I could try running in / too. I wonder what these utilities do when the current directory is not writable…

I am adding this to the todo.

denis_testemale writes

Thanks. d

medoc writes

Add parameter to chdir on recollindex startup, /tmp by default. Closes issue #129

→ <<cset a2af084de407 > >

denis_testemale writes

Thanks. d