• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Strange error message when using script bundle, stack overflow?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange error message when using script bundle, stack overflow?


  • Subject: Re: Strange error message when using script bundle, stack overflow?
  • From: Luther Fuller <email@hidden>
  • Date: Tue, 8 May 2007 11:01:22 -0500

I found a couple of years ago that application bundles made with Script Editor would fail with a -5000 error caused by incorrect privileges on the file main.scpt. Changing the privileges corrected the problem. Your problem seemed similar, but -2706 ≠ -5000!

On May 8, 2007, at 10:29 AM, Richard Rönnbäck wrote:

I have tried that too, to give all full access to the entire bundle and it's
files, but that didn't help


No, I believe it really is a stack overflow. The Satimage command I am using
is "list files recursive true" which in this case results in a list of
48.000 file specifications


It runs as expected though, it is only at the end, when (I assume)
AppleScript is about to store the script and it's variables that the error
occurs




Från: Luther Fuller <email@hidden>
Datum: Tue, 8 May 2007 09:00:50 -0500
Till: Applescript Users <email@hidden>
Kopia: Richard Rönnbäck <email@hidden>
Ämne: Re: Strange error message when using script bundle, stack overflow?


What are the privileges of the file /Contents/Resources/Scripts/
main.scpt in your bundle?
And what happens if you change Everyones privileges and Group
privileges of this file to Read-Write?

On May 8, 2007, at 8:20 AM, Richard Rönnbäck wrote:

Well, actually I use Script Debugger 4.0.5, but I have also tried
it with
Apple's Script Editor, and it makes no difference

While I do have a workaround, it would just satisfy my curiosity (and
perhaps help me become a better scripter :-)


// Richard


Från: Luther Fuller <email@hidden>
Datum: Tue, 8 May 2007 06:35:39 -0500
Till: Applescript Users <email@hidden>
Kopia: Richard Rönnbäck <email@hidden>
Ämne: Re: Strange error message when using script bundle, stack
overflow?

How did you create the bundle? With Script Editor, perhaps?

On May 8, 2007, at 2:36 AM, Richard Rönnbäck wrote:

I have been toying with the script bundle format as a way to
distribute some
of my scripts and the resources they require, in this particular
case the
Satimage scripting addition

Unfortunately I run into a problem where the script executes
correctly, but
returns an error dialog at the end, saying "Cannot save the changes
of the
script because" (lots of binary data)

_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (applescript- email@hidden) Help/Unsubscribe/Update your Subscription: email@hidden Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Re: Strange error message when using script bundle, stack overflow? (From: Richard Rönnbäck <email@hidden>)

  • Prev by Date: Re: Script Acrobat 8 Pro to Replace Pages
  • Next by Date: Copying PowerPoint Slide Background
  • Previous by thread: Re: Strange error message when using script bundle, stack overflow?
  • Next by thread: Re: How to burn a folder to DVD(s)?
  • Index(es):
    • Date
    • Thread