mysociety / alaveteli

Provide a Freedom of Information request system for your jurisdiction
https://alaveteli.org
Other
387 stars 195 forks source link

[ERROR] script/update-xapian-index "Zip and Office 2007+ not supported by catdoc" #6975

Open garethrees opened 2 years ago

garethrees commented 2 years ago

Possibly related to https://github.com/mysociety/alaveteli/issues/3604, https://github.com/mysociety/alaveteli/issues/207, https://github.com/mysociety/alaveteli/issues/2623.

External Command: Error from command "wvText /tmp/foiextract20220414-3330589-1iy65vu /tmp/foiextract20220414-3330589-1iy65vu.txt {:memory_limit=>536870912, :timeout=>120}":
External Command: Error from command "catdoc /tmp/foiextract20220414-3330589-1iy65vu {:append_to=>"", :binary_output=>false, :timeout=>1200}":
This file looks like ZIP archive or Office 2007 or later file.
Not supported by catdoc
shivanshu814 commented 1 year ago

Issue will be resolved by using docx2txt documentname.docx

issue resolve for doc to txt convert