Re: Stepper confusion
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
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