Discussion:
[Erp5-dev] openoffice.org-oood install problem
Mohamadou Mbengue
2008-09-04 13:50:07 UTC
Permalink
Hello,

I have installed openoffice.org-oood available on nexedi repository
(openoffice.org-oood-0.3.1-9nxd2008.1.x86_64.rpm
<http://www.nexedi.org/static/mandrivalinux/2008.1/x86_64/openoffice.org-oood-0.3.1-9nxd2008.1.x86_64.rpm>).
But when i try to run oood i have the followinf error:
######
Lancement de oood : _XSERVTransmkdir: Owner of /tmp/.X11-unix should be
set to root
expected keysym, got XF86Info: line 959 of inet
Traceback (most recent call last):
File "/usr/share/oood/runserw.py", line 284, in <module>
from dispatcher import Dispatcher, MySerw
File "//usr/share/oood/dispatcher.py", line 57, in <module>
from pool import pool
File "//usr/share/oood/pool.py", line 35, in <module>
import factory
File "//usr/share/oood/factory.py", line 39, in <module>
import worker
File "/usr/lib64/ooo-2.4_64/program/uno.py", line 262, in unoimport
return gdelegatee( name, *optargs )
File "//usr/share/oood/worker.py", line 41, in <module>
from mimemapper import mimemapper
File "/usr/lib64/ooo-2.4_64/program/uno.py", line 262, in unoimport
return gdelegatee( name, *optargs )
File "/usr/share/oood/mimemapper.py", line 442, in <module>
mimemapper = MimeMapper()
File "/usr/share/oood/mimemapper.py", line 175, in _init_
self.collectFilterInfo()
File "/usr/share/oood/mimemapper.py", line 197, in collectFilterInfo
raise Exception('no OOo filter found.')
Exception: no OOo filter found.
######

I have a look of the file "/usr/share/oood/mimemapper.py" and i notice
that the paths to filters and types are not correct (line 186 and 187).
#######
filter_dir =
'%s/../share/registry/modules/org/openoffice/TypeDetection/Filter' %
config.uno_path
type_dir =
'%s/../share/registry/modules/org/openoffice/TypeDetection/Types' %
config.uno_path
######

When i change the path like this:
######
#XXX Path to filter is not correct (to be fixed)
correct_path = "/usr/lib64/ooo-2.4_64"
filter_dir =
'%s/share/registry/modules/org/openoffice/TypeDetection/Filter' %
correct_path
type_dir =
'%s/share/registry/modules/org/openoffice/TypeDetection/Types' %
correct_path
######
I no longer have the error and I have the message:
####
Lancement de oood : _XSERVTransmkdir: Owner of /tmp/.X11-unix should be
set to root
expected keysym, got XF86Info: line 959 of inet
####

But i have this when i do #watch "./start.py --threads"
#####
we got exception:
(111, 'Connection refused')
probably server is not running
#####

Mohamadou,
Kazuhiko Shiozaki
2008-09-04 13:59:41 UTC
Permalink
Hi,
Post by Mohamadou Mbengue
I have a look of the file "/usr/share/oood/mimemapper.py" and i notice
that the paths to filters and types are not correct (line 186 and 187).
#######
filter_dir =
'%s/../share/registry/modules/org/openoffice/TypeDetection/Filter' %
config.uno_path
type_dir =
'%s/../share/registry/modules/org/openoffice/TypeDetection/Types' %
config.uno_path
######
Which OOo are you using? (binary package from your distribution?
official binary from OpenOffice.org? which version? etc.)
And what is your uno_path configuration in /etc/oood/oood.conf?

Regards,
--
Kazuhiko Shiozaki, Nexedi SA Senior Consultant
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.com
ERP5: Full Featured High End Open Source ERP
http://www.erp5.com
ERP5 Wiki: Developer Zone for ERP5 Community
http://www.erp5.org
Mohamadou Mbengue
2008-09-04 14:06:05 UTC
Permalink
Post by Kazuhiko Shiozaki
Hi,
Post by Mohamadou Mbengue
I have a look of the file "/usr/share/oood/mimemapper.py" and i notice
that the paths to filters and types are not correct (line 186 and 187).
#######
filter_dir =
'%s/../share/registry/modules/org/openoffice/TypeDetection/Filter' %
config.uno_path
type_dir =
'%s/../share/registry/modules/org/openoffice/TypeDetection/Types' %
config.uno_path
######
Which OOo are you using? (binary package from your distribution?
official binary from OpenOffice.org? which version? etc.)
I m using Mandriva 2008.1 (x64), i have install OOo from the nexedi
repository
(http://www.nexedi.org/static/mandrivalinux/2008.1/x86_64/openoffice.org-oood-0.3.1-9nxd2008.1.x86_64.rpm).
Post by Kazuhiko Shiozaki
And what is your uno_path configuration in /etc/oood/oood.conf?
uno_path = /program
Post by Kazuhiko Shiozaki
Regards,
Regards
Kazuhiko Shiozaki
2008-09-05 04:48:25 UTC
Permalink
Post by Mohamadou Mbengue
Post by Kazuhiko Shiozaki
Which OOo are you using? (binary package from your distribution?
official binary from OpenOffice.org? which version? etc.)
I m using Mandriva 2008.1 (x64), i have install OOo from the nexedi
repository
(http://www.nexedi.org/static/mandrivalinux/2008.1/x86_64/openoffice.org-oood-0.3.1-9nxd2008.1.x86_64.rpm).
It's oood version, not OOo version (eg. openoffice.org-writer etc.).
Post by Mohamadou Mbengue
Post by Kazuhiko Shiozaki
And what is your uno_path configuration in /etc/oood/oood.conf?
uno_path = /program
This is wrong. As the comment says (# Folder where OpenOffice Uno
interpreter is installed), this is the location of the directory where
uno.py exists, like /usr/lib64/ooo-2.4/program .

Anyway if you fix your configuration, it will work.
--
Kazuhiko Shiozaki, Nexedi SA Senior Consultant
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.com
ERP5: Full Featured High End Open Source ERP
http://www.erp5.com
ERP5 Wiki: Developer Zone for ERP5 Community
http://www.erp5.org
Mohamadou Mbengue
2008-09-05 09:46:37 UTC
Permalink
Post by Kazuhiko Shiozaki
Post by Mohamadou Mbengue
Post by Kazuhiko Shiozaki
Which OOo are you using? (binary package from your distribution?
official binary from OpenOffice.org? which version? etc.)
I m using Mandriva 2008.1 (x64), i have install OOo from the nexedi
repository
(http://www.nexedi.org/static/mandrivalinux/2008.1/x86_64/openoffice.org-oood-0.3.1-9nxd2008.1.x86_64.rpm).
It's oood version, not OOo version (eg. openoffice.org-writer etc.).
Post by Mohamadou Mbengue
Post by Kazuhiko Shiozaki
And what is your uno_path configuration in /etc/oood/oood.conf?
uno_path = /program
This is wrong. As the comment says (# Folder where OpenOffice Uno
interpreter is installed), this is the location of the directory where
uno.py exists, like /usr/lib64/ooo-2.4/program .
Anyway if you fix your configuration, it will work.
Thanx, I have fixed the configuration and it works now.

Regards,

Loading...