Home | Trees | Indices | Help |
---|
|
1 #! /usr/bin/env python 2 # 3 4 """ 5 A class for storing constants used throughout the iceprod code. 6 7 copyright (c) 2009 the icecube collaboration 8 9 @version: $Revision: $ 10 @date: $Date: 2009/01/09 14:27:51 $ 11 @author: Ian Rae <ian@icecube.wisc.edu> 12 """ 13 14 ############################################################################## 15 # task (multi-part job) constants 16 ############################################################################## 17 18 # return codes 19 TASK_CONFIGURATION_ERROR = 101 20 TASK_FETCH_INPUT_FAILED = 102 21 TASK_NOT_FOUND = 103 # requested task is not in DB 22 TASK_INVALID = 104 # tried to start task, but DB didn't give an ID 23 TASK_SERVER_ERROR = 105 # unable to communicate with server 24 TASK_STORE_OUTPUT_FAILED = 106 25 TASK_UNPACK_INPUT_FAILED = 107 26 TASK_EXTERNS_FAILED = 108 27 TASK_RUN_EXCEPTION = 109 28 TASK_CLEANUP_FAILED = 110 29 TASK_XFER_PROTO_ERROR = 111 # unsupported transfer protocol for input/output 30 TASK_XFER_CONFIG_ERROR = 112 # invalid transfer requested (e.g. HTTP => HTTP) 31 32 # miscellaneous constants 33 TASK_ERROR_ID = -1 # task ID is needed for a return value, but error 34 # has occurred 35 TASK_DATASET_ERROR_ID = -1 # dataset ID is needed for a return value, but 36 # error has occurred 37 TASK_EXTERN_ITER = -1 # if this iter is requested, externs will be run 38 TASK_TRASHCAN_NAME = "trashcan" # name of special trashcan job (sets final 39 # job status and cleans files) 40 TASK_CHECKSUM_SUFFIX = ".md5sum" # filename suffix for checksums 41
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon May 3 21:25:57 2010 | http://epydoc.sourceforge.net |