Esri / military-tools-geoprocessing-toolbox

military-tools-geoprocessing-toolbox is a collection of models, scripts, and tools for use in ArcGIS for Desktop and ArcGIS Pro. This toolbox is one component that is a part of Military Tools.
Apache License 2.0
33 stars 14 forks source link

Table to Point script fails in 10.3.1 and 10.4 #150

Closed NatalieCampos closed 7 years ago

NatalieCampos commented 7 years ago

Table to Point script fails in 10.3.1. This was downloaded from the Nov-Release-fix branch on 11/23. Below is the error.

Executing: TableToPoint C:\Users\nata7004\Desktop\military-tools-geoprocessing-toolbox-mf-nov-release-fix\military-tools-geoprocessing-toolbox-mf-nov-release-fix\testdata\CSV\TabletoPoint.csv DD_2 x y C:\Users\nata7004\Documents\ArcGIS\scratch.gdb/outputPoints3 "GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]];-400 -400 1000000000;-100000 10000;-100000 10000;8.98315284119522E-09;0.001;0.001;IsHighPrecision" Start Time: Wed Nov 23 11:26:31 2016 Running script TableToPoint... PYTHON ERRORS: Traceback info: File "C:\Users\nata7004\Desktop\military-tools-geoprocessing-toolbox-mf-nov-release-fix\military-tools-geoprocessing-toolbox-mf-nov-release-fix\toolboxes\scripts\ConversionUtilities.py", line 831, in tableToPoint inputSpatialReference.exportToString())

Error Info: 'unicode' object has no attribute 'exportToString' ArcPy ERRORS: Executing: DeleteField C:\Users\nata7004\Documents\ArcGIS\scratch.gdb/outputLines2 JoinID Start Time: Wed Nov 23 11:25:51 2016 Dropping JoinID from C:\Users\nata7004\Documents\ArcGIS\scratch.gdb/outputLines2... Succeeded at Wed Nov 23 11:25:51 2016 (Elapsed Time: 0.10 seconds)

Completed script TableToPoint... Failed to execute (TableToPoint). Failed at Wed Nov 23 11:26:31 2016 (Elapsed Time: 0.09 seconds)'

NatalieCampos commented 7 years ago

This is the error in 10.4

`Executing: TableToPoint C:\Users\nata7004\Desktop\military-tools-geoprocessing-toolbox-mf-nov-release-fix\military-tools-geoprocessing-toolbox-mf-nov-release-fix\testdata\CSV\TabletoPoint.csv DD_2 x y C:\Users\nata7004\Documents\ArcGIS\scratch.gdb/outputPoints "GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]];-400 -400 1000000000;-100000 10000;-100000 10000;8.98315284119522E-09;0.001;0.001;IsHighPrecision" Start Time: Wed Nov 23 13:25:04 2016 Running script TableToPoint... PYTHON ERRORS: Traceback info: File "C:\Users\nata7004\Desktop\military-tools-geoprocessing-toolbox-mf-nov-release-fix\military-tools-geoprocessing-toolbox-mf-nov-release-fix\toolboxes\scripts\ConversionUtilities.py", line 831, in tableToPoint inputSpatialReference.exportToString())

Error Info: 'unicode' object has no attribute 'exportToString' ArcPy ERRORS: Executing: DeleteField C:\Users\nata7004\Documents\ArcGIS\scratch.gdb/outputLines2 JoinID Start Time: Wed Nov 23 13:24:45 2016 Dropping JoinID from C:\Users\nata7004\Documents\ArcGIS\scratch.gdb/outputLines2... Succeeded at Wed Nov 23 13:24:45 2016 (Elapsed Time: 0.06 seconds)

Completed script TableToPoint... Failed to execute (TableToPoint). Failed at Wed Nov 23 13:25:04 2016 (Elapsed Time: 0.05 seconds) `