Same problem, anyone with a solution ?
Cheers
Fred
# Import arcpy module import arcpy from arcpy import env import os # Overwrite pre-existing files arcpy.env.overwriteOutput = True os.environ['ESRI_SOFTWARE_CLASS']='Professional' #Added based on forum suggestion arcpy.CheckOutExtension('Spatial') #Added based on forum suggestion Input = "C:\\GIS_DATA\\FGDB.gdb\\InputPolygons" Input_Layer = "Feature_Layer" Output = "C:\\GIS_DATA\\FGDB.gdb\\OutputPoints" try: arcpy.MakeFeatureLayer_management(Input, Input_Layer, "", "", "field alias VISIBLE NONE") arcpy.FeatureToPoint_management(Input_Layer, Output, "CENTROID") except: print arcpy.GetMessages()
Failed to execute. Parameters are not valid. ERROR 000824: The tool is not licensed. Failed to execute (FeatureToPoint).
i've the same problem, I try to execute my script embebed into Arcgis and it run perfectly, but when I try to run *.py i receive this message ERROR 000824: The tool is not licenced. I included into my script this:import arcviewimport arcpyarcpy.CheckOutExtension("Spatial")I dont understand what is happening i'm so confused.Can you help me?Thanks a lot.
I am trying to convert a feature to raster file... The stand alone python script says there are no requirements for doing this however, when executing it says 00824 error and says that theres is a problem with the FeatureToClass license... I don't understand why this it says there are no requirements and then this error shows up... What can I do?? I have all extension properly installed and running...I need help please!!!
2) This is a more minor thing, but when I print off the contents of lists, or any other kind of printed result, there is a "u" concatenated at the beginning (e.g. arcpy.CheckExtension("spatial") ---> u'Available')Is this a problem? Is it related to my first problem?
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.