With modified test.conf it is working. ====test.conf======= [TEST]
DataPath=./modules/comments/rawcom/test Encoding=UTF-8 ModDrv=rawCom BlockType=CHAPTER SourceType=OSIS ============ and C:\temp\sword\osis2mod.exe C:\temp\sword\sword\modules\comments\rawcom\test C:\temp\sword\test_sword.xml -v KJV I've got four files. =========== Directory of c:\Temp\sword\sword\modules\comments\rawcom\test 9. 01. 2022 17:55 0 nt 09. 01. 2022 17:55 49.476 nt.vss 09. 01. 2022 17:55 1.695 ot 09. 01. 2022 17:55 180.168 ot.vss 5 File(s) 231.339 bytes 2 Dir(s) 199.962.398.720 bytes free ============= One of them is ot. =====file ot======== <milestone type="x-importer" subType="x-osis2mod" n="$Rev: 3431 $"/> <div sID="gen1" type="bookGroup"/> <div osisID="Gen" sID="gen2" type="book"/> <chapter osisID="Gen.01" sID="gen3"/> <div annotateRef="Gen.1.1" annotateType="commentary" sID="gen4" type="section"/><div sID="gen5" type="x-p"/>Blah blah...<div eID="gen5" type="x-p"/> <div annotateRef="Gen.1.1" annotateType="commentary" eID="gen4" type="section"/> <div annotateRef="Gen.1.2" annotateType="commentary" sID="gen6" type="section"/><div sID="gen7" type="x-p"/>Blah blah...<div eID="gen7" type="x-p"/> <div annotateRef="Gen.1.2" annotateType="commentary" eID="gen6" type="section"/> <div annotateRef="Gen.1.3" annotateType="commentary" sID="gen8" type="section"/><div sID="gen9" type="x-p"/>Blah blah...<div eID="gen9" type="x-p"/> <div annotateRef="Gen.1.3" annotateType="commentary" eID="gen8" type="section"/> <div annotateRef="Gen.1.4" annotateType="commentary" sID="gen10" type="section"/><div sID="gen11" type="x-p"/>Blah blah...<div eID="gen11" type="x-p"/> <div annotateRef="Gen.1.4" annotateType="commentary" eID="gen10" type="section"/> <div annotateRef="Gen.1.5" annotateType="commentary" sID="gen12" type="section"/><div sID="gen13" type="x-p"/>Blah blah...<div eID="gen13" type="x-p"/> <div annotateRef="Gen.1.5" annotateType="commentary" eID="gen12" type="section"/> <div annotateRef="Gen.1.6" annotateType="commentary" sID="gen14" type="section"/><div sID="gen15" type="x-p"/>Blah blah...<div eID="gen15" type="x-p"/> <div annotateRef="Gen.1.6" annotateType="commentary" eID="gen14" type="section"/> <chapter eID="gen3" osisID="Gen.01"/> <div eID="gen2" osisID="Gen" type="book"/> <div eID="gen1" type="bookGroup"/> =============== I put these files under mods.d and modules directory. Now it is working. Thanks. Marjan This isn't really a "what's wrong", but more of a way to eliminate noise, > so you can find whats wrong: > > I'd try building a raw commentary first. Anything that will be listed on a > repository will be remade by the repo maintainer anyway. It will make the > compile faster, so each attempt takes less time... and it may show that's > what's broken already. But once you get a rawcom that works, you can work > on making the compressed build command == compressed module config > separately from dealing with osis to module issues. > > DataPath=./modules/comments/rawcom/test > Encoding=UTF-8 > ModDrv=rawCom > BlockType=CHAPTER > SourceType=OSIS > > > > > >> Hi! >> >> Trying to make commentary module. >> XML validates. >> Osis2mod makes module. >> In Xiphos or Andbible or Bishop there is "TEST" module. >> But none commentary for Gen1, ..., Gen 6. as it is in test.xml. >> >> Prepared also skeleton for whole Bible (Download link >> <https://wetransfer.com/downloads/d1d032a09dfeb12203a6def92a09f7e620220109154839/e6cfdbaaa7840773056ebf7c59e4307220220109154904/dfbb95> >> - 7 days). But problem is the same. >> >> Can you give me a hint what I am doing wrong? >> >> Best regards, >> >> Marjan >> >> >> ====test.xml========== >> <?xml version="1.0" encoding="UTF-8" ?> >> <osis xmlns="http://www.bibletechnologies.net/2003/OSIS/namespace" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xsi:schemaLocation=" >> http://www.bibletechnologies.net/2003/OSIS/namespace >> M:/SloKJVA/xml_test/osisCore.2.1.1.xsd"> >> >> <osisText osisIDWork="TEST" osisRefWork="Commentary" xml:lang="en" >> canonical="true"> >> <header> >> <work osisWork="TEST"> >> <title>TEST</title> >> <type type="OSIS">Commentary</type> >> <identifier type="OSIS">TEST_ID</identifier> >> <rights type="x-copyright">Licenca: CC BY-NC-ND >> 4.0</rights> >> <scope></scope> >> <refSystem>Commentary</refSystem> >> </work> >> </header> >> >> <div type="bookGroup"> >> <div type="book" osisID="Gen"> >> <chapter osisID="Gen.01"> >> <div type="section" annotateType="commentary" >> annotateRef="Gen.1.1"><p>Blah blah...</p> >> </div><div type="section" annotateType="commentary" >> annotateRef="Gen.1.2"><p>Blah blah...</p> >> </div><div type="section" annotateType="commentary" >> annotateRef="Gen.1.3"><p>Blah blah...</p> >> </div><div type="section" annotateType="commentary" >> annotateRef="Gen.1.4"><p>Blah blah...</p> >> </div><div type="section" annotateType="commentary" >> annotateRef="Gen.1.5"><p>Blah blah...</p> >> </div><div type="section" annotateType="commentary" >> annotateRef="Gen.1.6"><p>Blah blah...</p> >> </div> >> </chapter> >> </div> >> </div> >> </osisText> >> </osis> >> ============= >> >> >> =====test.conf==== >> [TEST] >> >> Description=Test >> DataPath=./modules/comments/zcom/test >> Encoding=UTF-8 >> ModDrv=zCom >> BlockType=CHAPTER >> SourceType=OSIS >> CompressType=ZIP >> >> GlobalOptionFilter=UTF8GreekAccents >> GlobalOptionFilter=OSISHeadings >> GlobalOptionFilter=OSISScripref >> >> TextSource=https://test.net >> DistributionLicense=Public Domain >> >> Category=Commentaries >> OSISVersion=2.1.1 >> MinimumVersion=1.5.9 >> About=test >> Lang=en >> LCSH=Bible--Commentaries. >> SwordVersionDate=2022-01-08 >> InstallSize=2000 >> Version=1.0 >> History_1.0=Just Initial Release for testing >> ================ >> >> >> ======Making module====== >> C:\temp\sword\osis2mod.exe C:\temp\sword\sword\modules\comments\zcom\test >> C:\temp\sword\test_sword.xml -v KJVA -z >> You are running osis2mod: $Rev: 3431 $ >> SUCCESS: C:\temp\sword\osis2mod.exe: has finished its work and will now >> rest >> ============= >> >> >> ============= >> Directory of c:\Temp\sword\sword\modules\comments\zcom\test >> 09. 01. 2022 16:22 0 nt.bzs >> 09. 01. 2022 16:22 82.460 nt.bzv >> 09. 01. 2022 16:22 0 nt.bzz >> 09. 01. 2022 16:22 24 ot.bzs >> 09. 01. 2022 16:22 300.280 ot.bzv >> 09. 01. 2022 16:22 2.398 ot.bzz >> ============= >> Directory of c:\Temp\sword\sword\mods.d >> 09. 01. 2022 15:03 537 test.conf >> =============== >> >>
_______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page