• 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: Stepper confusion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stepper confusion


  • Subject: Re: Stepper confusion
  • From: "John C. Welch" <email@hidden>
  • Date: Thu, 05 Jan 2012 09:34:55 -0500
  • Thread-topic: Stepper confusion

On 1/4/12 9:47 PM, "Shane Stanley" <email@hidden> wrote:

The actual error message, which I stupidly forgot to include on my first email is:

2012-01-04 21:30:44.789 Derby Score[2068:707] *** -[Derby_ScoreAppDelegate homeTeamTimeOut:]: Can’t make «class ocid» id «data kptr000000008019280004000000» into type number, date or text. (error -1700)

Well that's telling you that somewhere you are trying to use a Cocoa value («class ocid» is just an AS class for holding object pointers) in an AppleScript statement without coercing it to an AS class.

Next step is to find out where exactly. You have AppleScriptObjC Explorer;  use Shortcuts -> Intersperse Temp Logging to try to narrow down where it's happening.



Dunno if I fixed it, but I got it to work by premptively coercing it to an integer as the first statement in the handler:

set my hostTimeouts to (hostTimeouts as integer)


Seems to work, so I'll go with it.

--
"Ladies and gentlemen of the Jury, my opponent's argument is like trying to figure out why Chewbacca, a Wookie from the planet Kashyyk lives with the Ewoks on the planet Endor...it does not make sense...look at the monkey!"

Johnnie Cochran
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Stepper confusion (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Stepper confusion
  • Next by Date: Have text automatically resize to fit a field
  • Previous by thread: Re: Stepper confusion
  • Next by thread: Have text automatically resize to fit a field
  • Index(es):
    • Date
    • Thread