Re: Error -1762
Re: Error -1762
- Subject: Re: Error -1762
- From: Gary Lists <email@hidden>
- Date: Mon, 02 Jun 2003 12:36:17 -0400
On or about 6/2/03 12:06 PM, Arntzen, Jon W wrote:
>
I have created a script that have been working fine on all MacOS9 systems I
>
have tested it on. But I recently got feedback from one of my colleagues
>
that it failed to run and reported an error -1762 (error connecting to
>
scripting component). What does this error mean? I initially thought it
>
could not find the Standard Additions file, but this file is in the correct
>
place.
>
>
Jon Arntzen
'scripting component' is the actual OSA component: AppleScript (there are
others.)
This likely is to do with your colleague's AppleScript extension. (Or the
crazy electron-world that it and your script and every other AE thing
inhabit.)
If no other scripts are affected, and it was a one-time thing, then perhaps
it was one of those coincidental issues, solved by restarting, relaunching,
or some other low-level release. (I've even found that memory wiping utils
of various sorts can solve some of these kinds of intermittent problems.[1])
I know that I've received that error as well. (I do have multiple OSA
components installed, and unfortunately I can't tell you which kind of
script produced it...JSosa or ASosa.)
A perhaps trivial clip from MacErrors.h >>
errOSACantOpenComponent = -1762 /* Can't connect to scripting system
with that ID */
[1] I say 'intermittent' not really knowing from your message whether the
coworker tried once or many times, across restarts, whether other scripts
run just fine, whether yours did but now doesn't and so on. I assumed, from
your description, that this was either one time, or one person. In either
case, 'intermittent' may even be a stretch. 'Fluke' may be more
appropriate. :)
--
Gary
OMM: OS9.1.2 / osa:AS 1.8.3 / osa:JS 1.0.3
"9 is Fine"
Please reply directly to the list.
Incoming messages are auto-deleted. (It's anti-spam, that's all.)
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.