https://bugs.documentfoundation.org/show_bug.cgi?id=151695

            Bug ID: 151695
           Summary: Errors when Running Scripts separately from the
                    LibreOffice process
           Product: LibreOffice
           Version: 7.3.6.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: phh...@gmail.com

Description:
I do the following:

libreoffice --calc --accept='socket,host=localhost,port=2021;urp;'
cd /usr/lib64/libreoffice/program
python

I then I get this error:

>>> from scriptforge import ScriptForge, CreateScriptService
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/libreoffice/program/scriptforge.py", line 57, in <module>
    import uno
  File "/usr/lib64/python3.10/site-packages/uno.py", line 32, in <module>
    _component_context = pyuno.getComponentContext()
SystemError: Error during bootstrapping uno (RuntimeException):URI
libuno_cppuhelpergcc3.so.3 is expected to contain a slash
/builddir/build/BUILD/libreoffice-7.3.6.2/cppuhelper/source/paths.cxx:44
>>> 

Could you please help me?




Steps to Reproduce:
I do the following:

libreoffice --calc --accept='socket,host=localhost,port=2021;urp;'
cd /usr/lib64/libreoffice/program
python

I then I get this error:

>>> from scriptforge import ScriptForge, CreateScriptService
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/libreoffice/program/scriptforge.py", line 57, in <module>
    import uno
  File "/usr/lib64/python3.10/site-packages/uno.py", line 32, in <module>
    _component_context = pyuno.getComponentContext()
SystemError: Error during bootstrapping uno (RuntimeException):URI
libuno_cppuhelpergcc3.so.3 is expected to contain a slash
/builddir/build/BUILD/libreoffice-7.3.6.2/cppuhelper/source/paths.cxx:44
>>> 

Could you please help me?




Actual Results:

>>> from scriptforge import ScriptForge, CreateScriptService
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/libreoffice/program/scriptforge.py", line 57, in <module>
    import uno
  File "/usr/lib64/python3.10/site-packages/uno.py", line 32, in <module>
    _component_context = pyuno.getComponentContext()
SystemError: Error during bootstrapping uno (RuntimeException):URI
libuno_cppuhelpergcc3.so.3 is expected to contain a slash
/builddir/build/BUILD/libreoffice-7.3.6.2/cppuhelper/source/paths.cxx:44
>>> 


Expected Results:
No error.


Reproducible: Always


User Profile Reset: No

Additional Info:

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to