diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-05-28 11:47:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-05-28 16:02:46 +0200 |
commit | 7b91e84c72596d8d1dc3687292c9946f172c4df6 (patch) | |
tree | ba3a89bf4892ca5c42f3ac117c30a5a2d483dd3f /scp2 | |
parent | c36ff98f796761a4ec106563ad9761d8020b497a (diff) |
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
Diffstat (limited to 'scp2')
-rw-r--r-- | scp2/source/python/file_python.scp | 7 | ||||
-rw-r--r-- | scp2/source/python/module_python.scp | 1 |
2 files changed, 8 insertions, 0 deletions
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, |