Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


On Fri, 2010-10-22 at 15:03 +0200, Thomas Klausner wrote:

error (CannotRegisterImplementationException): loading component library failed: 
./pythonloader.uno.so
dmake:  Error code 1, while making '../../unxbsdx3.pro/lib/pyuno_services.rdb'

I don't know what it's doing here or why it fails -- verbose=1 doesn't
tell me more.

Here's where porting gets hard unfortunately. 

This is just a generic error, and from an exception. What might help you
out there is find exactly where the exceptions is being thrown and see
what the exact error is at the throw point. Which might be rather
painful with exceptions being caught, and something else thrown instead.

e.g. adding the attached patch
and export GDBREGCOMPTRACE=1
you get the picture, even if I've typos etc in this.

The other (horror possibility) is that your uno bridge isn't working at
all. Running the basic part of the uno bridge test might be already
possible for you if you try...

cd testtools/source/bridgetest
dmake

C.
--- solenv/inc/settings.mk.orig 2010-10-22 14:39:32.000000000 +0100
+++ solenv/inc/settings.mk      2010-10-22 14:41:16.000000000 +0100
@@ -1048,19 +1048,24 @@
 # allow seperate handling
 EXTMAXPROCESS*=$(MAXPROCESS)
 
+
+GDBTRACE=gdb --command=$(SOLARENV)/bin/gdbtrycatchtrace --args
+.IF "$(DEBUGCPPUNIT)" != ""
+GDBCPPUNITTRACE=$(GDBTRACE)
+.ENDIF
+.IF "$(GDBREGCOMPTRACE)" != ""
+GDBCPPUNITTRACE=$(GDBTRACE)
+.ENDIF
+
 IDLC*=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/idlc
 REGMERGE*=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/regmerge
 REGCOMPARE*=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/regcompare
-REGCOMP*=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/regcomp
+REGCOMP*=$(AUGMENT_LIBRARY_PATH) $(GDBREGCOMPTRACE) $(SOLARBINDIR)/regcomp
 CPPUMAKER*=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/cppumaker
 JAVAMAKER*=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/javamaker
 RDBMAKER*=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/rdbmaker
 CLIMAKER*=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/climaker
 
-.IF "$(DEBUGCPPUNIT)" != ""
-GDBCPPUNITTRACE=gdb --command=$(SOLARENV)/bin/gdbtrycatchtrace --args
-.ENDIF
-
 CPPUNITTESTER=$(AUGMENT_LIBRARY_PATH_LOCAL) $(GDBCPPUNITTRACE) $(SOLARBINDIR)/cppunittester
 HELPEX=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/helpex
 LNGCONVEX=$(AUGMENT_LIBRARY_PATH) $(SOLARBINDIR)/lngconvex

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.