<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I’m testing now… It’s looking OK. It reverts the behavior to the way it was before and allows front-ends to solve when and where they show Abbreviation rather than Initials.<div class=""><br class=""></div><div class="">Should be there by the start of your day.</div><div class=""><br class=""></div><div class="">— DM</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 21, 2015, at 6:11 PM, Martin Denham <<a href="mailto:mjdenham@gmail.com" class="">mjdenham@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Thanks for finding the problem. How long do you think before a fix is available? I could go back to a pre-abbreviation version or temporarily revert to the build AB was using before which is about 6 months old? Maybe it wasn't such a good time to take a new version of JSword. AB won't be using the ebible repo immediately.<div class=""><br class=""></div><div class="">I don't anticipate big issues if everything was as it was before with the addition of getAbbreviation() which could be handled in the front end. Maybe a new method, something like, getDisplayName() which has a little logic to determine if initials, abbreviation, or description is best used in the ui, but I haven't thought that through thoroughly.<br class=""></div><div class=""><br class=""></div><div class="">There seem to be some fundamental changes in standards adopted by the ebible repo. I have not worked out the affect of them yet and did not follow all the discussion, but personally felt that it would have been simpler if it had adopted standards that were more similar to other repos. However, I don't think it will be too difficult to make the ebible repo available via AB.</div><div class=""><br class=""></div><div class="">Cheers</div><div class="">Martin</div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On 19 September 2015 at 21:16, DM Smith <span dir="ltr" class=""><<a href="mailto:dmsmith@crosswire.org" target="_blank" class="">dmsmith@crosswire.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class=""><span class=""></span></div><div class="">I had made getInitials return the abbreviation if there was one. And I had added getInternalName to return what getInitials used to be. I did this in BookMetaData but didn’t do something comparable in Book.<div class=""><br class=""></div><div class="">It was bad to have changed the contract of getInitials. So I’m reverting that change. I’m adding getAbbreviation which will return the abbreviation if any and the initials otherwise. Hopefully, no one has used getInternalName yet. I’d rather drop it than deprecate it.</div><div class=""><br class=""></div><div class="">I was trying to make it such that front-ends didn’t need to change to support Abbreviations.</div><div class=""><br class=""></div><div class="">The remaining challenge regards sorting of book lists visible to users. They should either be sorted on what the user sees. So far they have either seen Initials or Descriptions. But now it should be Abbreviations or Descriptions.</div><div class=""><br class=""></div><div class="">The other problem is that in the eBible repository has defined uniqueness of abbreviations to be within a language. The assumption is that a user will not install books in different languages. But we have to have a deterministic sort order.</div><div class=""><br class=""></div><div class="">The other problem regards lookup. Adding Abbreviation into the search is a complication. </div><span class="HOEnZb"><font color="#888888" class=""><div class=""><br class=""></div><div class="">— DM</div></font></span><div class=""><div class="h5"><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Sep 19, 2015, at 1:50 PM, DM Smith <<a href="mailto:dmsmith@crosswire.org" target="_blank" class="">dmsmith@crosswire.org</a>> wrote:</div><br class=""><div class=""><div style="word-wrap:break-word" class="">It’s due to adding support for Abbreviation. There’s a bug in computing the zip file name.<div class=""><br class=""></div><div class="">For example Hindi ERV should try to download HinERV.zip but instead it is HindiERV.zip.</div><div class=""><br class=""></div><div class="">It has:</div><div class="">[HinERV]</div><div class="">Abbreviation=HindiERV</div><div class=""><br class=""></div><div class="">Working on a fix.</div><div class=""><br class=""></div><div class="">In Him,</div><div class=""><span style="white-space:pre-wrap" class="">        </span>DM</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Sep 18, 2015, at 1:44 PM, DM Smith <<a href="mailto:dmsmith@crosswire.org" target="_blank" class="">dmsmith@crosswire.org</a>> wrote:</div><br class=""><div class=""><div dir="auto" class=""><div class="">I'll look this weekend to see what I can find. <br class=""><br class="">Cent from my fone so theer mite be tipos. ;)</div><div class=""><br class="">On Sep 17, 2015, at 5:43 PM, Martin Denham <<a href="mailto:mjdenham@gmail.com" target="_blank" class="">mjdenham@gmail.com</a>> wrote:<br class=""><br class=""></div><blockquote type="cite" class=""><div class=""><div dir="ltr" class="">I think this problem and other related problems in And Bible might be related to the new version of JSword because I am also having problems with certain books from other repos.<div class=""><br class=""></div><div class="">Since upgrading to the latest version of JSword I am seeing unzip problems with certain files e.g. HindiERV, СПВП, and many from eBible.<br class=""></div><div class=""><div class=""><br class=""></div><div class="">Also, one user has found that foreign characters in the conf Description field prevent previously installed modules loading. Coincidentally all the above modules have foreign characters in their description field. Does anybody recall a change in this area during the last 6 months, which was the time since my last build of jsword?</div><div class=""><br class=""></div><div class="">The error I get when attempting to install a zip is:</div><div class=""><br class=""></div><div class=""><div class="">Not a zip archive</div><div class="">java.util.zip.ZipException: Not a zip archive</div><div class="">at java.util.zip.ZipFile.readCentralDir(ZipFile.java:385)</div><div class="">at java.util.zip.ZipFile.<init>(ZipFile.java:163)</div><div class="">at java.util.zip.ZipFile.<init>(ZipFile.java:119)</div><div class="">at org.crosswire.common.util.IOUtil.unpackZip(IOUtil.java:86)</div><div class="">at org.crosswire.jsword.book.install.sword.AbstractSwordInstaller.install(AbstractSwordInstaller.java:241)</div><div class="">at net.bible.service.download.DownloadManager$1.run(DownloadManager.java:135)</div></div></div><div class=""><br class=""></div><div class="">I need to do more investigation but wondered if anybody had any ideas regarding this problem.</div><div class=""><br class=""></div><div class="">Can the above modules be installed without problems in BibleDesktop?</div><div class=""><br class=""></div><div class="">Thanks</div><div class="">Martin</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On 16 September 2015 at 13:26, DM Smith <span dir="ltr" class=""><<a href="mailto:dmsmith@crosswire.org" target="_blank" class="">dmsmith@crosswire.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I haven’t gotten to it. Other than a file here or there. And mods.d.tar.gz. I’ve been frustrated by how much churn it has had. And that nearly every module had some kind of problem. I hope to look at the zip problem this weekend.<br class="">
<br class="">
I was going to work it into the release of BibleDesktop (very soon). But now am thinking a follow-on release.<br class="">
<br class="">
— DM<br class="">
<span class=""><br class="">
> On Sep 16, 2015, at 8:21 AM, Martin Denham <<a href="mailto:mjdenham@gmail.com" target="_blank" class="">mjdenham@gmail.com</a>> wrote:<br class="">
><br class="">
> Has anybody else been testing the new eBible repo with the JSword library? I have had and am having various problems.<br class="">
><br class="">
> Martin<br class="">
</span>> _______________________________________________<br class="">
> jsword-devel mailing list<br class="">
> <a href="mailto:jsword-devel@crosswire.org" target="_blank" class="">jsword-devel@crosswire.org</a><br class="">
> <a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" rel="noreferrer" target="_blank" class="">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
jsword-devel mailing list<br class="">
<a href="mailto:jsword-devel@crosswire.org" target="_blank" class="">jsword-devel@crosswire.org</a><br class="">
<a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" rel="noreferrer" target="_blank" class="">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br class="">
</blockquote></div><br class=""></div>
</div></blockquote><blockquote type="cite" class=""><div class=""><span class="">_______________________________________________</span><br class=""><span class="">jsword-devel mailing list</span><br class=""><span class=""><a href="mailto:jsword-devel@crosswire.org" target="_blank" class="">jsword-devel@crosswire.org</a></span><br class=""><span class=""><a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank" class="">http://www.crosswire.org/mailman/listinfo/jsword-devel</a></span><br class=""></div></blockquote></div>_______________________________________________<br class="">jsword-devel mailing list<br class=""><a href="mailto:jsword-devel@crosswire.org" target="_blank" class="">jsword-devel@crosswire.org</a><br class=""><a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank" class="">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br class=""></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">jsword-devel mailing list<br class=""><a href="mailto:jsword-devel@crosswire.org" target="_blank" class="">jsword-devel@crosswire.org</a><br class=""><a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank" class="">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br class=""></div></blockquote></div><br class=""></div></div></div></div></div><br class="">_______________________________________________<br class="">
jsword-devel mailing list<br class="">
<a href="mailto:jsword-devel@crosswire.org" class="">jsword-devel@crosswire.org</a><br class="">
<a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" rel="noreferrer" target="_blank" class="">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br class="">
<br class=""></blockquote></div><br class=""></div>
_______________________________________________<br class="">jsword-devel mailing list<br class=""><a href="mailto:jsword-devel@crosswire.org" class="">jsword-devel@crosswire.org</a><br class="">http://www.crosswire.org/mailman/listinfo/jsword-devel<br class=""></div></blockquote></div><br class=""></div></body></html>