On 31/10/2013 11:42 πμ, Samuele Kaplun wrote:
What you can do as a quick workaround is to add right before the:

[...]
sys.path.append("/opt/invenio/lib/python")
from invenio.websubmit_file_converter import CFG_OPENOFFICE_TMPDIR
[...]
But of course! (Silly me...)
I also had to add: sys.path.append("/usr/lib64/python2.6/site-packages") for the remaining modules that are needed
Hopefully this should be enough. If the LibreOffice Python and the regular
Python have two different major version they will though keep on recompiling
the .pyc files that inveniounoconv needs :-(
LibO python is 2.6.1 and system python is 2.6.6. I suppose that this will not pose an extra problem here, right?

FYI, /opt/invenio/bin/inveniocfg --check-openoffice now returns "Ok" :)

Thank you Sam for helping me!

Reply via email to