From 7b91e84c72596d8d1dc3687292c9946f172c4df6 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 28 May 2013 11:47:57 +0200 Subject: Optional pyuno module should have its own services/pyuno.rdb ...this e.g. changes the error message when trying to register an extension that contains an (actively registered) Python component but no pyuno is installed from "Binary URP bridge disposed during call" to a less frightening "The service com.sun.star.loader.Python cannot be instantiated." Change-Id: I10f2b36b11395559ee95ce659878222b5ea99c11 --- scp2/source/python/file_python.scp | 7 +++++++ scp2/source/python/module_python.scp | 1 + 2 files changed, 8 insertions(+) (limited to 'scp2') diff --git a/scp2/source/python/file_python.scp b/scp2/source/python/file_python.scp index f57d2d017a79..23d4062d2125 100644 --- a/scp2/source/python/file_python.scp +++ b/scp2/source/python/file_python.scp @@ -53,6 +53,13 @@ End STD_LIB_FILE( gid_File_Lib_Pythonloader, pythonloader ) +File gid_File_Pyuno_Rdb + TXT_FILE_BODY; + Dir = gid_Brand_Dir_Program_Services; + Name = "pyuno.rdb"; + Styles = (PACKED); +End + File gid_File_Py_Unohelper TXT_FILE_BODY; Dir = gid_Brand_Dir_Program; diff --git a/scp2/source/python/module_python.scp b/scp2/source/python/module_python.scp index 61451cf167f5..6b3b7f04ce3c 100644 --- a/scp2/source/python/module_python.scp +++ b/scp2/source/python/module_python.scp @@ -44,6 +44,7 @@ Module gid_Module_Pyuno gid_Dir_Py_PythonCore_Bin, gid_Dir_Py_PythonCore_Lib); Files = (gid_File_Pyuno, + gid_File_Pyuno_Rdb, gid_File_Lib_Pyuno, gid_File_Lib_Pythonloader, gid_File_Py_Bin_Python, -- cgit