Jump to content

NRSVS Applescript Crash


Darin Franklin

Recommended Posts

When I run the following Applescript for certain ranges of books in NRSVS, it causes Accordance to hang.  I expect this to return the first 500 verses of the range.  This script is used in my RegexForAccordance app.

 

These hang:

tell application "Accordance" to «event AccdTxRf» {"NRSVS", "Gen - Rev", false}

tell application "Accordance" to «event AccdTxRf» {"NRSVS", "Gen - John", false}

 

These work:

tell application "Accordance" to «event AccdTxRf» {"NRSVS", "Gen - Luke", false}

tell application "Accordance" to «event AccdTxRf» {"NRSVS", "Exo - John", false}

 

I have only noticed this in NRSVS.  Since NRSVS includes the apocrypha books, my guess is that the total size needed for the range exceeds some limit.

 

The breaking point is right at 32768 verses: a round number in binary -- very suspicious!

 

This works (32767 verses):

tell application "Accordance" to «event AccdTxRf» {"NRSVS", "Gen - John 7:14", false}

 

This breaks (32768 verses):

tell application "Accordance" to «event AccdTxRf» {"NRSVS", "Gen - John 7:15", false}

 

I am using Accordance 12.1.3 on macOS 10.12.6.

 

Link to comment
Share on other sites

Thanks for the report, this will be fixed in the next release.

Link to comment
Share on other sites

FYI, our techs checked and found the same bug in NABRE but not in NJB.

  • Like 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...