[sword-devel] osis2mod

DM Smith dmsmith at crosswire.org
Sun Mar 11 09:47:45 MST 2018


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)\CrossWire\The SWORD Project\modules\texts\ztext\ts2009

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)\CrossWire\The 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)\CrossWire\The 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 <mailto:dmsmith at crosswire.org>] 
> Sent: Sunday, 11 March 2018 14:18
> To: SWORD Developers' Collaboration Forum <sword-devel at crosswire.org <mailto: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 <mailto: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 <mailto:sword-devel at crosswire.org>
>> http://www.crosswire.org/mailman/listinfo/sword-devel <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 <mailto:sword-devel at crosswire.org>
> http://www.crosswire.org/mailman/listinfo/sword-devel <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/b41b25ce/attachment-0001.html>


More information about the sword-devel mailing list