<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error with JoinField geoprocessing tool in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/error-with-joinfield-geoprocessing-tool/m-p/351819#M27579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using an ArcGIS 10.0 demo license with an ArcEditor license level on XP SP3.&amp;nbsp; I tried running the JoinField_management tool with different data in the Python window and got the same result.&amp;nbsp; I am able to join tables in ArcMap in the usual way&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with no problems.&amp;nbsp; Other geoprocessing tools work in the Python window and in scripts with no problems.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2012 17:15:06 GMT</pubDate>
    <dc:creator>EricCharlton</dc:creator>
    <dc:date>2012-05-09T17:15:06Z</dc:date>
    <item>
      <title>Error with JoinField geoprocessing tool</title>
      <link>https://community.esri.com/t5/python-questions/error-with-joinfield-geoprocessing-tool/m-p/351817#M27577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm getting the following error when I try to run a script in PythonWin for the Python Scripting for Geoprocessing Workflows ESRI Virtual Campus class for Arc GIS 10.0:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Python26\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 309, in RunScript&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; debugger.run(codeObject, __main__.__dict__, start_stepping=0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Python26\Lib\site-packages\pythonwin\pywin\debugger\__init__.py", line 60, in run&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _GetCurrentDebugger().run(cmd, globals,locals, start_stepping)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Python26\Lib\site-packages\pythonwin\pywin\debugger\debugger.py", line 624, in run&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exec cmd in globals, locals&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Student\PythonGP10_0\Scripts\BufferRoads.py", line 16, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.JoinField_management(inFeatures, inField, joinTable, joinField)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files\ArcGIS\Desktop10.0\arcpy\arcpy\management.py", line 3667, in JoinField&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise e&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ExecuteError: Failed to execute. Parameters are not valid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ERROR 000824: The tool is not licensed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (JoinField).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have also tried running the tool from the Python window in ArcMap with the same results.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;from arcpy import env&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#Set geoprocessing environment&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.env.workspace = "C:/Student/PythonGP10_0/Data/SanJuan.gdb"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.env.overwriteOutput = True&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#Set parameters used to join the BufferDistance table to the Roads feautre class&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;inFeatures = "Roads"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inField = "ROUTE_TYPE"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;joinTable = "BufferDistance"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;joinField = "ROUTE_TYPE"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#join table to feature class&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.JoinField_management(inFeatures, inField, joinTable, joinField)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#Set parameters to buffer Roads feature class&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;outBuffers = "RoadBuffers"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;buffField = "DISTANCE"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#Buffer roads based on DISTANCE attribute&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.Buffer_management(inFeatures, outBuffers, buffField)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help on this would be greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 20:10:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-with-joinfield-geoprocessing-tool/m-p/351817#M27577</guid>
      <dc:creator>EricCharlton</dc:creator>
      <dc:date>2012-05-08T20:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error with JoinField geoprocessing tool</title>
      <link>https://community.esri.com/t5/python-questions/error-with-joinfield-geoprocessing-tool/m-p/351818#M27578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You try running the JoinField tool from the Python window in ArcGIS and you are getting a tool is not licensed error? You aren't trying to use any extensions? That is odd behaviour, are you on a floating or single use license? View, Editor, Info? JoinField says it is available at any license level, so not even sure why that would be an issue. Have you tried it on different data?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Licensing issues are generally best handled by Esri support, I'm just grasping at straws.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 12:36:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-with-joinfield-geoprocessing-tool/m-p/351818#M27578</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2012-05-09T12:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error with JoinField geoprocessing tool</title>
      <link>https://community.esri.com/t5/python-questions/error-with-joinfield-geoprocessing-tool/m-p/351819#M27579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using an ArcGIS 10.0 demo license with an ArcEditor license level on XP SP3.&amp;nbsp; I tried running the JoinField_management tool with different data in the Python window and got the same result.&amp;nbsp; I am able to join tables in ArcMap in the usual way&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with no problems.&amp;nbsp; Other geoprocessing tools work in the Python window and in scripts with no problems.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 17:15:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-with-joinfield-geoprocessing-tool/m-p/351819#M27579</guid>
      <dc:creator>EricCharlton</dc:creator>
      <dc:date>2012-05-09T17:15:06Z</dc:date>
    </item>
  </channel>
</rss>

