Loading generateBaseline/postprocessing.py +3 −0 Original line number Diff line number Diff line Loading @@ -179,15 +179,18 @@ def refresh_docx_fields(input_path: str, image: str = "docx-field-refresh") -> s "-v", f"{lo_home}:/tmp/lo_home", # Mount temp home directory "-u", f"{os.getuid()}:{os.getgid()}", # <--- run as host user "-e", "HOME=/tmp/lo_home", # Tell LibreOffice to use temp directory for its profile "-e", "DISPLAY=", # Disable X11 display "-e", "DCONF_PROFILE=", # Disable dconf to avoid permission issues "-e", "SAL_USE_VCLPLUGIN=gen", # Use generic VCL plugin (headless) "-e", "LIBREOFFICE_PROFILE=/tmp/lo_home/.config/libreoffice", # Explicit profile path "-e", "NO_AT_BRIDGE=1", # Disable accessibility bridge image, "--headless", "--nodefault", "--norestore", # Don't restore previous session "--nolockcheck", # Don't check for file locks "--invisible", "--nofirststartwizard", # Don't show first start wizard "--convert-to", "docx", "--infilter=writer8", "--outdir", "/data", Loading Loading
generateBaseline/postprocessing.py +3 −0 Original line number Diff line number Diff line Loading @@ -179,15 +179,18 @@ def refresh_docx_fields(input_path: str, image: str = "docx-field-refresh") -> s "-v", f"{lo_home}:/tmp/lo_home", # Mount temp home directory "-u", f"{os.getuid()}:{os.getgid()}", # <--- run as host user "-e", "HOME=/tmp/lo_home", # Tell LibreOffice to use temp directory for its profile "-e", "DISPLAY=", # Disable X11 display "-e", "DCONF_PROFILE=", # Disable dconf to avoid permission issues "-e", "SAL_USE_VCLPLUGIN=gen", # Use generic VCL plugin (headless) "-e", "LIBREOFFICE_PROFILE=/tmp/lo_home/.config/libreoffice", # Explicit profile path "-e", "NO_AT_BRIDGE=1", # Disable accessibility bridge image, "--headless", "--nodefault", "--norestore", # Don't restore previous session "--nolockcheck", # Don't check for file locks "--invisible", "--nofirststartwizard", # Don't show first start wizard "--convert-to", "docx", "--infilter=writer8", "--outdir", "/data", Loading