Open bertfrees opened 8 months ago
This may be a Windows related issue - in looking at the output of both the html-to-epub3 and epub3-to-epub3 jobs used to convert from HTML through to ePub with Audio, I am seeing a couple of "Error" messages at the end of the output, but the resulting ePub is successfully produced. The error is " SetDoctype: px:set-doctype failed to read from ..." and then lists a full path to a file (I'll include screenshots from each step.)
I was able to check and the files actually exist in the location used by the ePub Enhancement script, so the path is correct. I was unable to find the folder referenced by the HTML to ePub script, since the job was removed after processing.
@GrayWolfMT It looks like it might be a Windows issue indeed. I'm going to test it on a VM. If it isn't too much work for you, you may already send me the full log of the conversion.
I can't reproduce the "SetDoctype" issue, perhaps because I'm not using the same input file and job options as you are.
But anyway, I don't think the fact that the doctype is not set to <!DOCTYPE html>
is specific to Windows after all. It seems this just isn't something that Pipeline does at the moment.
I looked too fast. It seems we do something, except not in a place I expected: https://github.com/daisy/pipeline-modules/commit/78708687b4051a07bb832d6de8f73750d81da262.
Issue reported by Tom McCartney: