2014-11-21 17:39:59 -> InvenioWebSubmitFileConverterError: ERROR: Error in
running ['/opt/invenio/bin/inveniounoconv', '-vvv', '-s', 'localhost',
'-p', '2002', '--output',
'/opt/invenio/var/tmp/ooffice-tmp-files/tmphWL2G3.pdf', '-f', 'pdf',
'/opt/invenio/var/tmp/tmpmd2S9f.txt']
* 2014-11-21 18:06:18 -> InvenioBibFormatError: 'Could not find output
format named unknow.bfo.'
(bibformat_engine.py:1633:resolve_output_format_filename)
* 2014-11-21 18:06:18 -> InvenioBibFormatError: 'Output format with code
unknow could not be found.' (bibformat_engine.py:1416:get_output_format)
...
* 2014-11-21 18:06:18 -> InvenioBibFormatError: 'Format element test 3
could not be found.' (bibformat_engine.py:1027:get_format_element)
* 2014-11-21 18:06:18 -> InvenioBibFormatError: 'Error in format element
test 4. \n  File
"/usr/local/lib/python2.7/dist-packages/invenio/bibformat_engine.py", line
1045, in get_format_element\n    "." + module_name)\n.'
(bibformat_engine.py:1061:get_format_element)
* 2014-11-21 18:06:18 -> InvenioBibFormatError: 'Format element
TEST_NO_ELEMENT could not be found.'
(bibformat_engine.py:1027:get_format_element)
* 2014-11-21 18:06:18 -> InvenioBibFormatError: 'Format element
BFE_NON_EXISTING_ELEMENT could not be found.'
(bibformat_engine.py:1027:get_format_element)
* 2014-11-21 18:06:18 -> InvenioBibFormatError: 'Format element TEST3 has
no function named "format".' (bibformat_engine.py:1085:get_format_element)
* 2014-11-21 18:06:18 -> InvenioBibFormatError: 'Error in format element
TEST_4. \n  File
"/usr/local/lib/python2.7/dist-packages/invenio/bibformat_engine.py", line
1045, in get_format_element\n    "." + module_name)\n.'
(bibformat_engine.py:1061:get_format_element)
* 2014-11-21 18:06:18 -> InvenioBibFormatError: 'Could not find output
format named UNKNOW.bfo.'
(bibformat_engine.py:1633:resolve_output_format_filename)
* 2014-11-21 18:06:18 -> InvenioBibFormatError: 'Output format with code
UNKNOW could not be found.' (bibformat_engine.py:1416:get_output_format)
* 2014-11-21 18:06:18 -> InvenioBibFormatError: 'No template could be found
for output format test3.' (bibformat_engine.py:374:format_record)
* 2014-11-22 02:15:19 -> ZeroDivisionError: float division by zero
(bibrank_record_sorter.py:429:find_similar)
* 2014-11-22 08:41:07 -> ZeroDivisionError: float division by zero
(bibrank_record_sorter.py:429:find_similar)
* 2014-11-22 08:57:32 -> InvenioWebSubmitFileConverterError: ERROR: Error
in running ['/opt/invenio/bin/inveniounoconv', '-vvv', '-s', 'localhost',
'-p', '2002', '--output',
'/opt/invenio/var/tmp/ooffice-tmp-files/tmpyLw8hV.pdf', '-f', 'pdf',
'/opt/invenio/var/tmp/tmp_lPV_u.txt']

Since
$ ls -ld /opt/invenio/var/tmp
drwxr-xr-x 19 www-data www-data 28672 Nov 22 08:57 /opt/invenio/var/tmp
I assume the above errors are after the 1.1.4 install. It is the last error
which concerns me before submitting new data.

And
$ ls -ld /opt/invenio/var/tmp/ooffice-tmp-files
drwxr-xr-x 2 www-data www-data 4096 Dec 16  2013
/opt/invenio/var/tmp/ooffice-tmp-files

Best Wishes


On Tue, Nov 25, 2014 at 7:39 AM, Samuele Kaplun <samuele.kap...@cern.ch>
wrote:

> Dear Surendran,
>
> In data sabato 22 novembre 2014 09:23:56, Surendran Karippadath ha scritto:
> > $sudo -u www-data /opt/invenio/bin/inveniocfg --run-unit-tests
> >
> > FAIL: test_async_download
> > (websearch_external_collections_getter_unit_tests.AsyncDownloadTest)
> > websearch_external_collections_getter - asynchronous download
>
> I think you can ignore for the moment this error as this is one that might
> happen from time to time due to timing issues. The test should probably be
> improved.
>
> > Also, even when openoffice.python was correctly configured
> > $ sudo -u www-data /opt/invenio/bin/inveniocfg --check-openoffice
> >
> > >>> Checking if Libre/OpenOffice.org is correctly integrated...No
> handlers
> >
> > could be found for logger "InvenioWebSubmitFileConverterLogger"
> >
> >
> ****************************************************************************
> > ***** ** OpenOffice.org can't properly create files in the
> > OpenOffice.org            **
> > ** temporary directory /opt/invenio/var/tmp/ooffice-tmp-files, as
> > the          **
> > ** user www-data (as configured in
> > CFG_OPENOFFICE_USER                         **
> > ** invenio(-local).conf
> > variable):                                             **
> > **
> >
> **************************************************************************
> > **
> > ** OpenOffice.org can't properly create files in the
> > OpenOffice.org            **
> > ** **** temporary directory
> > /opt/invenio/var/tmp/ooffice-tmp-files,            **
> > ** as the **** user www-data (as configured in
> > CFG_OPENOFFICE_USER             **
> > ** **** invenio(-local).conf variable): ERROR: Error in
> > running                **
> > ** **** ['/opt/invenio/bin/inveniounoconv', '-vvv', '-k']
> > stdout:              **
> > ** **** stderr:Traceback (most recent call last):
> > File                        **
> > ** **** "/opt/invenio/bin/inveniounoconv", line 48, in
> > <module>                **
> > ** from    **** invenio.websubmit_file_converter
> > import                        **
> > ** CFG_OPENOFFICE_TMPDIR      **** II    ****
> > .                                **
> > ** ****                                             **
> > **
> >
> **************************************************************************.
> > **
> > ** In your /etc/sudoers file, you should authorize the www-data
> > user           **
> > ** to run /opt/invenio/bin/inveniounoconv as www-data user as
> > in:               **
> > **
> >                                **
> > ** www-data ALL=(www-data) NOPASSWD:
> > /opt/invenio/bin/inveniounoconv           **
> > **
> > **
> > ** You should then run the following
> > commands:                                 **
> > ** $ sudo mkdir -p
> > /opt/invenio/var/tmp/ooffice-tmp-files                      **
> > ** $ sudo chown -R www-data
> > /opt/invenio/var/tmp/ooffice-tmp-files             **
> > ** $ sudo chmod -R 755
> > /opt/invenio/var/tmp/ooffice-tmp-files                  **
> >
> ****************************************************************************
> > ****> I get the same error(!) after running all the commands and editing
> > sudoers file.
> >
> > $ ls -la /opt/invenio/var/tmp/ooffice-tmp-files
> > total 36
> > drwxr-xr-x  2 www-data www-data  4096 Dec 16  2013 .
> > drwxr-xr-x 19 www-data www-data 28672 Nov 22 08:57 ..
> >
> > What does that mean?
>
> Mmh.. That's a bit strange... what is the output of:
>
> $ ls -ld /opt/invenio/var/tmp/ooffice-tmp-files
>
> (i.e. is the actual ooffice-tmp-files directory having the correct rights?)
>
> And is there any useful exception registered in
> /opt/invenio/var/log/invenio.err?
>
> Best regards,
>         Samuele
>
> --
> Samuele Kaplun
> Invenio Developer ** <http://invenio-software.org/>
> INSPIRE Service Manager ** <http://inspirehep.net/>
>
>


-- 
Surendran K.K.
020-27298293

Reply via email to