schierlm/BibleMultiConverter

Bible name not found

MichaelJgit opened this issue · 4 comments

In attempting to convert an .odt file to .usx, I received the following error:

java -jar .\BibleMultiConverter-AllInOneEdition.jar RoundtripODT "C:\temp\Sovereign Creator has Spoken - Pickering 2016.odt" USX c:\temp\output\sov.usx
Exception in thread "main" java.io.IOException: Bible name not found!
at biblemulticonverter.format.RoundtripODT.fromContentXml(RoundtripODT.java:270)
at biblemulticonverter.format.RoundtripODT.doImport(RoundtripODT.java:255)
at biblemulticonverter.Main.main(Main.java:66)

What is it looking for in the input file for Bible name?
Thanks,
Mike

Can you tell me where you obtained the ODT file from? The Roundtrip... formats are intended that you convert an existing Bible text to that format, then edit it in e.g. LibreOffice, then convert it back or to another format.

RoundtripODT uses style templates to mark bible name, chapter and verse numbers etc. Convert an existing Bible to this format and you will see how it works.

For converting any pre-existing version of Pickering 2016 to USX; I would start with the USFM (or USFX) download available at https://ebible.org/details.php?id=engf35

I would suggest to unzip the USFM version and point BibleMultiConverter to the resulting directory.
Which is also mentioned in java -jar BibleMultiConverter-AllInOneEdition.jar help USFM

If the text is indeed newer edition and has been manually edited, expect a lot of manual work. In my experience, Word and ODT versions are the worst (as they tend to include hidden details and subtly different formatting). Any structured format (like US* or Zefania XML or even one verse per line as a text file) tend to be easier to import. And when there are only unstructured formats available, with HTML or EPUB you can at least search and replace tags until you get it to a format that can be converted (Still a lot of manual work).