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

            Bug ID: 163408
           Summary: Scriptforge in LibreOffice 24.8.x get RuntimeError:
                    The execution of the method 'SetStatusbar' failed.
                    Execution stops
           Product: LibreOffice
           Version: 24.8.2.1 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Scriptforge in LibreOffice 24.8.x get RuntimeError: The execution of the method
'SetStatusbar' failed. Execution stops when use SF_UI in python code
I tested with: SetStatusBar and SetStatusbar

Steps to Reproduce:
1.Open APSO
2.oUI = CreateScriptService('UI')
3.oUI.SetStatusbar('abc', 10)

Actual Results:
Traceback (most recent call last):
  File "/usr/lib/python3.12/code.py", line 90, in runcode
    exec(code, self.locals)
  File "<console>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/scriptforge.py", line 1756, in
SetStatusbar
    return self.ExecMethod(self.vbMethod, 'SetStatusbar', text, percentage)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/scriptforge.py", line 621, in ExecMethod
    return self.EXEC(self.objectreference, flags, methodname, *args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/scriptforge.py", line 353, in
InvokeBasicService
    raise RuntimeError("The execution of the method '" + method + "' failed.
Execution stops.")
RuntimeError: The execution of the method 'SetStatusbar' failed. Execution
stops.

Expected Results:
No error 


Reproducible: Always


User Profile Reset: No

Additional Info:
LibreOffice 24.2.6 is OK

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

Reply via email to