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

            Bug ID: 161292
           Summary: Windows MAR autoupdate breaks the whole application
                    due to python version change
           Product: LibreOffice
           Version: 24.2.2.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Installation
          Assignee: [email protected]
          Reporter: [email protected]

I turned on the MAR autoupdate feature for my Windows 24.2 installation.  The
update went fine once previously, updating to version 24.2.2.1.  A recent
update (around May 24th) broke the whole LibreOffice, however.

When I started the application from a shortcut icon, the autoupdate splash
screen appeared and the update process completed.  Then the regular LO splash
screen appeared but the application window didn't appear.  Starting application
a second time made no difference, only splash screen, no application window. 
Starting application from command line revealed more details:

Python path configuration:
  PYTHONHOME =
'D:\Programs\LibreOffice\24.2.autoupdate\program\..\program\python-core-3.8.19'
  PYTHONPATH =
'D:\Programs\LibreOffice\24.2.autoupdate\program\..\program\python-core-3.8.19\lib;D:\Programs\LibreOffice\24.2.autoupdate\program\..\program\python-core-3.8.19\lib\site-packages;D:\Programs\LibreOffice\24.2.autoupdate\program\..\program'
  program name = 'python'
  isolated = 0
  environment = 1
  user site = 1
  import site = 1
  sys._base_executable =
'D:\\Programs\\LibreOffice\\24.2.autoupdate\\program\\soffice.bin'
  sys.base_prefix =
'D:\\Programs\\LibreOffice\\24.2.autoupdate\\program\\..\\program\\python-core-3.8.19'
  sys.base_exec_prefix =
'D:\\Programs\\LibreOffice\\24.2.autoupdate\\program\\..\\program\\python-core-3.8.19'
  sys.executable =
'D:\\Programs\\LibreOffice\\24.2.autoupdate\\program\\soffice.bin'
  sys.prefix =
'D:\\Programs\\LibreOffice\\24.2.autoupdate\\program\\..\\program\\python-core-3.8.19'
  sys.exec_prefix =
'D:\\Programs\\LibreOffice\\24.2.autoupdate\\program\\..\\program\\python-core-3.8.19'
  sys.path = [
   
'D:\\Programs\\LibreOffice\\24.2.autoupdate\\program\\..\\program\\python-core-3.8.19\\lib',
   
'D:\\Programs\\LibreOffice\\24.2.autoupdate\\program\\..\\program\\python-core-3.8.19\\lib\\site-packages',
    'D:\\Programs\\LibreOffice\\24.2.autoupdate\\program\\..\\program',
    'D:\\Programs\\LibreOffice\\24.2.autoupdate\\program\\python38.zip',
   
'D:\\Programs\\LibreOffice\\24.2.autoupdate\\program\\..\\program\\python-core-3.8.19\\DLLs',
   
'D:\\Programs\\LibreOffice\\24.2.autoupdate\\program\\..\\program\\python-core-3.8.19\\lib',
    'D:\\Programs\\LibreOffice\\24.2.autoupdate\\program',
  ]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the
filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

It turns out that after autoupdate, the program\python-core-3.8.18\ (likely the
version for LO 24.2.2.1) directory is empty, yet program\python-core-3.8.19\
directory doesn't exist, so LO fails to start due to missing python.

The application doesn't start now so I can't provide accurate version
information.  But the following is the version information for the 7.6.7
version installed on the same machine, in case it's helpful:
CPU threads: 12; OS: Windows 10.0 Build 22631; UI render: default; VCL: win
Locale: zh-CN (zh_CN); UI: en-US
Calc: CL threaded

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

Reply via email to