[Libreoffice-bugs] [Bug 144902] New version of calc and impress can't run on windows 7 (since version 7.1.5)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Oct 5 23:43:40 UTC 2021


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

--- Comment #26 from ywupub at 163.com ---
(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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20211005/760b6034/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list