I am not sure the forwarded message is significant. I have the following in
/usr/lib/libreoffice/program/
libpyuno.so
libunopkgapp.so
libunordflo.so
pyuno.so
unoinfo
unopkg
unopkg.bin

where are they supposed to be? I have made symlinks to /usr/lib/libreoffice
and waiting if things change.
---------- Forwarded message ----------
From: <[email protected]>
Date: Thu, Dec 12, 2013 at 11:58 PM
Subject: [Suspected Spam] Exception
(websubmit_file_converter.py:1367:execute_command) at
http://wikilibrary.dyndns.org
To: [email protected]


Hello:

It is the first time this exception has been seen.


* 2013-12-12 23:58:03 -> InvenioWebSubmitFileConverterError: ERROR: Error
in running ['/opt/invenio/bin/inveniounoconv', '-vvv', '-s', 'localhost',
'-p', '2002', '--output',
'/opt/invenio/var/tmp/ooffice-tmp-files/tmpcjvFRA.pdf', '-f', 'pdf',
'/opt/invenio/var/tmp/tmp9nT3yH.txt']
 stdout:

stderr:
unoconv: Cannot find a suitable pyuno library and python binary combination
in /usr/lib/libreoffice
ERROR: No module named uno

unoconv: Cannot find a suitable office installation on your system.
ERROR: Please locate your office installation and send your feedback to:
       http://github.com/dagwieers/unoconv/issues

 (websubmit_file_converter.py:1367:execute_command)

** User details
No client information available

** Traceback details

Traceback (most recent call last):
  File
"/usr/local/lib/python2.7/dist-packages/invenio/websubmit_file_converter.py",
line 588, in unoconv
    execute_command(os.path.join(CFG_BINDIR, 'inveniounoconv'), '-vvv',
'-s', CFG_OPENOFFICE_SERVER_HOST, '-p', str(CFG_OPENOFFICE_SERVER_PORT),
'--output', tmpoutputfile, '-f', unoconv_format, tmpinputfile,
sudo=CFG_OPENOFFICE_USER)
  File
"/usr/local/lib/python2.7/dist-packages/invenio/websubmit_file_converter.py",
line 1367, in execute_command
    raise InvenioWebSubmitFileConverterError(message)
InvenioWebSubmitFileConverterError: ERROR: Error in running
['/opt/invenio/bin/inveniounoconv', '-vvv', '-s', 'localhost', '-p',
'2002', '--output', '/opt/invenio/var/tmp/ooffice-tmp-files/tmpcjvFRA.pdf',
'-f', 'pdf', '/opt/invenio/var/tmp/tmp9nT3yH.txt']
 stdout:

stderr:
unoconv: Cannot find a suitable pyuno library and python binary combination
in /usr/lib/libreoffice
ERROR: No module named uno

unoconv: Cannot find a suitable office installation on your system.
ERROR: Please locate your office installation and send your feedback to:
       http://github.com/dagwieers/unoconv/issues



** Stack frame details

Frame execute_command in
/usr/local/lib/python2.7/dist-packages/invenio/websubmit_file_converter.py
at line 1367
-------------------------------------------------------------------------------
      1364     if res != 0:
      1365         message = "ERROR: Error in running %s\n
stdout:\n%s\nstderr:\n%s\n" % (args, stdout, stderr)
      1366         get_file_converter_logger().error(message)
----> 1367         raise InvenioWebSubmitFileConverterError(message)
      1368     return stdout
      1369
      1370
-------------------------------------------------------------------------------
                      stdout =  "''"
                         res =  '1'
                        args =  "['/opt/invenio/bin/inveniounoconv',
'-vvv', '-s', 'localhost', '-p', '2002', '--output',
'/opt/invenio/var/tmp/ooffice-tmp-files/tmpcjvFRA.pdf', '-f', 'pdf',
'/opt/invenio/var/tmp/tmp9nT3yH.txt']"
                      stderr =  "'unoconv: Cannot find a suitable pyuno
library and python binary combination in /usr/lib/libreoffice\\nERROR: No
module named uno\\n\\nunoconv: Cannot find a suitable office installation
on your system.\\nERROR: Please locate your office installation and send
your feedback to:\\n       http://github.com/dagwieers/unoconv/issues\\n'"
                         arg =  "'/opt/invenio/var/tmp/tmp9nT3yH.txt'"
                     message =  '"ERROR: Error in running
[\'/opt/invenio/bin/inveniounoconv\', \'-vvv\', \'-s\', \'localhost\',
\'-p\', \'2002\', \'--output\',
\'/opt/invenio/var/tmp/ooffice-tmp-files/tmpcjvFRA.pdf\', \'-f\', \'pdf\',
\'/opt/invenio/var/tmp/tmp9nT3yH.txt\']\\n stdout:\\n\\nstderr:\\nunoconv:
Cannot find a suitable pyuno library and python binary combination in
/usr/lib/libreoffice\\nERROR: No module named uno\\n\\nunoconv: Cannot find
a suitable office installation on your system.\\nERROR: Please locate your
 [...]
                        argd =  "{'sudo': 'nobody'}"

Frame unoconv in
/usr/local/lib/python2.7/dist-packages/invenio/websubmit_file_converter.py
at line 590
-------------------------------------------------------------------------------
       587             try:
       588                 execute_command(os.path.join(CFG_BINDIR,
'inveniounoconv'), '-vvv', '-s', CFG_OPENOFFICE_SERVER_HOST, '-p',
str(CFG_OPENOFFICE_SERVER_PORT), '--output', tmpoutputfile, '-f',
unoconv_format, tmpinputfile, sudo=CFG_OPENOFFICE_USER)
       589             except:
---->  590                 register_exception(alert_admin=True)
       591                 raise
       592         except InvenioWebSubmitFileConverterError:
       593             ## Ok maybe OpenOffice hanged. Let's better kill it
and restarted!
-------------------------------------------------------------------------------
                       dummy =  'None'
                 output_file =  "'/opt/invenio/var/tmp/tmp9ihZHp.pdf'"
            normalize_format =  '<function normalize_format at 0xaab3c34>'
                input_format =  "'.txt'"
                tmpinputfile =  "'/opt/invenio/var/tmp/tmp9nT3yH.txt'"
               output_format =  "'pdf'"
                      pdfopt =  'True'
               tmpoutputfile =
 "'/opt/invenio/var/tmp/ooffice-tmp-files/tmpcjvFRA.pdf'"
                          fd =  '3'
              decompose_file =  '<function decompose_file at 0xaab3d84>'
                  input_file =  "'/opt/invenio/var/tmp/test.txt'"
              unoconv_format =  "'pdf'"



Best regards
--
SETOS Libray Server <http://wikilibrary.dyndns.org>
Need human intervention?  Contact <[email protected]>





-- 
Phone  :+91-20-27298293

Reply via email to