[sword-devel] osis2mod

David Haslam dfhdfh at protonmail.com
Sun Mar 11 10:20:51 MST 2018


Except in the .conf file, the module path in Windows should use rather than /

The .conf file is cross-platform, so a choice was made at the beginning to use / as in Linux.

Best regards, David

Sent from ProtonMail Mobile

On Sun, Mar 11, 2018 at 16:47, DM Smith <dmsmith at crosswire.org> wrote:

> Johan,
>
> The output should be located at ./modules/texts/ztext/ts2009. Those folders should already be there. There should be some kind of failure message if it cannot open the output files for writing. If there are currently files there it should update them.
>
> Since you didn’t include any flags for compression, the module that is put there won’t be compressed.
>
> osis2mod doesn’t care about the module’s conf. That is supposed to be created based upon how you build the module, i.e. what flags you use for osis2mod. I’m guessing your conf doesn’t match with regard to compression. If that’s the case the module won’t work.
>
> Also if you are on a modern version of Windows, you might not have permission to write to c:Program Files (x86)CrossWireThe SWORD Projectmodules extsztext s2009
>
> Hope this helps,
> DM Smith
>
>> On Mar 11, 2018, at 10:00 AM, Johan <johan.marais at messianic.co.za> wrote:
>>
>> DM Smith,
>>
>> It looks like this:
>>
>> C:Program Files (x86)CrossWireThe SWORD Project>osis2mod ./modules/texts/ztext/ts2009/ TS2009Ver100.osis.xml -c ts2009
>>
>> You are running osis2mod: $Rev: 3314 $
>>
>> Adding cipher filter with phrase: ts2009
>>
>> SUCCESS: osis2mod: has finished its work and will now rest
>>
>> C:Program Files (x86)CrossWireThe SWORD Project>
>>
>> Only the following are in the "The SWORD Project" folder:
>>
>> Utilities from Xiphos
>>
>> TS2009Ver100.osis.xml file
>>
>> ts2009.conf file in the "mods.d" folder
>>
>> The following folder structure, under "The SWORD Project"
>>
>> modules
>>
>>    texts
>>
>>       ztext
>>
>>          ts2009
>>
>> The .conf file starts with [TS2009] and the
>>
>> DataPath=./modules/texts/ztext/ts2009/
>>
>> Thank you,
>>
>> Johan
>>
>> From: DM Smith [mailto:dmsmith at crosswire.org]
>> Sent: Sunday, 11 March 2018 14:18
>> To: SWORD Developers' Collaboration Forum <sword-devel at crosswire.org>
>> Subject: Re: [sword-devel] osis2mod
>>
>> Johan,
>>
>> Please tell us your entire command line. We can then answer your question.
>>
>> — DM Smith
>>
>> On Mar 11, 2018, at 7:43 AM, Johan <johan.marais at messianic.co.za> wrote:
>>
>>> Good day,
>>>
>>> I created a bible module (osis.xml) which I want to convert into a Sword bible module, using osis2mod.
>>>
>>> It looks as if it works correctly, but there is no output.
>>>
>>> I receive this message:
>>>
>>> You are running osis2mod: $Rev: 3314 $
>>>
>>> Adding cipher filter with phrase: xxxxxx
>>>
>>> SUCCESS: osis2mod: has finished its work and will now rest
>>>
>>> This is the message directly under the command line.
>>>
>>> What could be the problem please?
>>>
>>> Thanks for all the help.
>>>
>>> Johan
>>
>>> _______________________________________________
>>> sword-devel mailing list: sword-devel at crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>> Instructions to unsubscribe/change your settings at above page
>>
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20180311/d2c1997e/attachment-0001.html>


More information about the sword-devel mailing list