Please describe the issue you're having
If you accept the answer, please mark the topic as [SOLVED] by clicking the tick.

Moderators: RussH, cptr13

Forum rules: Just please remember to play nicely once you walk through the door. You can disagree with us, or any other commenters in this forum, but respect our space and keep your comments directed to the topic at hand.
By arts99
#519
Hi,

I am running cats under a shared hosting account and asked my hosting provider to install antiword for me. They have kindly installed it for me but it does not seem to be working.

Initially I was getting the following error message:

Antiword binary /usr/bin/antiword is not executable (permissions: 0750).

so they sorted that and now this message comes:

Antiword binary failed to convert a DOC file to text properly (Should have returned 'This is a test document', returned '').

When I upload a word document to check i get this message:The file has been successfully attached, but CATS was unable to index the resume keywords to make the document searchable. The file format may be unsupported by CATS.


The hosting provider says that antiword has been installed correctly but he does not know what to do.

Can anyone help please?

Thank you
User avatar
By RussH
#526
Hiya,

I'd check the config file to ensure CATS is looking in the right place for it;
Code: Select all
/* Text parser settings. Remember to use double backslashes (\) to represent
 * one backslash (\). On Windows, installing in C:\antiword\ is
 * recomended, in which case you should set ANTIWORD_PATH (below) to
 * 'C:\\antiword\\antiword.exe'. Windows Antiword will have problems locating
 * mapping files if you install it anywhere but C:\antiword\.
 */
define('ANTIWORD_PATH', "/usr/bin/antiword");
define('ANTIWORD_MAP', '8859-1.txt');

Also - i fyou have a shell logon to your hosting account, try using antiword from a commandline and see if it's successful from there, as well
By UNV Jerime
#531
I Have a Solution For You

I own a hosting company called Universal Net Visions http://www.universalnetvisions.com
and we host people with opencats and the opencats is up and running great

We also have personal standing by to do the install, setup and upgrade for you

you can reach me throught email at jerimeolmstead@universalnetvisions.com , My msn is gutshot01@hotmail.com or visite our site and get my cell number
off the contact s page and well handle it from there

Thank you
Universal Net Visions
Todays Visions For Tomorrows Future
Owner and CEO
Jerime Olmstead
#533
Your problem is that Antiword is installed but not properly. I ran into this problem myself. I compiled Antiword on a CentOS system and I could run it from the command line with no problems. When I tried the CATS installation, I came across the same error. So I went out and found a binary RPM release and installed it. Then the CATS installation went fine. The strangest thing was I have also previously compiled Antiword on a Slackware system (my own) and it works perfectly! Trying the same steps on a CentOS distro generated the same problems that you are experiencing.

Try to see if your hosting provider can find a binary installation of Antiword. If not, I was able to work with Jermie of Universal Net Visions to configure his hosting server to not only have Antiword installed and working correctly with CATS, but also PDFToText, HTML2Text and UnRTF. My client now has fully functioning, low hosting cost solution for CATS.
User avatar
By RussH
#632
I think from memory that they're pretty much in the standard repositories - i'm guessing you want to know where they are? I've got the rpm names as I have them installed on my centos 5.x system.

antiword-0.37-3.el5.rf
html2text-1.3.2a-5.el5.re
unrtf-0.20.2-1.el5.rf

I don't think I currently have pdf2text installed - but will rectify that shortly!
By tonnic
#836
I use hostpapa and they don't install things...would a compiled binary work for me if I found one?... if so, can someone send me them?.

It's essential to keep these synchronized to ensur[…]

Export part in Job Order order search

Same problem as mine. Maybe you're right, I'll che[…]

The error message you're encountering indicates th[…]

Errors restoring mysqldump backup

doesnot work for me