mvnForum Homepage Welcome Guest  | Guest Setting  |  Register  |   Login
  Search  
Index  | Recent Threads  | Unanswered Threads  | Who's Online  | User List  | Help


»

No member browsing this thread
Thread Status: Active
Total posts in this thread: 16
Posts: 16   Pages: 2   [ Previous Page | 1 2 ]
Post new Thread
Author
Previous Thread This topic has been viewed 7432 times and has 15 replies Next Thread
Male mdbergmann
Inventory
Member's Avatar

Germany
Joined: Jun 12, 2008
Post Count: 640
Status: Offline
Reply to this Post  Reply with Quote 
Re: Thanks a lot, Manfred!

this is my command line:
$ ./osis2mod ../../xml_files/test.swd ../../xml_files/test.xml

Does this folder exist, "test.swd"?
[Oct 29, 2009 1:36:00 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male Johann
Regular




Joined: Oct 14, 2009
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
Re: Thanks a lot, Manfred!

Ah! Now it does :)

However, running the same command line now gives me this:

./osis2mod is not compiled with support for ICU. Ignoring -n flag.
Bus error

This seems like a rather open-ended error... Unless it means that there's an error with the target destination. I'm going to do a little googling, but any ideas are most welcome :)

Thanks again,

John
[Oct 29, 2009 2:00:55 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male mdbergmann
Inventory
Member's Avatar

Germany
Joined: Jun 12, 2008
Post Count: 640
Status: Offline
Reply to this Post  Reply with Quote 
Re: Thanks a lot, Manfred!

./osis2mod is not compiled with support for ICU. Ignoring -n flag.
Bus error

Bus error is a problem of the binary when executed.
Which operating system are you working on? Those 1.5.11 binaries, if you use the ones I've posted here, are build on Mac OSX 10.4 I think. If you are on Snow Leopard that might be the problem.
Did you try the ones that are delivered with MacSword?

Alternatively you can build them yourself.

Manfred
[Oct 29, 2009 2:53:26 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male mdbergmann
Inventory
Member's Avatar

Germany
Joined: Jun 12, 2008
Post Count: 640
Status: Offline
Reply to this Post  Reply with Quote 
Re: Thanks a lot, Manfred!

You could also try to enable some debug output via command line flags to osis2mod. It could also be a problem of the XML text that osis2mod crashes.
[Oct 29, 2009 2:55:12 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male JohanMarais
Regular




Joined: Jun 17, 2010
Post Count: 51
Status: Offline
Reply to this Post  Reply with Quote 
Re: Thanks a lot, Manfred!

Good afternoon,

Two questions please:
1) Does osis2mod work in a Windows environment? I am running Windows XP.
2) What is the format (example) on the command line please? I get the message:
Your are running osis2mod: $ Rev: 2478 $
The module is nor writable. Writing text to it will not work.
Exiting.

The instructions on wiki is not clear to a non programmer.

Thank you,

Johan
[Sep 6, 2010 6:14:38 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male troypulk
Regular



USA
Joined: Apr 10, 2010
Post Count: 17
Status: Offline
Reply to this Post  Reply with Quote 
Re: Thanks a lot, Manfred!

As far as I know it works for Windoze but I'm not sure I only use Linux.

The command line should be close to the same, this is what I use:

/usr/bin/osis2mod . bible.xml -z


you want to run this code in the location of your bible.xml

so put the path or location of where the osis2mod is located, the -z is to compress the files into the following.

It will produce 6 files in the Dir. where your bible.xml is located that look like this:

nt.bzs, nt.bzv, nt.bzz, ot.bzs, ot.bzv, ot.bzz

you will want to put them here:
~/modules/texts/ztext/bible

But first rename the files that are already there so you will not over write them, like this nt1.bzs

If you just type
$ osis2mod
only in the command line you will get usage details.

If you want to update the osis2mod to the latest version go here:
http://www.crosswire.org/wiki/Tutorial:Compil...stalling_SWORD_on_Windows
----------------------------------------
[Edit 2 times, last edit by troypulk at Oct 5, 2010 10:11:37 PM]
[Oct 5, 2010 10:06:07 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 16   Pages: 2   [ Previous Page | 1 2 ]
Show Printable Version of Thread  Post new Thread