Menu

#188 Failed to install TexMaths 0.52.1

v1.0_(example)
open
nobody
None
5
2024-08-15
2024-07-16
Peter
No

Greetings.
I can't install TexMaths in Libreoffice 24.2.5.2.
This is a Fedora 40 KDE spin.
Libreoffice was installed as rpm from Fedora repositories.
I get this strange message:

(com.sun.star.lang.WrappedTargetRuntimeException) { { { Message = "Bad Zip File, ZipException: Duplicate CEN entry (case insensitive) at /builddir/build/BUILD/libreoffice-24.2.5.2/package/source/zipapi/ ZipFile.cxx:1171 at /builddir/build/BUILD/libreoffice-24.2.5.2/package/source/zippackage/ZipPackage.cxx:873 at /builddir/build/BUILD/libreoffice-24.2.5.2/ucb/source/ucp/ package/pkgprovider.cxx:241", Context = (com.sun.star.uno.XInterface) @7f98380031b0 (ImplementationName = "com.sun.star.packages.comp.ZipPackage") } }, TargetException = (any) { (com.sun.star.packages.zip.ZipIOException) { { { Message = "Bad Zip File, ZipException: Duplicate CEN entry (case insensitive) at /builddir/build/BUILD/libreoffice-24.2.5.2/package/source/ zipapi/ZipFile.cxx:1171 at /builddir/build/BUILD/libreoffice-24.2.5.2/package/source/zippackage/ZipPackage.cxx:873", Context = (com.sun.star.uno.XInterface) @7f98380031b0 ( ImplementationName = "com.sun.star.packages.comp.ZipPackage") } } } } }

The problem is only with TexMaths, another extension was installed without problems.
There is version 0.49 in the Fedora repositories. It can be installed from the repositories and it works.
But 0.52.1 cannot be installed.
Many thanks.

Discussion

  • Ma Kam To

    Ma Kam To - 2024-07-18

    Same here but I can't install TexMaths regardless its version. I installed it by Ubuntu App Center https://github.com/ubuntu/libreoffice.

    OS: Ubuntu noble 24.04 x86_64
    Kernel: Linux 6.8.0-38-generic
    DE: GNOME 46.0
    WM: Mutter (Wayland)
    Version: 24.2.5.2 (X86_64) / LibreOffice Community
    Build ID: d6e8b0f3fc6e8af2b00cf4969fd0d2fa45b9a62e
    CPU threads: 8; OS: Linux 6.8; UI render: default; VCL: gtk3
    Locale: en-US (en_US.UTF-8); UI: en-US
    Calc: threaded

     
    • Ma Kam To

      Ma Kam To - 2024-07-18

      Problem solved. It was because the snap version. Install apt version to solve the issue.

      sudo apt install libreoffice
      
       
      • Peter

        Peter - 2024-07-19

        TexMaths is not compatible with either snap or flatpak.
        Ubuntu now has version 24.2.4.2 in deb.
        That is why you had the opportunity to install this extension.
        But from 24.2.5.2 it is unlikely to be installed in Ubuntu.
        I also solved the problem in a somewhat unusual way.
        Since this was a fresh install, I reinstalled Fedora.
        Without updating, installed the extension.
        And only then updated the entire package base of the distribution, including the office, to version 24.2.5.2.

         
        • Roland Baudin

          Roland Baudin - 2024-07-22

          Yes, I confirm that TexMaths can't be used if LibreOffice is installed as a snap or flatpak package. This is because in that case LateX programs can't be launched from LibreOffice.

           
          👍
          1
  • Mike Kaganski

    Mike Kaganski - 2024-07-18

    While the restriction to not have files differing only by case (introduced in https://gerrit.libreoffice.org/c/core/+/170291, with a stated goal to be used for OOXML) was eventually removed in https://gerrit.libreoffice.org/c/core/+/170623 for extensions, this issue still better checked. Having case-different files in the package, which may be used on any filesystems, including Windows, is suspicious and, if the package really expects these case-different files, then it is likely to fail on case-insensitive systems.

     
    • Roland Baudin

      Roland Baudin - 2024-08-15

      This is fixed in TexMaths 0.52.2, please upgrade!

       
      👍
      1

Log in to post a comment.