# ###################################################### # Registering python UNO components: # ###################################################### # SUCCESS: Source for types.rdb: /home/lgodard/projets/libreoffice/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/bin/types.rdb # SUCCESS: Source for pyuno_services.rdb: /home/lgodard/projets/libreoffice/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/bin/pyuno_services.rdb # Systemcall: /home/lgodard/projets/libreoffice/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/bin/regcomp -register -br /home/lgodard/projets/libreoffice/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/bin/types.rdb -br /home/lgodard/projets/libreoffice/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/bin/pyuno_services.rdb -r /tmp/ooopackaging/i_70371286781422/unxlngi6.pro/LibreOffice//gid_Starregistry_Services_Rdb_servicesrdb/fr_inprogress_1/services.rdb -c vnd.openoffice.pymodule:pythonscript -l com.sun.star.loader.Python 2>&1 | # vnd.openoffice.pymodule:pythonscript # register component 'vnd.openoffice.pymodule:pythonscript' in registry '/tmp/ooopackaging/i_70371286781422/unxlngi6.pro/LibreOffice//gid_Starregistry_Services_Rdb_servicesrdb/fr_inprogress_1/services.rdb' failed! # error (RuntimeException): python object raised an unknown exception ('No module named _socket', traceback follows # <traceback object at 0x41321554> # ERROR: /home/lgodard/projets/libreoffice/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/bin/regcomp -register -br /home/lgodard/projets/libreoffice/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/bin/types.rdb -br /home/lgodard/projets/libreoffice/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/bin/pyuno_services.rdb -r /tmp/ooopackaging/i_70371286781422/unxlngi6.pro/LibreOffice//gid_Starregistry_Services_Rdb_servicesrdb/fr_inprogress_1/services.rdb -c vnd.openoffice.pymodule:pythonscript -l com.sun.star.loader.Python 2>&1 | # Systemcall: /home/lgodard/projets/libreoffice/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/bin/regcomp -register -br /home/lgodard/projets/libreoffice/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/bin/types.rdb -br /home/lgodard/projets/libreoffice/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/bin/pyuno_services.rdb -r /tmp/ooopackaging/i_70371286781422/unxlngi6.pro/LibreOffice//gid_Starregistry_Services_Rdb_servicesrdb/fr_inprogress_1/services.rdb -c vnd.openoffice.pymodule:mailmerge -l com.sun.star.loader.Python 2>&1 | # vnd.openoffice.pymodule:mailmerge # register component 'vnd.openoffice.pymodule:mailmerge' in registry '/tmp/ooopackaging/i_70371286781422/unxlngi6.pro/LibreOffice//gid_Starregistry_Services_Rdb_servicesrdb/fr_inprogress_1/services.rdb' failed! # error (RuntimeException): python object raised an unknown exception ('No module named _socket', traceback follows # <traceback object at 0x41321554> # ERROR: /home/lgodard/projets/libreoffice/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/bin/regcomp -register -br /home/lgodard/projets/libreoffice/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/bin/types.rdb -br /home/lgodard/projets/libreoffice/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/bin/pyuno_services.rdb -r /tmp/ooopackaging/i_70371286781422/unxlngi6.pro/LibreOffice//gid_Starregistry_Services_Rdb_servicesrdb/fr_inprogress_1/services.rdb -c vnd.openoffice.pymodule:mailmerge -l com.sun.star.loader.Python 2>&1 | # # Moved directory from /tmp/ooopackaging/i_70371286781422/unxlngi6.pro/LibreOffice//gid_Starregistry_Services_Rdb_servicesrdb/fr_inprogress_1 to /tmp/ooopackaging/i_70371286781422/unxlngi6.pro/LibreOffice//gid_Starregistry_Services_Rdb_servicesrdb/fr_witherror_1 # # Removing directory /tmp/ooopackaging/i_70371286781422 # # *************************************************************** # ERROR: Could not register all components for file services.rdb (gid_Starregistry_Services_Rdb)! # in function: create_services_rdb # *************************************************************** as requested by mmeeks, attached strace -f -s 256 -o /tmp/ilog bin/ooinstall -l /path/to/install
the file is too large available here http://oooconv.free.fr/tests/ilog.zip
in ooinstall what's this for ? # Workaround for the Python $configure_vars{'PYTHONPATH'} = "$setup_vars{'OOBUILDDIR'}/instsetoo_native/$configure_vars{'INPATH'}/bin:$configure_vars{'SOLARVERSION'}/$configure_vars{'INPATH'}/lib"; Maybe we should be adding solver/330/unxlngx6.pro/lib/python/lib-dynload to this path as well to get it to find _socket.so in there, maybe something like... $configure_vars{'PYTHONPATH'} = "$setup_vars{'OOBUILDDIR'}/instsetoo_native/$configure_vars{'INPATH'}/bin:$configure_vars{'SOLARVERSION'}/$configure_vars{'INPATH'}/lib:$configure_vars{'INPATH'}/lib/python/lib-dynload"; you get the picture anyway, even if that's a junk line in practice.
Created attachment 39342 [details] does this make a difference ?
Created attachment 39343 [details] excerpt of critical section, missing the _socket library.
Laurent - it would be great to have the result of: find -name '_socket*' from your build directory [ or best inside build/libreoffice*/solver ] would be good:
as requested in build directory find -name '_socket*' ./build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/lib/python/lib-dynload/_socket.so ./build/libreoffice-3.2.99.2/boost/unxlngi6.pro/misc/build/boost_1_39_0/doc/html/boost_asio/reference/socket_base/_socket_base.html ./build/libreoffice-3.2.99.2/pyuno/unxlngi6.pro/bin/python-core-2.6.1/lib/lib-dynload/_socket.so ./build/libreoffice-3.2.99.2/python/unxlngi6.pro/misc/build/python-inst/lib/python2.6/lib-dynload/_socket.so ./build/libreoffice-3.2.99.2/python/unxlngi6.pro/misc/build/Python-2.6.1/PCbuild/_socket.vcproj ./build/libreoffice-3.2.99.2/python/unxlngi6.pro/misc/build/Python-2.6.1/build/lib.linux-i686-2.6/_socket.so ./build/libreoffice-3.2.99.2/python/unxlngi6.pro/misc/build/Python-2.6.1/PC/VC6/_socket.dsp ./build/libreoffice-3.2.99.2/python/unxlngi6.pro/misc/build/Python-2.6.1/PC/VS7.1/_socket.vcproj ./build/libreoffice-3.2.99.2/python/unxlngi6.pro/misc/build/Python-2.6.1/PC/VS8.0/_socket.vcproj
So, I committed+pushed in my suggested fix, and I'll *assume* that it fixes this. Give it a go, and if its still busted reopen this bug and we'll have another go
fixed for me too thx guys
*** Bug 30643 has been marked as a duplicate of this bug. ***
Closing - Sophie