Exceptions

tecplot.exception

The class hierarchy for PyTecplot exceptions are as follows. Exceptions in parentheses are Python built-ins from which the PyTecplot exceptions derive. One can use either the Python native errors or the more specific “Tecplot” errors to catch exceptions:

TecplotError (Exception)
 +--- TecplotConnectionError
 |     `--- TecplotTimeoutError
 +--- TecplotInitializationError (ImportError)
 |     +--- TecplotLicenseError
 |     +--- TecplotLibraryNotLoadedError
 |     `--- TecplotLibraryNotFoundError
 +--- TecplotLogicError (AssertionError)
 +--- TecplotLookupError (LookupError)
 |     +--- TecplotIndexError (IndexError)
 |     `--- TecplotKeyError (KeyError)
 +--- TecplotOSError (OSError)
 +--- TecplotRuntimeError (RuntimeError)
 |     +--- TecplotNotImplementedError (NotImplementedError)
 |     |     `--- TecplotOutOfDateEngineError
 |     `--- TecplotInterfaceChangeError (AttributeError)
 +--- TecplotSystemError (SystemError)
 |     +--- TecplotInterruptError
 |     `--- TecplotMacroError
 +--- TecplotTypeError (TypeError)
 `--- TecplotValueError (ValueError)

TecplotWarning (Warning)
 +--- TecplotConversionWarning
 +--- TecplotFutureWarning (FutureWarning)
 `--- TecplotPatternMatchWarning (SyntaxWarning)
exception tecplot.exception.TecplotAttributeError[source]

Undefined attribute.

exception tecplot.exception.TecplotConnectionError[source]

Unable to communcate with TecUtil Server.

exception tecplot.exception.TecplotConversionWarning[source]

Implicit data conversion which loses precision.

exception tecplot.exception.TecplotError[source]

Tecplot error.

exception tecplot.exception.TecplotFutureWarning[source]

An interfaced has moved or been renamed.

exception tecplot.exception.TecplotIndexError[source]

Index out of range or invalid.

exception tecplot.exception.TecplotInitializationError[source]

Tecplot engine could not be initialized.

exception tecplot.exception.TecplotInterfaceChangeError[source]

A method or property has been moved, renamed or removed.

exception tecplot.exception.TecplotInterruptError(message=None)[source]

Tecplot 360 was interrupted.

exception tecplot.exception.TecplotInvalidMessage[source]

Invalid message received when trying to connect.

exception tecplot.exception.TecplotKeyError[source]

Key not found.

exception tecplot.exception.TecplotLibraryNotFoundError[source]

Batch library was not found in PATH or DY/LD_LIBRARY_PATH.

exception tecplot.exception.TecplotLibraryNotLoadedError[source]

Batch library could not be loaded.

exception tecplot.exception.TecplotLicenseError[source]

Invalid or missing Tecplot license.

exception tecplot.exception.TecplotLogicError[source]

TecUtil method contract was violated.

exception tecplot.exception.TecplotLookupError[source]

Could not find requested object.

exception tecplot.exception.TecplotMacroError(message=None)[source]

Macro command failed to execute.

exception tecplot.exception.TecplotNotImplementedError[source]

Requested operation is planned but not implemented.

exception tecplot.exception.TecplotOSError[source]

Operating system error.

exception tecplot.exception.TecplotOutOfDateEngineError(sdk_version_supported, message=None)[source]

Requested action is implemented in a newer version of the engine.

exception tecplot.exception.TecplotOverflowError[source]

Integer value out of required range.

exception tecplot.exception.TecplotPatternMatchWarning(pattern, msg, mode='glob')[source]

Pattern not found in list of names.

exception tecplot.exception.TecplotRuntimeError[source]

PyTecplot post-initialization error.

exception tecplot.exception.TecplotSystemError(message=None)[source]

Tecplot Engine error or failure.

exception tecplot.exception.TecplotTimeoutError[source]

TecUtil Server not responding in a timely fashion.

exception tecplot.exception.TecplotTypeError[source]

Incorrect or invalid type was used.

exception tecplot.exception.TecplotValueError[source]

Bad value.

exception tecplot.exception.TecplotWarning[source]

General warnings issued from PyTecplot.