pythonplonezopearchetypesplone-3.x

Disable Plone Archetypes index/convert doc/pdf files


If I rebuild my catalog in plone I get many of these infos:

2010-02-18T11:26:09 INFO Archetypes Error while trying to convert file contents to 'text/plain' in <Field file(file:rw)>.getIndexable() of <ATFile at /site/test1/test.doc>: Unable to find binary "wvHtml" in /sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/jvm/jre/bin

This happens to .doc and .pdf files.

I don't want to convert docs or PDFs. How can I disable it completely?


Solution

  • You can disable (remove) transforms in ZMI/portal_transforms tool. If Plone does not find transform from Word to plain text or PDF to plain text, it won't try to index the file contents. Go to ZMI/portal_transforms and remove word_to_html item.