[Libreoffice-bugs] [Bug 127351] New: Example python script not execute

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Sep 5 02:46:27 UTC 2019


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

            Bug ID: 127351
           Summary: Example python script not execute
           Product: LibreOffice
           Version: 6.3.1.1 rc
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Documentation
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: public at elmau.net
                CC: olivier.hallot at libreoffice.org

Description:
The example:
https://help.libreoffice.org/6.3/en-US/text/sbasic/python/python_shell.html?&DbPAR=BASIC&System=UNIX

Only work if LibreOffice is installed manuality, but not, if used the version
of the distribution, because generally this versions used the Python Core the
system, for this case:

import subprocess

def interpreter_console():
    subprocess.Popen('python')  
    return

Steps to Reproduce:
Only if used LibreOffice of the distribution

1. Copy and paste script
2. Execute

Actual Results:
Error: FileNOtFoundError

Expected Results:
Show interpreter console


Reproducible: Always


User Profile Reset: No



Additional Info:
Example:
https://help.libreoffice.org/6.3/en-US/text/sbasic/python/python_shell.html?&DbPAR=BASIC&System=UNIX

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190905/b58a7261/attachment.html>


More information about the Libreoffice-bugs mailing list