Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -1708 error on 10.5.2



Sweet! I found that command I was talking about.  I believe you need to have the frameworks from XCode? Could be wrong about that one...
In terminal of course...

find /System/Library/Frameworks -name \*.h -print0 | xargs -0 grep -e -xxxxxx

-xxxxx being the error number. in this case -1708

This is the return:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/MacErrors.h:  errAEEventNotHandled          = -1708, /* the AppleEvent was not handled by any handler */

This looks like it'd be a handler problem, which would imply it is a coding issue.  But I don't remember fixing my code when I had this problem...

Hope that helps!
E


On May 19, 2008, at 11:37 PM, bill tickle wrote:

I really don't think it is a code thing. Here is the code that returns the error. It is an execute to a webservice. But it hasn't been changed for a good six months. The webservice itself is sound. Again this hasn't changed. 
Following Elijah's suggestion I reset it to Debug and it works. It is definitely when it is compiled as release. 

set theUser to (the contents of text field "emailWelcome" of box "boxWelcome" of window "windowWelcome") as text
set thePword to (the contents of text field "passwordWelcome" of box "boxWelcome" of window "windowWelcome") as text
-- the webservice method returnmagid returns an array of magazine id's and names the user can read. 
set themags to call soap {method name:"returnmagid", parameters:{theUser:theUser, thePword:thePword}}
-- We then convert this to a list
set themagslist to themags as list
-- and count the items
set themagscount to count of items of themagslist
end tell

On 19 May 2008, at 19:24, Benjamin Dobson wrote:

I don't think anyone can help without knowing the snippets of code that develop this problem, because how else could we test and experiment?

On 19 May 2008, at 17:02:40, bill tickle wrote:

Is anyone getting strange -1708 errors since updating to 10.5.2. I have an application that has suddenly developed this quirk. The build is otherwise stable and the code in question hasn't changed in weeks. Versions I compiled pre 10.5.2 work without the error but when I compile now it returns the error ever time. The strange thing is the app runs perfectly well just with this annoying message.
Thanks
Bill
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden



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

This email sent to email@hidden

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

This email sent to email@hidden

References: 
 >-1708 error on 10.5.2 (From: bill tickle <email@hidden>)
 >Re: -1708 error on 10.5.2 (From: bill tickle <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.