-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bible parsing error #209
Comments
Hi @seraphx2 , sorry for the late reply. You'll need to use the |
Sorry if this should be obvious, but I'm not seeing where to specify that flag. |
I added creator.addImporter(SwordImporter, {
versionMeta: {
uid: "ENGKJV",
title: "King James Version 2006",
isPlaintext: true,
hasStrongs: true,
},
sourcePath: `D:/bible-importer/sword/${dataFile}`,
skip: {
crossRefs: false,
notes: true,
strongs: false,
},
logLevel: "verbose",
});
|
@danbenn any ideas on what I'm doing wrong? |
Hello? Anyone? |
Hi @seraphx2 , apologies for the late reply, can you try adding this flag to your code?
So with your current setup, that would be:
This is what I'm seeing in the source code that causes this error, bible/osis/index.ts:
If the Let us know how it goes! |
lol. Now this error:
|
for whomever might come across this in the future: a lot of bible source files out there (especially OSIS, which sword is based on) are of very poor quality, containing lots of structural errors. Bible renderers often work around those issues however our importer needs to be more strict to translate the source file into a well defined format. |
The Bible file I am using is from here https://ebible.org/Scriptures/details.php?id=eng-kjv2006
The file I am using is the
Crosswire Sword module
entryHere is my app. It's really small:
I am getting this error when trying to run an import on a sword file:
The text was updated successfully, but these errors were encountered: