I've just had a failure of ODTimport plugin in Sigil. Although my Sigil 1.1.0 is rather old, it's what comes with UbuntuStudio 20.04 LTS (which I'm hoping to update to 22.04 in a few weeks' time) and I had it working well in 2020 and 2021. I had a few problems which were resolved in this thread towards the end of 2020. I note that 0.3.2 is still the current version of the ODTimport plugin.
My last useful production using ODTimport with my setup was in the summer of 2021. Although I did run into a snag which my investigations showed to be a problem caused by my replacing png images with gifs in the odt file before converting to epub. When I returned to the original pngs, all was well. I'm afraid the notes I kept of that incident were rather sketchy.
Today my odt file has all png images so that wouldn't appear to be the problem. The error messages are:
writer2latex.jar messages:
This is Writer2xhtml, Version 1.6 (2018-03-06)
Starting conversion...
Reading style sheet /home/pnj/.local/share/sigil-ebook/sigil/plugins/ODTImport/epub.css
Reading configuration file /home/pnj/.local/share/sigil-ebook/sigil/plugins/ODTImport/config.xml
Converting /home/pnj/Documents/Cycle_des_quintes_Workbooks/Volume-1/e-book versions/CDQ-WkBk-V1a-eBkdev.odt
Writer2xhtml failed!
Java error messages:
Exception in thread "main" org.w3c.dom.DOMException: NOT_FOUND_ERR: An attempt is made to reference a node in a context where it does not exist.
at java.xml/com.sun.org.apache.xerces.internal.dom.ParentNode. internalRemoveChild(ParentNode.java:500)
at java.xml/com.sun.org.apache.xerces.internal.dom.ParentNode. removeChild(ParentNode.java:480)
at writer2latex.xhtml.TextConverter.handleParagraph(T extConverter.java:604)
at writer2latex.xhtml.TextConverter.traverseBlockText (TextConverter.java:244)
at writer2latex.xhtml.TextConverter.traverseBlockText (TextConverter.java:181)
at writer2latex.xhtml.TextConverter.convertTextConten t(TextConverter.java:138)
at writer2latex.xhtml.Converter.convertInner(Converte r.java:296)
at writer2latex.base.ConverterBase.convert(ConverterB ase.java:128)
at writer2latex.base.ConverterBase.convert(ConverterB ase.java:103)
at writer2latex.epub.EPUBConverter.convert(EPUBConver ter.java:48)
at writer2latex.base.ConverterBase.convert(ConverterB ase.java:96)
at writer2latex.Application.doConversion(Application. java:279)
at writer2latex.Application.main(Application.java:93)
If I go back to the last odt file I converted to epub in Sigil/ODTimport last summer, I can import a copy and convert to epub ok so the tool combination is not broken. The problem would seem to be in my new Writer odt file.
Can anyone suggest what the problem could be and where to look for correcting it?
|