[sword-devel] Error reading ulCompOffset

DM Smith dmsmith at crosswire.org
Sun Feb 18 12:18:16 MST 2018


Couple of things to try:

Don’t compress. The resulting data file is then readable. If the module is complete, then compression has the problem.

Use -d 2 to add verse marks. Makes an uncompressed module’s data file more meaningful.

DM


> On Feb 18, 2018, at 1:54 PM, Andrew T. <thulester at gmail.com> wrote:
> 
> Yes, I'm missing content for sure, but I've been able to parse incomplete osis before which was missing content (it's never seemed to mind before).  (I've also been able to parse osis where the verses|chapters|books are out of order - which is not true in this case).
> 
> I saw this thread which also seem to produce the error:
> http://www.crosswire.org/pipermail/sword-devel/2010-October/034968.html <http://www.crosswire.org/pipermail/sword-devel/2010-October/034968.html>
> 
> 
> I've looked through the source code to see if I can figure out what conditions call the error.  zverse.cpp has something:
> https://crosswire.org/svn/sword/trunk/src/modules/common/zverse.cpp <https://crosswire.org/svn/sword/trunk/src/modules/common/zverse.cpp>
> https://crosswire.org/~ghellings/svnclassdocs/classzVerse.html <https://crosswire.org/~ghellings/svnclassdocs/classzVerse.html>
> 
> zverse indicates it's purpose is to:
> zVerse::zreadtext	- gets text at a given offset
> 
> so, its not clear (to me) what the error is saying exactly.  I will try to confirm the OSIS/XML has not mismatched tags, but lack ideas beyond that ...
> Thanks for considering the question.
> 
> ~A
> 
> 
> On Sun, Feb 18, 2018 at 1:24 PM, DM Smith <dmsmith at crosswire.org <mailto:dmsmith at crosswire.org>> wrote:
> I’ve seen the error before. I’ve even tried to debug osis2mod to find it. To no avail. I never saw that they hindered the proper operation of osis2mod.
> 
> Were you saying that the built module is missing expected content?
> 
> DM
> 
> > On Feb 17, 2018, at 11:14 PM, Andrew T. <thulester at gmail.com <mailto:thulester at gmail.com>> wrote:
> >
> > I'm currently using the command:
> > /usr/bin/osis2mod . /sword/dss/DSS.osis.xml -z -b 4 -v KJVA
> >
> > Yet all I'm getting are the following errors:
> > Error reading ulCompOffset
> > Error reading ulCompOffset
> > Error reading ulCompOffset
> > ...
> >
> > I've created sword modules before, yet I don't recognize this error.
> >
> > I created the osis.xml file, and I'm fairly confident it is structured correctly - yet there are fragments missing (as the source of the text I used to create this document is fragmentary and incomplete).  For example there is no New Testament, no Esther, no Nehemiah ...)
> >
> > Can anyone provide insight as to what this error means?
> >
> > ~A
> > _______________________________________________
> > 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
> 
> _______________________________________________
> 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/20180218/f2aacc2c/attachment.html>


More information about the sword-devel mailing list