Customized Exception

CG errors.

exception rayvision_api.exception.AnalyseFailError

Bases: AnalyzeError

Analyse Fail Error.

exception rayvision_api.exception.AnalyzeError

Bases: Exception

Analyze has a damage error.

exception rayvision_api.exception.CGExeNotExistError

Bases: AnalyzeError

No errors in CG boot.

exception rayvision_api.exception.CGFileNameIllegalError

Bases: AnalyzeError

CG File Name Illegal Error.

exception rayvision_api.exception.CGFileNotExistsError

Bases: AnalyzeError

CG file does not exist error.

exception rayvision_api.exception.CGFileZipFailError

Bases: AnalyzeError

CG file compression failed error.

exception rayvision_api.exception.CompressionFailedError

Bases: Exception

Compression failed error.

exception rayvision_api.exception.DecompressionFailedError

Bases: Exception

Unzip failed error.

exception rayvision_api.exception.FileNameContainsChineseError

Bases: AnalyzeError

File Name Contains Chinese Error.

exception rayvision_api.exception.GetCGLocationError

Bases: AnalyzeError

Error getting CG local path.

exception rayvision_api.exception.GetCGVersionError

Bases: AnalyzeError

Error getting CG version.

exception rayvision_api.exception.GetRendererError

Bases: AnalyzeError

Get renderer error.

exception rayvision_api.exception.HardwareConfigIdError

Bases: Exception

Hardware configuration id are invalid.

exception rayvision_api.exception.MaxDamageError

Bases: AnalyzeError

Max has a damage error.

exception rayvision_api.exception.MaxExeNotExistError

Bases: AnalyzeError

There are no errors in the Max startup file.

exception rayvision_api.exception.MultiScatterAndVrayConfilictError

Bases: AnalyzeError

Multi scatter and vray Confilict error.

exception rayvision_api.exception.NotSupportCGSoftwareError

Bases: Exception

The CG software is not supported.

exception rayvision_api.exception.NotSupportPluginError

Bases: Exception

The plugin is not supported.

exception rayvision_api.exception.ProjectMaxVersionError

Bases: AnalyzeError

Project Max version error.

exception rayvision_api.exception.RayvisionAPIError(error_code, error, request)

Bases: RayvisionError

Raise RayVisionAPIError.

exception rayvision_api.exception.RayvisionError(error_code, error, *args, **kwargs)

Bases: Exception

Raise RayvisionError if something wrong.

class rayvision_api.exception.RayvisionHTTPErrorProcessor

Bases: HTTPErrorProcessor

Process HTTP error responses.

Inherit HTTPErrorProcessor in urllib2.

http_response(request, response)

Override the http_response method of HTTPErrorProcessor.

Process the response,when it is a bad Request,the corresponding exception is reported.

Parameters:
  • request (urllib2.Request) – Request object.

  • response (opener.open) – Response object.

Returns:

Abnormal response.

Return type:

Exception

exception rayvision_api.exception.RayvisonTaskIdError(error_code, error)

Bases: RayvisionError

Raise RayVisonTaskIdError.

exception rayvision_api.exception.UploadFileNotSupportError

Bases: Exception

Upload_file_name_only support does_not_support error.

exception rayvision_api.exception.VersionNotMatchError

Bases: AnalyzeError

Version not match error.