ZipException when installing an extension

Hey everyone, I’ve started having a weird issue when trying to install extensions for LibreOffice. The extension in question is TexMaths. I just grabbed the latest version, opened the Extension Manager, clicked “Add…”, selected the .oxt file, and received the following error:
image

I’ve tried a few things to hopefully fix it, but none of these worked:

  • Downloading the file from another browser (Firefox and Chromium)
  • Unzipping the extension and rezipping (in the hopes that the zip was somehow corrupted after downloading it 5 times)
  • Tried different older versions of the extension
  • Restarting (you never know)

My environment is Fedora Linux 40 (KDE), with LibreOffice installed as a Flatpak (I also tried installing it as an RPM, no success)

I’ve also searched around the internet for this specific error and found nothing.

Please share the extension to try.

Guess you use v.24.2.5? This exception is added there, for bad ZIP files. But that extension package is not bad, it really uses case-sensitive files.

This is the extension I’m trying to install: https://extensions.libreoffice.org/assets/downloads/1236/1719745012/TexMaths-0.52.1.oxt

Also yeah, seems I’m running 24.2.5

Someone else has reported this as a bug also: TexMaths / Bugs / #188 Failed to install TexMaths 0.52.1

https://gerrit.libreoffice.org/c/core/+/170616 fixed that.

Note though, that even if the case difference is allowed for ZIP, and possible on Linux, still the extension is not Linux-only; and thus, having filenames in it, differing only with case, would make it behave strangely on Windows; thus, it is useful for the extension author to consider that, and re-structure it, to only use filenames differing not only in case.

should be fixed with https://gerrit.libreoffice.org/c/core/+/170623

Thanks for fixing the issue! Do you happen to know when a version containing the fix will be out?