To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=46411
Issue #:|46411
Summary:|Installation fails on registration of
|vnd.openoffice.pymodule:pythonscript
Component:|udk
Version:|680m86
Platform:|All
URL:|
OS/Version:|Linux
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|code
Assigned to:|kr
Reported by:|kendy
------- Additional comments from [EMAIL PROTECTED] Thu Mar 31 06:20:44 -0800
2005 -------
The installation fails for me with the following in the log file:
######################################################
Registering python UNO components:
######################################################
SUCCESS: Source for
types.rdb:
/local/ooo-build/ooo-build/build/src680-m86/solver/680/unxlngi4.pro/bin/types.rdb
SUCCESS: Source for
pyuno_services.rdb:
/local/ooo-build/ooo-build/build/src680-m86/solver/680/unxlngi4.pro/bin/pyuno_services.rdb
Systemcall:
/local/ooo-build/ooo-build/build/src680-m86/solver/680/unxlngi4.pro/bin/regcomp
-register
-br
/local/ooo-build/ooo-build/build/src680-m86/solver/680/unxlngi4.pro/bin/types.rdb
-br
/local/ooo-build/ooo-build/build/src680-m86/solver/680/unxlngi4.pro/bin/pyuno_services.rdb
-r
/local/ooo-build/ooo-build/build/src680-m86/instsetoo_native/util/OpenOffice/services.rdb/en-US_inprogress_2/services.rdb
-c vnd.openoffice.pymodule:pythonscript -l com.sun.star.loader.Python 2>&1 |
register component 'vnd.openoffice.pymodule:pythonscript' in registry
'/local/ooo-build/ooo-build/build/src680-m86/instsetoo_native/util/OpenOffice/services.rdb/en-US_inprogress_2/services.rdb'
failed!
error (CannotRegisterImplementationException):
ImplementationRegistration::doRegistration() component registration signaled
failure
ERROR:
/local/ooo-build/ooo-build/build/src680-m86/solver/680/unxlngi4.pro/bin/regcomp
-register
-br
/local/ooo-build/ooo-build/build/src680-m86/solver/680/unxlngi4.pro/bin/types.rdb
-br
/local/ooo-build/ooo-build/build/src680-m86/solver/680/unxlngi4.pro/bin/pyuno_services.rdb
-r
/local/ooo-build/ooo-build/build/src680-m86/instsetoo_native/util/OpenOffice/services.rdb/en-US_inprogress_2/services.rdb
-c vnd.openoffice.pymodule:pythonscript -l com.sun.star.loader.Python 2>&1 |
The "ImplementationRegistration::doRegistration() component registration
signaled failure" was interesting to me, so I tried to add a debug message into
stoc/source/implementationregistration/implreg.cxx; to my surprise it started
working. It works even with a printf( "" ), or also with a fflush( stdout ):
--- stoc/source/implementationregistration/implreg.cxx
+++ stoc/source/implementationregistration/implreg.cxx
@@ -1866,6 +1866,8 @@ void ImplementationRegistration::doRegis
xSourceKey =
xReg->getRootKey()->createKey( spool().slash_IMPLEMENTATIONS );
}
+ printf( "" );
+
sal_Bool bSuccess =
xAct->writeRegistryInfo(xSourceKey, implementationLoaderUrl,
locationUrl);
if ( bSuccess )
I build on Linux, SUSE 9.3 (had the same problem also on 9.2), from ooo-build,
with system Python, in 32bit chroot environment on an AMD64 machine. I did not
have the problem with m79 with the same setup. Any ideas, please?
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]