Re: [sword-devel] Infinite loop bug in BosworthToller

2016-01-17 Thread DM Smith
I added it to the module’s conf. That’s a bandaid. The SWORD engine shouldn’t have an infinite loop. The ++ operator might be able to check to see if it has actually incremented. At minimum, the program mod2imp can get the count of entries in the module and stop when it reaches that count. — D

Re: [sword-devel] Infinite loop bug in BosworthToller

2016-01-17 Thread DM Smith
The only other module (besides the ones mentioned earlier) that might have trouble is in the IBT repository: OSSDICT. Here are the entries that might have a problem (offset and size are part of my debugging): [OSSDICT] Description=Рагон Фӕдзӕхст, Библи тӕлмацгӕнӕг институт Мӕскуы 2006. Нӕ Хицау

Re: [sword-devel] Infinite loop bug in BosworthToller

2016-01-17 Thread Karl Kleinpaste
On 01/17/2016 08:10 PM, DM Smith wrote: > If you add StrongsPadding=false, I think it will work. Yup, you're right. ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/c

Re: [sword-devel] Infinite loop bug in BosworthToller

2016-01-17 Thread DM Smith
> On Jan 17, 2016, at 7:20 PM, Karl Kleinpaste wrote: > > FYI ZhEnglish also shows problems with mod2imp. > > $$$-PLATED > -plated · to plate   鍍 (镀)  dù  ·  鋈  > wù > $$$-R ONE > phonetic · -r + one chem.   哢  lòng > $$$-Z OLE > phonetic · -z + ole chem.   唑  zuò > $$$0.6 > 0.6   零點六 (零点六

Re: [sword-devel] Infinite loop bug in BosworthToller

2016-01-17 Thread Karl Kleinpaste
FYI ZhEnglish also shows problems with mod2imp. $$$-PLATED -plated · to plate   鍍 (镀)  dù  ·   鋈  wù $$$-R ONE phonetic · -r + one chem.   哢  lòng $$$-Z OLE phonetic · -z + ole chem.   唑  zuò $$$0.6 0.6   零點六 (零点六)  líng diǎn liù $$$1 0.6   零點六 (零点六)  líng diǎn liù $$$1 0.6   零點六 (零点六)  líng diǎn

Re: [sword-devel] Infinite loop bug in BosworthToller

2016-01-17 Thread Konstantin Maslyuk
paste" Отправлено: ‎16.‎01.‎2016 22:55 Кому: "SWORD Developers' Collaboration Forum" Тема: Re: [sword-devel] Infinite loop bug in BosworthToller On 01/14/2016 03:21 PM, Костя Маслюк wrote: Until then our software (except Xiphos that have workaround) will freeze It does? Wh

Re: [sword-devel] Infinite loop bug in BosworthToller

2016-01-16 Thread Karl Kleinpaste
On 01/14/2016 03:21 PM, Костя Маслюк wrote: > Until then our software (except Xiphos that have workaround) will freeze It does? What workaround do you mean? ___ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/

Re: [sword-devel] Infinite loop bug in BosworthToller

2016-01-14 Thread DM Smith
I can take care of imp2ld and tei2mod. The latter needs the same changes. I need the strongsPad method to be made visible, but I don’t have RW to that part of the repo. > On Jan 14, 2016, at 3:21 PM, Костя Маслюк wrote: > > The patches attached there are merged upstream > (https://github.com/

Re: [sword-devel] Infinite loop bug in BosworthToller

2016-01-14 Thread Костя Маслюк
The patches attached there are merged upstream ( https://github.com/greg-hellings/sword/commit/227b71aa5aa3931dc0f8ce998ebc07ea1f55419a) so bug is fixed on the library side. Counterpart we have some modules in our repositories that we have to rebuild with latest tools to update *.idx files. Until t

Re: [sword-devel] Infinite loop bug in BosworthToller

2016-01-14 Thread David Haslam
AFAIK, our module build tools do not even require the existence of the .conf file let alone the presence of any particular field. Many a time have I used osis2mod or imp2vs to create a module, and only afterwards made a .conf file in order to test it in a front-end. Best regards, David --

Re: [sword-devel] Infinite loop bug in BosworthToller

2016-01-14 Thread DM Smith
Funny that you mentioned MOD-61. I just attached a patch to it that fixes the bugs that I found. Yes the problem is that strongsPadding is true for all dictionaries. The first bug was that any module that has Strong’s Numbers that has keys that are not padded has to have StrongsPadding=false. S

Re: [sword-devel] Infinite loop bug in BosworthToller

2016-01-14 Thread Костя Маслюк
As far as i remember strongsPadding is true for dictionaries by default, so your $$$1 is actually $$$1 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. p.s. diggin into http://www.crosswire.org/track

[sword-devel] Infinite loop bug in BosworthToller

2016-01-14 Thread DM Smith
It was reported yesterday by Karl, that BosworthToller has an infinite loop bug. And that mod2imp hits this bug. Here is where mod2imp starts to loop: $$$-ǼWED -ǽwed. v. ge-ǽ. $$$-ǼWIRDLIAN -ǽwirdlian. v. ge-ǽ $$$-ǼÞE -ǽþe. v. cyning-ǽ. $$$1 -ǽþe. v. cyning-ǽ. $$$1 -ǽþe. v. cyning-ǽ. This la