bhdirect-ebooks / percival

Bible ref tagger for B&H Direct EPUBs
1 stars 0 forks source link

failing to finish running because of orphaned chapter range #40

Open flintsteel7 opened 5 years ago

flintsteel7 commented 5 years ago

In WJKOTNTLib, Amos (0556) Chapter 3 line 66, (commit b4a8e2b4) there's this text: inclusion in the Judean territory (I Sam. 21.11-16; 27-30; For some reason, percival chokes on identifying alternatives for 27-30, giving this error: image When the text is changed to: inclusion in the Judean territory (I Sam. 21.11-16; I Sam. 27-30; percival handles it fine.

More digging to find out what is exactly going on here is necessary.

flintsteel7 commented 5 years ago

There was more going on in this file than the above. We later found this text: 'Ώv='ōn was actually causing the problem, specifically the ='. When we change it to a right curly quote instead of a straight apostrophe, (’Ώv=’ōn) Percival worked normally. I'm suspecting any of these sequences of characters will cause problems: =', =', =', =', or = (= followed by straight apostrophe, even if the apos is in entity form)

This may be related to #41