[jsword-devel] BibleDesktop source

Martin Denham mjdenham at gmail.com
Mon May 29 13:49:36 MST 2017


Thanks DM, I could take a stab at a fix but I have not got a great
understanding of JSword at this level.

It seems like, somewhere, we should

   1. iterate over the mods.d folder and find the real .conf file matching
   the incomplete sbmd by matching initials or abbreviation
   2. generate a real sbmd from the real conf
   3. either just return the real sbmd or if part of install() then
   registerNewBook(realSbmd)

Enjoy your holiday.

Martin

On 29 May 2017 at 19:09, DM Smith <dmsmith at crosswire.org> wrote:

> I'm on holiday. Will look at it soon after.
>
> DM
>
> On May 29, 2017, at 9:40 AM, Martin Denham <mjdenham at gmail.com> wrote:
>
> I got BibleDesktop running locally and it has the same problem.
>
> 1. Run BibleDesktop
> 2. Install a new module e.g. Darby
> 3. View 'Installed Books'
> 4. Select the new book e.g. Darby
> 5. Cannot delete because the 'Delete Book' button is disabled due to the
> same issue as above
>
> Martin
>
> On 28 May 2017 at 15:20, Martin Denham <mjdenham at gmail.com> wrote:
>
>> Yes, are you aware of any way to tell JSword to load the real conf file
>> rather than the buffer extracted from mods.d.tar.gz?  I have looked around
>> but can't see any way.
>>
>> Martin
>>
>> On 28 May 2017 at 03:59, DM Smith <dmsmith at crosswire.org> wrote:
>>
>>> Sorry for the late response.
>>>
>>> While we have moved JSword to git, BibleDesktop is still in SVN. You can
>>> find the info on this page: http://www.crosswire.org/jsword/svn.html The
>>> page hasn’t been updated since we moved JSword to git, but it is still
>>> accurate wrt BibleDesktop.
>>>
>>> Looking briefly the basic issue is that when we load a conf from
>>> mods.d.tar.gz we are loading a buffer not reading the file from disk.
>>>
>>> Hope this helps,
>>> DM Smith
>>>
>>> On May 27, 2017, at 6:36 PM, Martin Denham <mjdenham at gmail.com> wrote:
>>>
>>> I was actually hoping to dive into BibleDesktop in the hope of finding a
>>> solution to JS-282
>>> <http://tracker.crosswire.org/projects/JS/issues/JS-282>.  I saw some
>>> BibleDesktop source in a couple of places but neither looked very official,
>>> so that is why I asked.
>>>
>>> However, if anybody can suggest a possible solution for JS-282
>>> <http://tracker.crosswire.org/projects/JS/issues/JS-282> I would be
>>> very thankful and would not need to analyse BD.
>>>
>>> Martin
>>>
>>> On 22 April 2017 at 23:32, Martin Denham <mjdenham at gmail.com> wrote:
>>>
>>>> Where is the latest BibleDesktop source stored?
>>>>
>>>> Martin
>>>>
>>>
>>> _______________________________________________
>>> jsword-devel mailing list
>>> jsword-devel at crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/jsword-devel
>>>
>>>
>>>
>>> _______________________________________________
>>> jsword-devel mailing list
>>> jsword-devel at crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/jsword-devel
>>>
>>>
>>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20170529/6a2d31da/attachment.html>


More information about the jsword-devel mailing list