https://bz.apache.org/ooo/show_bug.cgi?id=128569
Issue ID: 128569 Issue Type: DEFECT Summary: Python script can't import ssl Product: General Version: 4.0.0 Hardware: PC OS: Windows, all Status: UNCONFIRMED Severity: Normal Priority: P5 (lowest) Component: scripting Assignee: issues@openoffice.apache.org Reporter: prrv...@gmail.com Target Milestone: --- Hi all, If you are using OpenOffice 4.x.x on Windows 7, 8 10, 11 (x32) or (x64), you cannot import ssl into a python script (or an extension) without having an import error stating that the _ssl module is not found. How to reproduce: - The case that works: On Windows (7, 8, 10 or 11) open an Command Prompt(CMD). Go to the installation folder of the OpenOffice program with the command: cd "C:\Program Files (x86)\OpenOffice 4\program" Launch the Python interpreter with the command: python In the Python interpreter you can type the following commands: - import ssl - print(ssl.OPENSSL_VERSION) It should read: OpenSSL 1.0.2u 20 Dec 2019 - The case that does not work: Install the OAuth2OOo extension: https://github.com/prrvchr/OAuth2OOo/raw/master/OAuth2OOo.oxt In OpenOffice go to: Tools -> Options -> Internet -> OAuth2 protocol In Logger setting choose the OAuth2Logger log and enable logging. Save by exiting this window with Ok and restarting OpenOffice. Go back to: Tools -> Options -> Internet -> OAuth2 protocol Click on the view log button and in this window on the system info button Close and reopen the view log: you have the import error message on the module _ssl (you must install the jdbcDriverOOo extension and Java 11 if you want to have a full localized error message) -- You are receiving this mail because: You are the assignee for the issue.