Module Import alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore TupleLoad NameLoad NameLoad NameLoad TryExcept body Assign NameStore Call NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num If CompareGt NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad NameLoad Delete NameDel Delete NameDel Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Assign NameStore BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore BinOpAdd BinOpAdd Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Print NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Print NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore ListLoad Str Str Str Str Str Str Str Assign NameStore ListLoad Str Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Str If CompareIn NameLoad NameLoad body Assign NameStore Str orelse If CompareIn NameLoad NameLoad body Assign NameStore Str orelse Raise Call NameLoad Str If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num If CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad BinOpAdd Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num ExceptHandler type NameLoad name NameStore body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Assign NameStore BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore BinOpAdd BinOpAdd Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Print NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Print NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A arcpy N/A os N/A sys N/A traceback N/A inputTrackLines N/A N/A arcpy GetParameterAsText 0 N/A inputTrackIDFieldName N/A N/A arcpy GetParameterAsText 1 N/A inputPatrolReportXML N/A N/A arcpy GetParameterAsText 2 N/A inputPatrolReportTable N/A N/A arcpy GetParameterAsText 3 N/A inputEnemySightingsTable N/A N/A arcpy GetParameterAsText 4 N/A DEBUG False getUniqueID N/A N/A featlayer idfield N/A N/A N/A N/A uniqueid rows row N/A None None None N/A N/A N/A count N/A int N/A N/A N/A N/A arcpy GetCount_management featlayer getOutput 0 N/A rows N/A N/A N/A arcpy da SearchCursor featlayer N/A OID@ idfield N/A row N/A N/A rows next N/A uniqueid N/A row N/A 1 N/A oid N/A row N/A 0 N/A N/A count 1 N/A N/A N/A N/A arcpy AddWarning N/A N/A N/A Found more than one selected row. Using row with Object ID =  N/A str oid , and with value:  N/A str uniqueid N/A row N/A rows N/A uniqueid N/A N/A N/A Exception N/A e N/A N/A tb N/A N/A N/A sys exc_info N/A 2 N/A tbinfo N/A N/A N/A traceback format_tb tb N/A 0 N/A pymsg N/A N/A N/A PYTHON ERRORS:
Traceback info:
 tbinfo 
Error Info:
 N/A str N/A N/A N/A sys exc_info N/A 1 N/A msgs N/A N/A ArcPy ERRORS:
 N/A N/A arcpy GetMessages N/A N/A N/A arcpy AddError pymsg N/A pymsg N/A N/A N/A arcpy AddError msgs N/A msgs N/A getToolboxName N/A N/A N/A N/A N/A versionDesktop N/A 10.1.0 10.2.0 10.2.1 10.2.2 10.3.0 10.3.1 10.4.0 N/A versionPro N/A 1.0 1.1 N/A version N/A N/A N/A arcpy GetInstallInfo N/A Version N/A N/A version versionDesktop N/A N/A tbxName Patrol Data Capture Tools_10.3.tbx N/A N/A N/A version versionPro N/A N/A tbxName Patrol Data Capture Tools.tbx N/A N/A N/A Exception Unable to determine ArcGIS version N/A N/A DEBUG True N/A N/A N/A N/A arcpy AddMessage N/A N/A N/A Version  N/A str version  using  tbxName N/A tbxName N/A getToolboxPath N/A N/A N/A N/A N/A tbxPath N/A N/A N/A os path dirname N/A N/A N/A os path dirname N/A N/A sys argv N/A 0 N/A N/A DEBUG True N/A N/A N/A N/A arcpy AddMessage N/A Using toolbox path:  N/A str tbxPath N/A tbxPath N/A main N/A N/A N/A N/A N/A N/A N/A tbx N/A N/A N/A os path join N/A getToolboxPath N/A getToolboxName N/A N/A N/A N/A N/A os path exists tbx N/A N/A N/A Exception N/A Cannot find toolbox:  N/A str tbx N/A N/A N/A arcpy ImportToolbox tbx pdc N/A N/A N/A arcpy env overwriteOutput True N/A uniqueID N/A getUniqueID inputTrackLines inputTrackIDFieldName N/A N/A N/A arcpy AddMessage N/A Using unique ID =  N/A str uniqueID N/A N/A N/A arcpy AddMessage Adding Enemy Sightnings... N/A N/A N/A arcpy ImportEnemySightingsXML_pdc inputPatrolReportXML uniqueID inputEnemySightingsTable N/A N/A N/A arcpy AddMessage Adding Patrol Report... N/A N/A N/A arcpy ImportPatrolRptXML_pdc inputPatrolReportXML uniqueID inputPatrolReportTable N/A N/A N/A arcpy AddMessage Done! N/A N/A N/A arcpy SetParameter 5 inputEnemySightingsTable N/A N/A N/A arcpy SetParameter 6 inputPatrolReportTable N/A N/A N/A N/A arcpy ExecuteError N/A N/A msgs N/A N/A arcpy GetMessages N/A N/A N/A arcpy AddError msgs N/A N/A N/A sys exit -1 N/A N/A Exception N/A e N/A N/A tb N/A N/A N/A sys exc_info N/A 2 N/A tbinfo N/A N/A N/A traceback format_tb tb N/A 0 N/A pymsg N/A N/A N/A PYTHON ERRORS:
Traceback info:
 tbinfo 
Error Info:
 N/A str N/A N/A N/A sys exc_info N/A 1 N/A msgs N/A N/A ArcPy ERRORS:
 N/A N/A arcpy GetMessages N/A N/A N/A arcpy AddError pymsg N/A pymsg N/A N/A N/A arcpy AddError msgs N/A msgs N/A N/A N/A __name__ __main__ N/A N/A N/A main