Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

8.5 Error codes list and lingo documentation

210 views
Skip to first unread message

Sean Wilson

unread,
May 26, 2002, 11:45:20 PM5/26/02
to
> Does anyone know of a list of error codes and their associated meanings
produced by director 8.5?

What error code did you have in mind? Any examples? More importantly, what
did you do that produced the error?

You might try (in your message window):
put MOAErrorToString( errorCodeNumber )

though the text information returned is, more often than not, just as useful
as the number! (eg. "An internal error occurred.")

-Sean.


artcollab888

unread,
May 26, 2002, 11:12:07 PM5/26/02
to
Hi folks,

Does anyone know of a list of error codes and their associated meanings produced by director 8.5?

If so can I get a copy? Where do i go? Where can i look up?
(I'm getting very frustrated with error codes when working with 3d lingo)

Also does anyone know of a comprehensive listing of lingo in director8.5, I know about the online help - but often find its not enough information to actually use some of the features.

Personally I would prefer more detailed explanations and more varied examples for each possible scenario.

Any help/ideas appreciated,
Thanks in advance.

Regards,
Artcollab888


mango

unread,
May 27, 2002, 2:49:51 PM5/27/02
to
> You might try (in your message window):
> put MOAErrorToString( errorCodeNumber )

I guess this is used to get errorstrings out of errorcodes generated from the mui xtra.
Isn´t it??


/Mango

Blizzard888

unread,
May 28, 2002, 1:03:49 AM5/28/02
to
Hi Again folks,

Thanks for replying Sean and Mango,
does "put MOAErrorToString( errorCodeNumber )" tell you more than what appears in the pop up window?

I can see it would be useful to test non critical errors while still running a
director movie - but unless it tells more than what appears in the error message window -
its not really what I'm after.... Maybe this example will show what I meant

"What error code did you have in mind? Any examples? More importantly, what
did you do that produced the error?"

Well, take this error code for example

text reads

"Script error: Error

member("Pinnacle3").cloneModelFromCastmember("but3 lw", "but3 leftw", member("butt3 lw"))

-2147196928"

What on earth did the number mean?? "Error" is not a very helpful description.
If I knew what was causing the error - i wouldnt have done it in the first place!
The difficulty in finding what was causing the error, was complicated by the fact i didnt know what the error meant.

Maybe I'm just complaining about the lot of a programmer to attempt to figure out what completely irrelevant numbers like this mean. Anyway it turned out that I didn't do a
resetworld() function on the 3dcastmember in the initialization of my movie.

Since I am also teaching myself 3d lingo, i was still learning what sort of things are required to even get the 3d thing happening. So I was really stumped when I got this problem.

Fortunately I got some help on a forum - from helpful people like yourselves :) - otherwise I'd still probably be tearing my hair out!

So, if anyone out there knows of a list that can translate "-2147196928" into something more meaningful like "model already exists" that would be fantastic!

Thanks for your help,
Ice Blizzard


Scott Southworth

unread,
May 28, 2002, 5:29:59 PM5/28/02
to
there are lots of ways to get that number -- i think it's negative max
integer? -- it's usually
a product of trying to make null value perform a function or such... i think
it's spit
out as pointer garbage or something :) but it's definitely not an error
code.
-scott


"Blizzard888" <webfor...@macromedia.com> wrote in message
news:acv33l$qaa$1...@forums.macromedia.com...

Gretchen Macdowall

unread,
May 29, 2002, 9:48:26 AM5/29/02
to
In article <actv1h$c0h$1...@forums.macromedia.com>, "mango"
<mango.ju...@swipnet.se> wrote:

MOA, which I think stands for Macromedia Open Architecture, is the API to
xtras, MM's own, and third party. If something generates an error in the
xtras API, this big negative number is passed through to the xtra.
MOAErrorToString translates it into text.

Gretchen Macdowall
updateStage, inc.
http://www.updatestage.com/
Information and Xtras for Director developers

mango

unread,
May 29, 2002, 11:34:56 AM5/29/02
to
My point is that the MOAErrorToString() is a function in the mui xtra. Easily checked with
put interface(xtra"mui"). I can´t see how that function is going to return anything useful
with 3D errors.

Most xtras I have used usually have their own error codes, the xtra usually also have a
function to get a small descriptive text. as examples....
filextra3 > fx_ErrorNumber and fx_ErrorString
fileIO > status and error
multiuser > GetNetErrorString


/Mango

"Gretchen Macdowall" <g...@updatestage.com> wrote in message
news:gcm-290502...@lynn2-sns-tnt-01-209.port.shore.net...

Gretchen Macdowall

unread,
May 30, 2002, 2:32:49 PM5/30/02
to
In article <ad2sch$40a$1...@forums.macromedia.com>, "mango"
<mango.ju...@swipnet.se> wrote:

> My point is that the MOAErrorToString() is a function in the mui xtra.
Easily checked with
> put interface(xtra"mui"). I can´t see how that function is going to
return anything useful
> with 3D errors.

An xtra can choose to read the big negative number MOA error and translate
it into its own error and return that to you in its own error function.
But there are some MOA errors that are unlikely to happen in normal life,
that xtras let pass through. Hence the big negative number and the need
for MOAErrorToString. If the 3D xtra returns a MOA error code, possibly
MOAErrorToString would give a clue as to what was wrong.

mango

unread,
May 30, 2002, 3:49:37 PM5/30/02
to
Ok.. thanks for the explanation.

For the fun of it I have posted what I think is the complete list of strings returned by
the function. There are some codes worth mentioning... or.. what might actually cause
them. I will only mention a few of them.
-- "-2147217358 INet URL error: Error occurred when connecting"
-- "-2147217357 INet URL error: Error occurred when disconnecting"
Is it possible (undocomented of course) to control connecting and disconnecting????

-- "-2147200504 Progress box error: User cancelled progress box"
-- "-2147200503 Progress box error: Progress box failed to open"
What progress box??? It can´t be the shockwave loader because you cant use the
MOAErrorToString function from shockwave as the mui xtra isn´t shockwave safe.


I didn´t have time to run this handler to the end therefor I don´t know if it´s the full
list.
on putallerrors
repeat with i = the maxinteger +1 to 0
if MoaErrorToString(i) <> "Unknown or System specific error" then put i && a
end repeat
end


/Mango

-- "-2147221503 Invalid parameter passed"
-- "-2147221502 Not enough memory available for attempted operation"
-- "-2147221501 Xtra is currently busy"
-- "-2147221500 Incorrect interface"
-- "-2147221499 Incorrect class"
-- "-2147221498 File not found"
-- "-2147221497 Xtra not found"
-- "-2147221496 Xtra is missing required function"
-- "-2147221495 Xtra is missing class information"
-- "-2147221494 Xtra isn't opened properly"
-- "-2147221493 Xtra isn't compatible with hardware"
-- "-2147221492 Computer dosen't have required FPU"
-- "-2147221491 Minimum hardware required for operation is missing"
-- "-2147221490 Required software component is missing"
-- "-2147221489 Required Xtra is missing"
-- "-2147221488 Not enough disk space"
-- "-2147221487 MoaFreeUnused didn't free anything. All memory is in use"
-- "-2147221486 Required callback missing"
-- "-2147221485 Invalid key"
-- "-2147221484 Internal error"
-- "-2147221483 Unsupported code type"
-- "-2147221482 Duplicate class IDs found"
-- "-2147221481 Object has been disposed of"
-- "-2147221462 MOA dictionary error: Dictionary entry not found"
-- "-2147221461 MOA dictionary error: Wrong type for key"
-- "-2147221460 MOA dictionary error: Can't write to dictionary"
-- "-2147221459 MOA dictionary error: Buffer too small"
-- "-2147221424 MOA stream error: Stream not open"
-- "-2147221423 MOA stream error: Stream already open"
-- "-2147221422 MOA stream error: Invalid stream parameter"
-- "-2147221421 MOA stream error: Stream I/O error occurred"
-- "-2147221420 MOA stream error: Attempted to read past end"
-- "-2147221419 MOA stream error: Invalid access mode"
-- "-2147221418 MOA stream error: Invalid set position mode"
-- "-2147221417 MOA stream error: Attempted to read too far ahead"
-- "-2147221416 MOA stream error: Attempted to write past end"
-- "-2147220604 MOA file error: I/O error occurred"
-- "-2147220603 MOA file error: Buffer too small"
-- "-2147220602 MOA file error: Duplicate spec"
-- "-2147220601 MOA file error: Disk is full"
-- "-2147220600 MOA file error: File busy"
-- "-2147220599 MOA file error: Invalid file spec"
-- "-2147219504 MOA core error: Interface not implemented"
-- "-2147219503 MOA core error: Interface not found"
-- "-2147219502 MOA core error: Internal error occurred"
-- "-2147219501 MOA core error: XAsset type unknown"
-- "-2147219500 MOA core error: GC type isn't supported"
-- "-2147219499 Property access error: Property not found"
-- "-2147219498 Property access error: Can't set property"
-- "-2147219497 Property access error: No memory allocated for string"
-- "-2147219496 Property access error: Argument out of valid range"
-- "-2147219495 Property access error: Integer expected"
-- "-2147219494 Property access error: Symbol expected"
-- "-2147219493 Property access error: Float expected"
-- "-2147219492 Property access error: String expected"
-- "-2147219491 Property access error: Point expected"
-- "-2147219490 Property access error: Rect expected"
-- "-2147219489 Call handler error: Function not found"
-- "-2147219488 Call handler error: No argument expected"
-- "-2147219487 Call handler error: One argument expected"
-- "-2147219486 Call handler error: Two arguments expected"
-- "-2147219485 Call handler error: Three arguments expected"
-- "-2147219484 Call handler error: Four arguments expected"
-- "-2147219483 Call handler error: Wrong number of arguments passed"
-- "-2147219482 Required Xtra or interface isn't registered"
-- "-2147219481 Stream in failed"
-- "-2147219480 Stream out failed"
-- "-2147219479 Free failed"
-- "-2147219478 Asset creation failed"
-- "-2147219477 GC not modifiable"
-- "-2147219476 GC not available"
-- "-2147219475 WinG not enabled"
-- "-2147219474 Unknown notify message code"
-- "-2147219473 Value types don't match"
-- "-2147218504 Cast member identifier expected"
-- "-2147218503 Media expected"
-- "-2147218502 Picture expected"
-- "-2147218501 Media access error: Media label not supported"
-- "-2147218500 Media access error: Media format not supported"
-- "-2147218499 Media access error: Media is in use"
-- "-2147218498 Media access error: Media data is invalid"
-- "-2147218497 Media access error: Media data doesn't exist"
-- "-2147218496 Media access error: Label not found"
-- "-2147218495 Score access error: Not in update mode"
-- "-2147218494 Score access error: Owner not set"
-- "-2147218493 Tool Xtra error: Tool disabled"
-- "-2147218492 Cast not found"
-- "-2147218491 Cast member not found"
-- "-2147218489 Frame not found"
-- "-2147218488 Notify type unknown"
-- "-2147218487 Handler not defined"
-- "-2147218486 Movie not open"
-- "-2147218485 Property access error: Sprite expected"
-- "-2147218484 Property access error: CastLib expected"
-- "-2147218483 Property access error: Sound sprite expected"
-- "-2147218482 Sound channel out of valid range"
-- "-2147217360 INet URL error: Error occurred when sending"
-- "-2147217359 INet URL error: Error occurred when receiving"
-- "-2147217358 INet URL error: Error occurred when connecting"
-- "-2147217357 INet URL error: Error occurred when disconnecting"
-- "-2147217356 INet URL error: Wrong protocol state"
-- "-2147217355 INet URL error: Error occurred when parsing"
-- "-2147217354 INet URL error: Unexpected early close"
-- "-2147217353 INet URL error: Busy"
-- "-2147217352 INet URL error: Unknown type"
-- "-2147217351 INet URL error: Internal error occurred"
-- "-2147217350 INet URL error: INet timed out"
-- "-2147217349 INet URL error: Out of memory"
-- "-2147217348 INet URL error: INet reply error occurred"
-- "-2147217347 INet URL error: Authentication failed"
-- "-2147217346 INet URL error: Unsupported variant type"
-- "-2147217345 INet URL error: Invalid URL"
-- "-2147217344 INet URL error: Invalid operation"
-- "-2147217343 INet Property Error: Wrong state"
-- "-2147217342 INet URL error: Thread running"
-- "-2147217341 INet URL error: Thread start failed"
-- "-2147217340 INet URL error: Socket create failed"
-- "-2147217339 INet URL error: URL not found"
-- "-2147217264 URL administration error: NIC not initialized"
-- "-2147217263 URL administration error: URL not set"
-- "-2147216672 MOA stream2 error: Data not available yet"
-- "-2147216671 MOA stream2 error: Operation hasn't finished"
-- "-2147216670 MOA stream2 error: Shared memory lock error occurred"
-- "-2147216669 MOA stream2 error: Cache content is incompatible"
-- "-2147216668 MOA stream2 error: Cache download stopped"
-- "-2147216667 MOA stream2 error: Cache is in invalid state"
-- "-2147200504 Progress box error: User cancelled progress box"
-- "-2147200503 Progress box error: Progress box failed to open"


mango

unread,
May 30, 2002, 3:51:18 PM5/30/02
to
The handler actually looked like this...

on putallerrors
repeat with i = the maxinteger +1 to 0

a = MoaErrorToString(i)
if a <> "Unknown or System specific error" then put i && a
end repeat
end

/Mango


0 new messages