Re: Invenio v1.1.3 is released

2014-11-19 Thread Samuele Kaplun
Dear Surendran,

In data mercoledì 19 novembre 2014 00:46:54, Surendran Karippadath ha scritto:
 $ sudo tar zxvf Apache_OpenOffice_4.1.0_Linux_x86_install-deb_en-US.tar.gz

 What can one do to let invenio see the openoffice-python?

[Libre|Open]Office 4.* is using Python 3.x as opposed to Python 2.x and thus, 
at the moment, it is not compatible with Invenio.

See also:
https://github.com/inveniosoftware/invenio/issues/1505

Best regards,
Samuele

P.s. as a workaround you can try deploying [Open|Libre]Office 3.x.
-- 
Samuele Kaplun
Invenio Developer ** http://invenio-software.org/
INSPIRE Service Manager ** http://inspirehep.net/



Re: Invenio v1.1.3 is released

2014-11-19 Thread Surendran Karippadath
Hi,

   But that is not true in this case; See this

surendran@angeli-acer:/opt/openoffice4/program$ ./python
Python 2.7.6 (default, Apr 22 2014, 12:20:11)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
Type help, copyright, credits or license for more information.


While the system python is:

surendran@angeli-acer:/opt/openoffice4/program$ python
Python 2.7.6 (default, Mar 22 2014, 22:59:38)
[GCC 4.8.2] on linux2
Type help, copyright, credits or license for more information.


Perhaps it is the GCC which is creating the mismatch.

Please give your comments.

On Wed, Nov 19, 2014 at 3:52 AM, Samuele Kaplun samuele.kap...@cern.ch
wrote:

 Dear Surendran,

 In data mercoledì 19 novembre 2014 00:46:54, Surendran Karippadath ha
 scritto:
  $ sudo tar zxvf
 Apache_OpenOffice_4.1.0_Linux_x86_install-deb_en-US.tar.gz
 
  What can one do to let invenio see the openoffice-python?

 [Libre|Open]Office 4.* is using Python 3.x as opposed to Python 2.x and
 thus,
 at the moment, it is not compatible with Invenio.

 See also:
 https://github.com/inveniosoftware/invenio/issues/1505

 Best regards,
 Samuele

 P.s. as a workaround you can try deploying [Open|Libre]Office 3.x.
 --
 Samuele Kaplun
 Invenio Developer ** http://invenio-software.org/
 INSPIRE Service Manager ** http://inspirehep.net/




-- 
Surendran K.K.
020-27298293


Re: Invenio v1.1.3 is released

2014-11-19 Thread Surendran Karippadath
Hi Samuele,


 I was getting very suspicious after trying both options and removed
both libreoffice and openoffice4 binary from the system;

$ sudo apt-get remove --purge openoffice*
$ sudo apt-get remove --purge libreoffice*

Removed the /usr/bin/soffice and /usr/local/bin/soffice links. Downloaded
the ( *Release: * Milestone AOO411m6 | Build ID 9775 | SVN r1617669 |
Released 2014-08-21 )source from
http://www.openoffice.org/download/index.html and followed the
instructions.

$ cd /usr/local
$ sudo tar zxvf apache-openoffice-4.1.1-r1617669-src.tar.gz
$ cd aoo-4.1.1/main
$ sudo autoconf
$ sudo ./configure --with-dmake-url=
http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2
--with-epm-url=http://www.msweet.org/files/project2/epm-3.7-source.tar.gz
--disable-odk --enable-category-b --enable-bundled-dictionaries
--enable-symbols --with-package-format=installed
$ sudo ./bootstrap
$ cd instsetoo_native/
$ build --all
ERROR***
build -- version: 275224

=
Building module solenv
=

Entering /usr/local/aoo-4.1.1/main/solenv

dmake:  Error code 1, while making
'/usr/local/aoo-4.1.1/main/solver/411/unxlngi6.pro/inc/411minor.mk'

1 module(s):
solenv
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /usr/local/aoo-4.1.1/main/solenv

When you have fixed the errors in that module you can resume the build
by running:

build --all:solenv

python, pyuno, unodevtools, unotools, unoxml, unocontrols ... are all
there. But I have not been able to get a solution to building the module
solenv and run install. I did the compilation 3 times. How does one rebuild
solenv module?

If you understand the error kindly advise me. I have sent the error to
Bugzilla.

Best wishes


On Wed, Nov 19, 2014 at 11:29 AM, Samuele Kaplun samuele.kap...@cern.ch
wrote:

 Hi,

 In data mercoledì 19 novembre 2014 09:06:06, Surendran Karippadath ha
 scritto:
 But that is not true in this case; See this
 
  surendran@angeli-acer:/opt/openoffice4/program$ ./python
  Python 2.7.6 (default, Apr 22 2014, 12:20:11)
  [GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
  Type help, copyright, credits or license for more information.

 Interesting that OpenOffice 4.x is still shipping Python 2.x. I see from:
 [...]
 $ sudo tar zxvf Apache_OpenOffice_4.1.0_Linux_x86_install-deb_en-US.tar.gz
 $ cd en-US/DEBS
 $ dpkg -i *.deb
 $ cd desktop-integration
 $ dpkg -i *.deb
 $ ls /etc/openoffice4/python*
python, python.bin
 $ cd /opt/invenio-1.1.4
 $ sudo  sh /opt/invenio/etc/build/config.nice --with-openoffice-
 python=/etc/openoffice4/program/python.bin
 [...]

 that there are two python executable. I suspect python is a wrapper
 around
 python.bin that correctly set environment variables to make the
 OpenOffice
 Python modules available...

 Can you try with both executables to run:
 [1]: import uno

 And see which one answer? uno is the Python bridge to OpenOffice and
 must be
 reachable for the test to work.

 Best regards,
 Samuele
 --
 Samuele Kaplun
 Invenio Developer ** http://invenio-software.org/
 INSPIRE Service Manager ** http://inspirehep.net/




-- 
Surendran K.K.
020-27298293