• 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: problem with list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with list


  • Subject: Re: problem with list
  • From: "Mark J. Reed" <email@hidden>
  • Date: Fri, 19 Nov 2010 10:51:17 -0500

On Fri, Nov 19, 2010 at 9:49 AM, tom wible <email@hidden> wrote:
>
> On Nov 18, 2010, at 9:00 PM, Mark J. Reed wrote:
>>
>> There's only one line where you log an error message that looks like
>> the one you're reporting, and it's right after you call toList().
>
> _rec's_tolist

Yes, toList belongs to the script object assigned to rec.  That
doesn't change the fact that it's the last call before the error.
Without being able to see the body of the handler, an inappropriate
reference to "rec" inside of it seemed like a likely culprit.

> same diff: neither contains any ref to "rec", nor do any of the methods it
> calls.

Well, all-righty, then.

I find it interesting that the error doesn't occur the first 87 times
through the loop, but only on the last time through.  If you change
the number of records in the list, does it continue to happen on the
last one?

--
Mark J. Reed <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

  • Follow-Ups:
    • Re: problem with list
      • From: tom wible <email@hidden>
References: 
 >problem with list (From: tom wible <email@hidden>)
 >Re: problem with list (From: "Mark J. Reed" <email@hidden>)
 >Re: problem with list (From: tom wible <email@hidden>)
 >Re: problem with list (From: "Mark J. Reed" <email@hidden>)
 >Re: problem with list (From: tom wible <email@hidden>)

  • Prev by Date: Re: problem with list
  • Next by Date: Re: Finder scripting bugs
  • Previous by thread: Re: problem with list
  • Next by thread: Re: problem with list
  • Index(es):
    • Date
    • Thread