Understanding Error Messages

At some point you may create a script that causes an error message to appear in the History Log of the Script Editor. Some of the error messages are self-explanatory, but others may cover several possible scenarios.

To help you unravel the mystery of these error messages, here is a small sample of error messages, what they may mean, and how to fix your script:

ERROR : 2001-<function_name> - Argument <#> is invalid

ERROR : 2038 - Bad Variable Type

ERROR : 2000 - Argument <#> (<parametername>) is invalid

ERROR : Cannot use parentheses when calling a Sub

ERROR : Expected end of statement

ERROR : Invalid argument specified

ERROR : <enum_name> is not defined

ERROR : <tuple_name> is not defined

ERROR : 'tuple' object has no attribute

ERROR : Object doesn't support this property or method:

ERROR : Object not a collection

ERROR : Object required

ERROR : (Python) dict can not be converted to a COM VARIANT

ERROR : Syntax error

ERROR : Type mismatch

ERROR : Wrong number of arguments or invalid property assignment



Autodesk Softimage v7.5