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

            Bug ID: 151076
           Summary: Python script InsertText.py fails with error message
           Product: LibreOffice
           Version: 7.3.6.2 release
          Hardware: ARM
                OS: macOS (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
1) Start LibreOffice
2) Open new Writer document
3) Type some text
4) Macros > Run > Select the Insert Text python script
5) Click on Run.
6) Error message:
com.sun.star.uno.RuntimeException: Error during invoking function InsertText in
module
file:///Applications/LibreOffice.app/Contents/Resources/Scripts/python/InsertText.py
(<class 'TypeError'>: InsertText() missing 1 required positional argument:
'text'
  File "/Applications/LibreOffice.app/Contents/Resources/pythonscript.py", line
915, in invoke
    ret = self.func( *args )
)



Steps to Reproduce:
See above

Actual Results:
Script fails to execute, displays error message

Expected Results:
Script should execute and insert text.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.3.6.2 / LibreOffice Community
Build ID: c28ca90fd6e1a19e189fc16c05f8f8924961e12e
CPU threads: 8; OS: Mac OS X 12.6; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded

from macOS appstore, if that makes any difference (Arm M1)

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

Reply via email to