Bug in the OpenXML filter for OmegaT (temporary MSO files)

1 view
Skip to first unread message

Jean-Christophe Helary

Nov 15, 2021, 10:31:51 AM11/15/21
to okapi...@googlegroups.com
There is a bug in the handling of MSO files. It is related to the fact the MSO creates a temporary file when opening an OpenXML file, with a ~$ prefix and a standard "..x" extension, that OmegaT tries to unzip, and fails.

For some reason, even though the file should be handled my the OmegaT MSO filter, it is eventually passed to the Okapi filter that chokes on it, and OmegaT refuses to (re)open the project.

13459: Erreur: net.sf.okapi.common.exceptions.OkapiIOException: Error opening zipped input

The OmegaT filter has fixed that by adding **/~$* to the excluded files list:


Would it be possible to have something similar on the Okapi side ?

Jean-Christophe Helary @brandelune

Chase Tingley

Nov 15, 2021, 11:42:01 AM11/15/21
to okapi...@googlegroups.com
It sounds like the best place for this fix is in the plugin itself, rather than in the filter.  Once the filter has been told to extract the file, it doesn't really have a way to turn down the operation.

You received this message because you are subscribed to the Google Groups "okapi-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to okapi-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/okapi-devel/49E406F6-FC9E-4F1F-B58C-D0D2932C7D05%40traduction-libre.org.
Reply all
Reply to author
0 new messages