Jump to content


Photo

Automator: Long List of Verses Causes Accordance to Crash


  • Please log in to reply
1 reply to this topic

#1 Darin Franklin

Darin Franklin

    Bronze

  • Active Members
  • PipPip
  • 62 posts
  • Gender:Male
  • Accordance Version:11.x
  • Platforms:Mac OS X

Posted 12 August 2014 - 09:39 PM

I was trying to pass a long list of verses using the new accord:// URL feature and found that the limit is 1024 characters. Anything beyond that is ignored, and if I go too far, Accordance crashes.  I can also reproduce this in Automator.

 

Set up an Automator workflow:

1. Get Specified Text

2. View Text in Accordance: Read, NRSVS, Verses

 

In #1, paste "Gen 1:1;" about 130 times, so that the length is more than 1024 characters.

Run the workflow. Accordance shows an incorrect character in its search field at position 1024, and any verses after that are ignored.

 

Now double the length of the input in Automator, and Accordance will crash.

 



#2 Joe Weaks

Joe Weaks

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 1,085 posts
  • Gender:Male
  • Location:Odessa, TX
  • Interests:I like things that are Orange, and possibly Blue.
  • Accordance Version:11.x

Posted 13 August 2014 - 11:55 AM

Note that the Get Specified Text Automator Action does not use the accord://URL protocol. It uses Applescript events. It may be that the bug is with both.

 

My guess is the raw Applescript code will also crash.

 

tell application "Accordance" to return «event AccdTxRf» {"NRSVS", "Genesis 10:10 blah blah for 1000 more characters, ", false}

 

Did not text to confirm. 


Joe Weaks
The Macintosh Biblioblog

Sometimes I'm so helpful even I can't stand it.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users