<div class="gmail_quote">On Tue, Apr 7, 2009 at 5:44 PM, Troy A. Griffitts <span dir="ltr"><<a href="mailto:scribe@crosswire.org">scribe@crosswire.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Karl Kleinpaste wrote:<br>
<br>
My lexdict-building scripts are not producing working modules because<br>
evidently the index is not right. The resulting *.dat are identical,<br>
*.idx are not, and utilities fail to find content.<br>
<br>
$ egrep '^(Data|Mod|About)' ~/.sword/mods.d/oneyearread.conf<br>
DataPath=./modules/lexdict/rawld/devotionals/oneyearread/oneyearread<br>
ModDrv=RawLD<br>
About=A simple plan for reading through the Bible in one year.<br>
$ pwd<br>
/home/karl/.sword/modules/lexdict/rawld/devotionals/oneyearread<br>
$ head oneyearread.imp<br>
$$$01.01<br>
<br /><br />Day 1: <scripRef>Genesis 1-3</scripRef><br>
$$$01.02<br>
<br /><br />Day 2: <scripRef>Genesis 4-6</scripRef><br>
$$$01.03<br>
<br /><br />Day 3: <scripRef>Genesis 7-9</scripRef><br>
$$$01.04<br>
<br /><br />Day 4: <scripRef>Genesis 10-12</scripRef><br>
$$$01.05<br>
<br /><br />Day 5: <scripRef>Genesis 13-15</scripRef><br>
$ imp2ld oneyearread.imp oneyearread 2 | grep -v '^..\...$'<br>
$ diatheke -b OneYearRead -k 01.01<br>
$<br>
<br>
No output from diatheke. Similar result seen in Xiphos.</blockquote></div>Fixed in r2307. imp2ld was missing breaks in a switch statement, causing a RawLD4 to be created instead of RawLD.<br><br clear="all">God Bless,<br>
Ben<br>-------------------------------------------------------------------------------------------<br>Multitudes, multitudes,<br> in the valley of decision!<br>For the day of the LORD is near<br> in the valley of decision.<br>
<br>Giôên 3:14 (ESV)<br><br>
<br>