I have a model created in ArcGIS Pro that I'm trying to run with a python script. The model runs fine in Pro but when I run it as a script i get the message in the title above. What does this mean? I have an advanced license, so all tools should be good to go.
I've used the python/model method several times before and haven't had this issue.
Thanks,
Michael
Solved! Go to Solution.
Hi Joe,
No, I don't see it assigned to a milestone yet. Have you subscribed to it at that link you included? BUG-000124286: Executing the script for the ExcelToTable function f..
Subscribed....
fyi... this error also appears while using the "AddGeometryAttributes_management" GP tool
Same with the CalculateGeometryAttributes tool.
This is also occurring with the GeneratePointsAlongLine tool.
This bug appears to be occurring on many tools. Especially the newer ones that use the parallel processing.
I noticed that Esri updated the bug report to say this "medium" bug will not be fixed at until 2.4.6. It looks like an extended wait until these tools are usable in Python.
So far I have been able to work around all of the broken commands by using the older versions of the tools. It is too bad because these new commands are much faster and more functional.
More cool, but broken tools:
arcpy.DissolveBoundaries_gapro
arcpy.OverlayLayers_gapro
Same with arcpy.gapro.ClipLayer.
Same problem with : arcpy.management.CalculateGeometryAttributes
AttributeError: 'ToolValidator' object has no attribute 'isLicensed'
Hey Kory Kramer - I'm using Pro 2.5 and found that arcpy.BatchBuildPyramids_management() tosses the error as well. I subscribed to the bug and don't recall seeing any updates; I guess it's on going?
Right now it appears to be fixed in Pro 2.6 (next version). I'm not sure if it is feasible to be included in a patch, but am checking on that.