Comment 22 for bug 1081104

Revision history for this message
Paul Everitt (paul-agendaless) wrote :

Theune wrote:

"""
ok, we reviewed the libreoffice situation. The following command took 8 seconds
on a VM on a medium-powered host:

soffice --headless --convert-to txt:Text Windows\ Update\ Explained.docx
That was a 12 page document. If libreoffice has already been run recently this
time goes down to 1 second.

Chris Rossi also recommended that we just look into deploying the static
compiled package from the doctotext guys. Which in turn causes me to ask: why
are you guys compiling it for your setup and not just use the static compiled
package there?

I played around with compiling it and was very turned off by the fact that we
would have to do makefile-editing and that the makefile thing starts
downloading its dependencies from the internet "randomly". :(
Wanna chat?
"""

...and Tres replied:

"""
1 second should be fine. I think there is a '--quickstart' option to
start the process backgrounded (I don't know whether that would work with
supervisord, for instance).

The actual 'osideploy' code puts that static copy in
/src/<servicename>/bin. I played with trying to add it instead to the
buildout, but without success.

In the end, we just need to get that binary on the path somehow. I don't
much care how, as long as all the relevant services (karl, mailin) and
cronjobs (indexing?) have it available.
"""