<div dir="ltr">As far as i remember strongsPadding is true for dictionaries by default, so your $$$1 is actually $$$00001<div><br></div><div>Good to know sword version for software and for imp2mod used to build module. Rebuilding module and using latest sword have to fix this issue.</div><div><br></div><div>p.s. diggin into <a href="http://www.crosswire.org/tracker/browse/MOD-61">http://www.crosswire.org/tracker/browse/MOD-61</a> would clear up the essence of this issue.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-14 21:26 GMT+04:00 DM Smith <span dir="ltr"><<a href="mailto:dmsmith@crosswire.org" target="_blank">dmsmith@crosswire.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">It was reported yesterday by Karl, that BosworthToller has an infinite loop bug. And that mod2imp hits this bug.<div><br></div><div>Here is where mod2imp starts to loop:</div><div>$$$-ǼWED<br><entryFree n="-ǽwed"><p><form><orth>-ǽwed</orth></form>. v. ge-ǽ.</p></entryFree><br>$$$-ǼWIRDLIAN<br><entryFree n="-ǽwirdlian"><p><form><orth>-ǽwirdlian</orth></form>. v. ge-ǽ</p></entryFree><br>$$$-ǼÞE<br><entryFree n="-ǽþe"><p><form><orth>-ǽþe</orth></form>. v. cyning-ǽ.</p></entryFree><br>$$$1<br><entryFree n="-ǽþe"><p><form><orth>-ǽþe</orth></form>. v. cyning-ǽ.</p></entryFree><br>$$$1<br><entryFree n="-ǽþe"><p><form><orth>-ǽþe</orth></form>. v. cyning-ǽ.</p></entryFree><br>This last entry is stuck in a loop.</div><div><br></div><div><div>From JSword, I’ve dumped the module just fine. Here is the section that is problematic:</div><div>Legend:</div><div>first column: index of the entry in the module</div><div>Second column: offset</div><div>Third column: size in bytes</div><div>Fourth column: the key</div><div>Fifth column: block number</div><div>Sixth column: block offset</div><div>(didn’t include columns for the index and offset in the uncompressed block.)</div><div>Last column: the first part of the entry, manually truncated for readability.</div><div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco">860<span style="white-space:pre-wrap">        </span>-ǼWED<span style="white-space:pre-wrap">        </span><entryFree n="-ǽwed"><p><form><orth>-ǽwed</orth></form>. ….</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco">861<span style="white-space:pre-wrap">        </span>-ǼWIRDLIAN<span style="white-space:pre-wrap">        </span><entryFree n="-ǽwirdlian"><p><form><orth>-ǽwirdlian</orth></form>. ….</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco">862<span style="white-space:pre-wrap">        </span>-ǼÞE<span style="white-space:pre-wrap">        </span><entryFree n="-ǽþe"><p><form><orth>-ǽþe</orth></form>. ….</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco">863<span style="white-space:pre-wrap">        </span>1<span style="white-space:pre-wrap">        </span><entryFree n="1"><p><form><orth>1</orth></form>. ….</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco">864<span style="white-space:pre-wrap">        </span>3<span style="white-space:pre-wrap">        </span><entryFree n="3"><p><form><orth>3</orth></form>. ….</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco">865<span style="white-space:pre-wrap">        </span>A<span style="white-space:pre-wrap">        </span><entryFree n="a"><p><form><orth>a</orth></form>; ….</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco">866<span style="white-space:pre-wrap">        </span>A<span style="white-space:pre-wrap">        </span><entryFree n="A"><p><form><orth>A</orth></form>. ….</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco">867<span style="white-space:pre-wrap">        </span>A-BACAN<span style="white-space:pre-wrap">        </span><entryFree n="a-bacan"><p><form><orth>a-bacan</orth></form>, ….</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco">868<span style="white-space:pre-wrap">        </span>A-BANNAN<span style="white-space:pre-wrap">        </span><entryFree n="a-bannan"><p><form><orth>a-bannan</orth></form>; ….</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco">870<span style="white-space:pre-wrap">        </span>A-BEALH<span style="white-space:pre-wrap">        </span><entryFree n="a-bealh"><p><form><orth>a-bealh</orth></form> ….</div></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"><br></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco">Note: there are duplicate keys. This might be merely “a” problem, pun intended.</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"><br></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"><span style="font-family:Helvetica;font-size:12px">Just a wild guess, 1 is padded as if it were a Strong’s Number to become 00001 and that is used for a lookup. The standard behavior on lookup is to return the nearest match.</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"><br></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco">Padding to Strong’s Numbers should only happen if the module has Feature=GreekDef or Feature=HebrewDef. I don’t think it cares and pads the number anyway.</div><div style="margin:0px;line-height:normal"><font face="Monaco"><span style="font-size:11px"><br></span></font></div><div style="margin:0px;line-height:normal"><font face="Monaco"><span style="font-size:11px">If I add StrongsPadding=false to the conf, the module works.</span></font></div><span class="HOEnZb"><font color="#888888"><div style="margin:0px;line-height:normal"><font face="Monaco"><span style="font-size:11px"><br></span></font></div><div style="margin:0px;line-height:normal"><font face="Monaco"><span style="font-size:11px">DM<br></span></font><div style="font-family:Helvetica;font-size:12px"><br></div></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"><br></div><div><br></div></font></span></div></div><br>_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br></blockquote></div><br></div>