https://bugs.documentfoundation.org/show_bug.cgi?id=144902
--- Comment #26 from [email protected] --- (In reply to Mike Kaganski from comment #25) > (In reply to Ming Hua from comment #24) > > Maybe it's worth testing if the bundled python actually works on reporter's > > machine? > > Definitely - thanks! > > ywupub: could you please: > > 1. Open command prompt (cmd.exe); > 2. Run > > > "C:\Program Files\LibreOffice\program\python.exe" > > 3. In Python command prompt, execute > > > import uno > > import pythonloader > > pythonloader.DEBUG=1 > > l = pythonloader.Loader(uno.getComponentContext()) > > l.getImplementationName() > > I hope this would run successfully. But maybe we do have some problem with > bundled Python? Sorry, I don't know python at all, I run the cmd you gave line by line, seems the python bundled is the reason for the issue: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Program Files\LibreOffice\program>python.exe Python 3.8.10 (default, Sep 9 2021, 17:09:56) [MSC v.1928 64 bit (AMD64)] on wi n32 Type "help", "copyright", "credits" or "license" for more information. >>> import uno Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Program Files\LibreOffice\program\uno.py", line 19, in <module> import pyuno ImportError: DLL load failed while importing pyuno: The parameter is incorrect. >>> import pythonloader Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Program Files\LibreOffice\program\pythonloader.py", line 19, in <modu le> import uno File "C:\Program Files\LibreOffice\program\uno.py", line 19, in <module> import pyuno ImportError: DLL load failed while importing pyuno: The parameter is incorrect. >>> l = pythonloader.Loader(uno.getComponentContext()) Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'pythonloader' is not defined >>> -- You are receiving this mail because: You are the assignee for the bug.
