Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > -110 error in applescript...help!!

-110 error in applescript...help!!
Thread Tools
Grizzled Veteran
Join Date: Jan 2001
Location: Iowa State Univesity
Status: Offline
Reply With Quote
Mar 2, 2001, 11:42 AM
 
I made an applescript to use to eject my zip disks.
I did every thing right, syntax was fine or whatever. I assigned it to the F13 key, and when I press that key, the disk is ejected, but then it gives me a message that says "-110 error has occrued." all I have to do is click "ok" but i want to know the problem. As soon as i can i will post the applescript up here.

------------------
[This message has been edited by Gil Amelio (edited 07-15-1995).]
iBook G4-1.33/768 || B&W G3-450/640 || Beige G3-G4 450/352 || Beige G3-400/256 in Classic case || Beige G3-300/256 || PB 5300cs Pictureframe 100/24
     
Dedicated MacNNer
Join Date: Nov 1999
Location: Georgetown, Demerara, Guyana
Status: Offline
Reply With Quote
Mar 8, 2001, 12:11 PM
 
Hi lothar56,

There are some available third-party resources for Mac OS errors, including websites (e.g., Rustle Laidman's Apple Error Codes, which even offers a new discussion board) and shareware programs (e.g., Bleu Rose's Black and Bleu utility, which tries to give detailed user-friendly explanations that go beyond Apple's notoriously terse descriptions).

Speaking of info straight from the horse's mouth, Apple's old TIL article Mac OS System Error Codes: 0 to -261 (and the 'MacErrors.h' header-file from Apple's Universal Interfaces 3.3.x SDK) says that error number -110 is a "memory address error (address was odd or out of range)". (!) I believe that this error can also show up as a 'Type 2' error. AFAIK, it usually means that something has accidentally overwritten some executable memory-location. [How's that for a vague description? ;-)]

If your script applet uses a third-party scripting addition (OSAX), it could be that there's a bug in that OSAX. On the other hand, if you're just using "vanilla" AppleScript and the scriptable Finder, then perhaps there's a bug in AppleScript itself, or you might be the victim of an extensions-conflict of some kind. Which version of AppleScript (or the Mac OS) are you using? [Actually, an AppleScript bug isn't entirely out of the question. According to the AppleScript SourceBook's subsection on AppleScript 1.5.5's fixed bugs, Mac OS 9.1 has fixed a known issue in AppleScript 1.4.x (Mac OS 9.0.x) and possibly earlier which might cause an applet to randomly crash if it had launched another applet at some point. I suppose a similar kind of bug could affect an applet when it quits...]

In any event, if you're already using Mac OS 9.1, and you still get the error after starting up with only the 'Base' extensions set, then I guess you could try bumping up the applet's preferred memory size, or running it from within Script Editor to see if you get the same error.

Regards,

--Paul

[This message has been edited by Paul Crawford (edited 03-08-2001).]
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:01 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2