Menu

#189 Cannot update to 0.52.1 bia LibreOffice Extensions > Check for Updates dialog

v1.0_(example)
open
nobody
None
5
2024-08-15
2024-07-27
Nick Abbott
No

When attempting to UPDATE TextMaths (0.52 => 0.52.1) from within the LibreOffice Update dialogue (Libre office build:https://git.libreoffice.org/core/+log/bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59), I am hitting the following fatal error immediately after the download has finished...

Error while installing extension TexMaths. The error message is: Bad Zip File, ZipException: Duplicate CEN entry (case insensitive) at C:/cygwin64/home/buildslave/source/libo-core/package/source/zipapi/ZipFile.cxx:1171 at C:/cygwin64/home/buildslave/source/libo-core/package/source/zippackage/ZipPackage.cxx:871 at C:/cygwin64/home/buildslave/source/libo-core/ucb/source/ucp/package/pkgprovider.cxx:240
The extension will not be installed.

Discussion

  • Roland Baudin

    Roland Baudin - 2024-07-29

    Hi,

    what system do you use?

    I tried this morning in Ubuntu 24.04 with LibreOffice 24.2.4.2 and updating TexMaths (0.52 => 0.52
    .1) from the extensions menu worked as expected.

     
  • Nick Abbott

    Nick Abbott - 2024-07-29

    I am using Windows 11 (latest).
    The error message appears to reference a local installation of cygwin but (...Duplicate CEN entry (case insensitive) at C:/cygwin64/home/buildslave/source/libo-co...)
    ...but I do not have CygWin install - I know what it is, but I don't use it?

     
    • Roland Baudin

      Roland Baudin - 2024-07-29

      Strange! I'll test it in Windows. For sure, you don't need cygwin!

       
  • Ralf Heckmann

    Ralf Heckmann - 2024-07-29

    Same problem with Windows 10:
    (com.sun.star.lang.WrappedTargetRuntimeException) { { { Message = "Bad Zip File, ZipException: Duplicate CEN entry (case insensitive) at C:/cygwin64/home/buildslave/source/libo-core/package/source/zipapi/ZipFile.cxx:1171 at C:/cygwin64/home/buildslave/source/libo-core/package/source/zippackage/ZipPackage.cxx:871 at C:/cygwin64/home/buildslave/source/libo-core/ucb/source/ucp/package/pkgprovider.cxx:240", Context = (com.sun.star.uno.XInterface) @17121431b50 (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 C:/cygwin64/home/buildslave/source/libo-core/package/source/zipapi/ZipFile.cxx:1171 at C:/cygwin64/home/buildslave/source/libo-core/package/source/zippackage/ZipPackage.cxx:871", Context = (com.sun.star.uno.XInterface) @17121431b50 (ImplementationName = "com.sun.star.packages.comp.ZipPackage") } } } } }

    It doesn't matter whether to update via the Extension Manager or to download the oxt from https://sourceforge.net/projects/texmaths/files/ and then to install manually.

    Tested with all versions since TexMaths-0.50.oxt to the latest one.

    Because the installation of an updated German thesaurus (https://www.openthesaurus.de/export/Deutscher-Thesaurus.oxt) worked without any problems, it seems not to be a general problem of LibreOffice (24.2.5).

     
    • Roland Baudin

      Roland Baudin - 2024-07-29

      OK, thanks for these data. It really helped.

      I was able to reproduce the problem in Windows 10 and you can find as an attachment a pre-version that fixes the issue.

      FYI, there was two symbol names that were identical on a case insensitive system like Windows (Diamond.svg and diamond.svg). And there was recently a commit in LibreOffice that prevent this to work, so the trouble...

       
  • Ralf Heckmann

    Ralf Heckmann - 2024-07-31

    Sorry for the late answer and thanks for the pre-version. Now the installation worked properly.

     
    • Roland Baudin

      Roland Baudin - 2024-07-31

      OK, nice! Thanks for the feedback.

       
  • Peter

    Peter - 2024-08-13

    If I understand correctly, the problem described here is similar to #188.
    It appeared starting with version 24.2.5.2.
    TexMaths 0.52.2 solves this problem.
    Thank you, Roland Baudin.

     
  • Tasos Papastylianou

    Just pitching in to confirm that this error wasn't windows specific. I get the exact same error (except the 'cygwin' reference is replaced by a normal unix path) on linux mint (both current and previous versions, on a libreoffice .deb installation downloaded directly from the libreoffice website).

    I also confirm that the 0.52.2 version above installs and works as expected. Many thanks.

     
    • Roland Baudin

      Roland Baudin - 2024-08-15

      The bug is fixed in TexMaths 0.52.2, please upgrade!

       

Log in to post a comment.