I can do that , but  the pyuno bridge is setup properly for libreoffice
only in python3. With 2.7 it gives the error

ERROR: Error in running                **
** **** ['/opt/invenio/bin/inveniounoconv', '-vvv', '-k']
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      ****
.                      **
** **** In your /etc/sudoers file, you should authorize the
www-data           **
** user  **** to run /opt/invenio/bin/inveniounoconv as nobody
user            **
** as in:
****                                                           **
** **** www-data ALL=(nobody)
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 nobody
/opt/invenio/var/tmp/ooffice-tmp-files          **
** **** $ sudo chmod -R 755
/opt/invenio/var/tmp/ooffice-tmp-files             **
**
and doing those does not solve the problem. What is the suggested work
around?

Thanks&Regards
Surendran



On Wed, May 14, 2014 at 3:54 PM, Lars Holm Nielsen <
[email protected]> wrote:

>  Hi,
>
> Ubuntu 14.04 still has Python 2.7 as default? At least on my machine, or
> perhaps it's because it's an upgrade. Anyway, Invenio will definitely not
> run in Python 3.
>
> You'll likely need to run ./configure --with-python=/path/to/python2.7 if
> your default python is Python 3.
>
> Note, we striving that all new code going into invenio/pu branch is as
> python 3 compatible as possible (using e.g. six library). The main problem
> is however still making Invenio use unicode instead of utf8 encoded byte
> strings.
>
> Cheers,
> Lars
>
>
> On 14.05.2014 12:08, Surendran Karippadath wrote:
>
>    Hi Tibor,
>
> Unable to carryout the upgrade from 1.1.2 to 1.1.3.
> $ tar xvfz invenio-1.1.3.tar.gz
>      $ cd invenio-1.1.3
>      $ sudo rsync -a /opt/invenio/etc/ /opt/invenio/etc.OLD/
>      $ sh /opt/invenio/etc/build/config.nice
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether UID '1000' is supported by ustar format... yes
> checking whether GID '1000' is supported by ustar format... yes
> checking how to create a ustar tar archive... gnutar
> checking for a sed that does not truncate output... /bin/sed
> checking whether NLS is requested... yes
> checking for msgfmt... /usr/bin/msgfmt
> checking for gmsgfmt... /usr/bin/msgfmt
> checking for xgettext... /usr/bin/xgettext
> checking for msgmerge... /usr/bin/msgmerge
> checking for style of include used by make... GNU
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking whether gcc understands -c and -o together... yes
> checking dependency style of gcc... none
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for ld used by gcc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for shared library run path origin... done
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for CFPreferencesCopyAppValue... no
> checking for CFLocaleCopyCurrent... no
> checking for GNU gettext in libc... yes
> checking whether to use NLS... yes
> checking where the gettext function comes from... libc
> checking for mysql... /usr/bin/mysql
> checking for python... /usr/bin/python
> checking for OpenOffice.org Python binary... /usr/bin/python
> checking for required Python modules...   File "./configure-tests.py",
> line 45
>     print "\n\nInstallation aborted."
>
>
>  Is it because of  python3?
>  This install is taking place in Ubuntu-14.04.
>
>  Thank you for your attention.
>
>  Best Regards
>  Surendran
>
>
> On Tue, Feb 25, 2014 at 7:36 PM, Tibor Simko <[email protected]> wrote:
>
>> --------------------------------------------------------------------
>> Invenio v1.1.3 is released
>> February 25, 2014
>> http://invenio-software.org/
>> --------------------------------------------------------------------
>>
>> Invenio v1.1.3 was released on February 25, 2014.
>>
>> This stable release contains a number of minor fixes and improvements.
>> It is recommended to all Invenio sites using v1.1.2 or previous stable
>> release series (v0.99, v1.0).
>>
>> What's new:
>> -----------
>>
>>  *) BatchUploader: rights to ::1 for robot upload; avoid
>>     tempfile.tempdir redefinition (#1594)
>>
>>  *) BibCatalog: no newlines in subject for RT plugin
>>
>>  *) BibDocFile: RHEL6 magic bindings support (#1466)
>>
>>  *) BibFormat: fix for BibTeX regression tests; better BibTeX title
>>     and collaboration
>>
>>  *) BibRank: temporary file storage in CFG_TMPDIR (#1594)
>>
>>  *) BibSword: author MARC tag definition fix
>>
>>  *) BibUpload: FFT replace warning in guide
>>
>>  *) I18N: PO file update for the release of v1.1.3; PO file update for
>>     the release of v1.0.6; PO file update for the release of v0.99.9;
>>     collection demo names for new translations
>>
>>  *) OAIHarvest: for for bad exception handling
>>
>>  *) OAIRepository: optional support for --notimechange
>>
>>  *) Travis CI: initial release of configuration
>>
>>  *) WebSearch: nonexisting record API test case fix (#1692); correct
>>     record sums from hosted colls (#1651); space between records in
>>     MARC HTML; fix for BibTeX regression tests; field-filtered MARCXML
>>     API output (#1591); more complete API regression test suite;
>>     get_fieldvalues_alephseq_like() utils; asciification of `oe`
>>     grapheme (#1582); bug fix for SPIRES date math search
>>
>>  *) WebSession: fix mail cookie expiration (#1596)
>>
>>  *) WebSubmit: fix for typo in Shared_Functions; optional pdftk
>>     regression tests
>>
>>  *) dbquery: closes redundant connection
>>
>>  *) git: addition of compile to gitignore; new entry in gitignore
>>
>>  *) global: language value always in link URLs
>>
>>  *) installation: pip requirement version updates; pip requirements;
>>     no user prompt for warnings; empty Travis configuration; location
>>     of jquery-1.7.1.min.js; location of flot; information about
>>     unidecode; fix autotools rsync instructions
>>
>>  *) intbitset: no crash when intbitset is on rhs (#1287)
>>
>>  *) inveniocfg: fix for mod_headers
>>
>>  *) kwalitee: list comprehensions instead of lambdas; compatibility
>>     with pylint 1.0.0
>>
>> Download:
>> ---------
>>
>>   <http://invenio-software.org/download/invenio-1.1.3.tar.gz>
>>   <http://invenio-software.org/download/invenio-1.1.3.tar.gz.md5>
>>   <http://invenio-software.org/download/invenio-1.1.3.tar.gz.sig>
>>
>> Installation notes:
>> -------------------
>>
>> Please follow the INSTALL file bundled in the distribution tarball.
>>
>> Upgrade notes:
>> --------------
>>
>> Please proceed as follows:
>>
>>  a) Stop your bibsched queue and your Apache server.
>>
>>  b) Install the update:
>>
>>      $ tar xvfz invenio-1.1.3.tar.gz
>>      $ cd invenio-1.1.3
>>      $ sudo rsync -a /opt/invenio/etc/ /opt/invenio/etc.OLD/
>>      $ sh /opt/invenio/etc/build/config.nice
>>      $ make
>>      $ make check-upgrade
>>      $ sudo -u www-data make install
>>      $ sudo rsync -a /opt/invenio/etc.OLD/ \
>>          --exclude invenio-autotools.conf \
>>          /opt/invenio/etc/
>>        # Note: if you are upgrading from previous stable release
>>        # series (v0.99 or v1.0), please don't rsync but diff, in order
>>        # to inspect changes and adapt your old configuration to the
>>        # new v1.1 release series.
>>      $ sudo -u www-data /opt/invenio/bin/inveniocfg --update-all
>>      $ sudo -u www-data /opt/invenio/bin/inveniocfg --upgrade
>>
>>  c) Restart your Apache server and your bibsched queue.
>>
>>  d) If your records may contain `oe` UTF-8 graphemes, please schedule
>>     reindexing of concerned indexes at a convenient time, for example:
>>
>>      $ sudo -u www-data /opt/invenio/bin/bibindex -w title -f100000 -R
>>
>> - end of file -
>>
>>
>
>
> --
> Surendran K.K.
> 020-27298293
>
>
>
> --
> Lars Holm Nielsen
> CERN, IT Department, Collaboration & Information Serviceshttp://zenodo.org | 
> Tel: +41 22 76 79182 | Cel: +41 76 672 8927
>
>


-- 
Surendran K.K.
020-27298293

Reply via email to