Help with wvHtml, please. I have reviewed the archives.
Christopher Crowley
ccrowley@tulane.edu
Thu, 30 Aug 2001 10:43:36 -0500
Hello -
I have looked in the archives and have not been able to solve this problem
with the information available there.
Solaris 8
Apache 1.3.19
IMP 2.2.6 / Horde 1.2.6
php 4.0.4pl1
modssl 2.8.3
wvWare 0.6.2
The Problem: wvHtml failure. But it works command line. I do get error
messages commandline:
wvError: (./decode_simple.c:560) Alert, insane repeat "insane" character
run structure, making wild stab in the dark to attempt to continue
wvError: (./decode_simple.c:513) Alert, insane repeat "insane" paragraph
structure, making wild stab in the dark to attempt to continue
------------------------------------------------------------
Error message:
MS Word Viewer
/usr/local/bin/wvHtml: wvWare: not found
Requested URL:
https://webmail.tulane.edu/view.php3?mailbox=INBOX&index=352&bodypart=2&acti
onID=14
------------------------------------------------------------
Attempted solutions:
------------------------------------------------------------
1. I made explicit references to wvWare in wvHtml. Contents of
/usr/local/bin/wvHtml:
#!/bin/sh
prefix=/usr/local
exec_prefix=${prefix}/bin
libdir=${exec_prefix}/lib
# argument checking
if [ ${#} -ne "2" ]; then
echo "Usage: ${0} <word document> <html output file>"
exit 1
fi
which wvWare >/dev/null 2>&1
if [ ${?} -ne "0" ]; then
echo "Could not find required program 'wvWare'"
exit 1
fi
/usr/local/bin/wvWare -x ${libdir}/wv/wvHtml.xml "${1}" > "${2}"
2. I attempted to set the reference in defaults.php3 to bypass the wvHtml
helper script entirely and access wvWare directly. Even after restarting the
server, I still get the same error message:
MS Word Viewer
/usr/local/bin/wvHtml: wvWare: not found