Every time I'm trying to convert data to a shapefile I keep on getting this error and i just can't get around it. Can someone please help?
this is the error message
Traceback (most recent call last):
File "c:\program files\arcgis\pro\Resources\ArcToolbox\scripts\XYTableToPoint.py", line 297, in <module>
^
File "c:\program files\arcgis\pro\Resources\ArcToolbox\scripts\XYTableToPoint.py", line 283, in xy_table_to_points
if i % 2000 == 0:
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 6656, in CopyFeatures
raise e
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 6647, in CopyFeatures
gp.CopyFeatures_management(
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 533, in <lambda>
return lambda *args: val(*gp_fixargs(args, True))
Hi @Kato,
Can you post a screenshot of how you have the tool setup?
Do you receive the same error when converting to a feature class?
Reviewing the source code of the tool the error line is to do with updating the progress bar, a fairly innocuous
bit of the tool. It also has no error capturing (which is a bit slack of ESRI for a system tool) so that hints towards an issue with the data itself. You give no indication in your question the size of the table you are converting and what its source format is? Are you pre-selecting rows to avoid null values, have you even quality controlled your input data?