AnsweredAssumed Answered

ARCMAP 10.5 Python Script Error

Question asked by Mudassaralii_2k5 on Jan 15, 2020
Latest reply on Jan 20, 2020 by jborgion

I have successfully created the following code which is running fine on my system (Arcmap 10.5)

https://onlinegdb.com/SkvkqiWeU

 

This code is running fine on my system but giving following error on some other system,

 

Executing: script "G:\image\s.img" "G:\river_splitted" "G:\output"
Start Time: Tue Jan 07 09:40:43 2020
Running script script...
Failed script script...

Traceback (most recent call last):
File "E:\script.py", line 53, in <module>
arcpy.gp.ExtractMultiValuesToPoints_sa(point_feature, DEM + " elevation", "NONE")
File "c:\program files (x86)\arcgis\desktop10.5\arcpy\arcpy\geoprocessing\_base.py", line 510, in <lambda>
return lambda *args: val(*gp_fixargs(args, True))
RuntimeError: Object: Error in executing tool

Failed to execute (script).
Failed at Tue Jan 07 09:40:45 2020 (Elapsed Time: 2.11 seconds)

Outcomes