Unable to export .odt files from Pressbooks

Hmm, I don’t think the complaint is coming from Pressbooks. I think it’s comming from saxon-he.jar If we do /usr/bin/java -jar /opt/saxon-he/saxon-he.jar on the servers we run we get (among other --help type info):

  • Saxon-HE 9.7.0.10J from Saxonica

This is the version of Saxon-HE we specify in our docs (near upgrade/downgrade accordingly).

Generally everything in Pressbooks works with the latest version of whatever is on a linux distro, but this one might be more finicky. 9.7.0.10 is still available for download. It is not the latest version.

First, I’d check what version of saxon-he you are running. If it’s not 9.7.0.10 I would try to install that.

If you are unwilling to install (possibly related to your other post of". We cannot install older versions") then you’ll have to wait until we look at ODT/Word imports/exports in a future sprint. One of the ideas thrown around is to refactor to use PHP Office/PHP Word. This would remove the Saxon-HE dependency from our code entirely.

Regards,