<?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: RuntimeError: Object: Error in executing tool in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/runtimeerror-object-error-in-executing-tool/m-p/4080#M363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As soon as I uninstalled those modules everything started working. Much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Oct 2019 16:10:09 GMT</pubDate>
    <dc:creator>TonyDaSilva1</dc:creator>
    <dc:date>2019-10-25T16:10:09Z</dc:date>
    <item>
      <title>RuntimeError: Object: Error in executing tool</title>
      <link>https://community.esri.com/t5/python-questions/runtimeerror-object-error-in-executing-tool/m-p/4075#M358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ran the Clip Raster tool in ArcGIS Pro and then I tested running it directly from the 'copy python command'&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #eeffff; background-color: #252526; font-weight: normal; font-size: 14px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #eeffff;"&gt;arcpy&lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #eeffff;"&gt;management&lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #82aaff;"&gt;Clip&lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #c792ea;"&gt;r&lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;"E:\\Data\\LiDAR.gdb\\cdem_regional_dem"&lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #82aaff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #c3e88d;"&gt;32852.3960004291 5546820.25821128 117295.398192037 5609499.40718372&lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #82aaff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #c792ea;"&gt;r&lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;"E:\\Data\\Output.gdb\DEM_Extent"&lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #82aaff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #c792ea;"&gt;r&lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;"E:\\Data\\BaseData.gdb\\processing_area"&lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #82aaff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #c3e88d;"&gt;32767&lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #82aaff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #c3e88d;"&gt;ClippingGeometry&lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #82aaff;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #c3e88d;"&gt;NO_MAINTAIN_EXTENT&lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #89ddff;"&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;ArcGIS Pro worked but running it from the python interpreter directly always yields the following error.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;RuntimeError: Object: Error in executing tool&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Running the command from within ArcGIS Pro Works, but running it outside of ArcGIS Pro is throwing an error. There is not really anything in the Python Environment that should be creating a difference. I write and run Python fairly often and&amp;nbsp;nothing has changed recently. So I cant figure out why this is happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Heres the full output from the command line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;arcpy.management.Clip(r"E:\\Data\\LiDAR.gdb\\cdem_regional_dem", "32852.3960004291 5546820.25821128 117295.398192037 5609499.40718372", r"E:\\Data\\Output.gdb\DEM_Extent", r"E:\\Data\\BaseData.gdb\\processing_area", "32767", "ClippingGeometry", "NO_MAINTAIN_EXTENT")&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt; File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 16854, in Clip&lt;BR /&gt; raise e&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 16851, in Clip&lt;BR /&gt; retval = convertArcObjectToPythonObject(gp.Clip_management(*gp_fixargs((in_raster, rectangle, out_raster, in_template_dataset, nodata_value, clipping_geometry, maintain_clipping_extent), True)))&lt;BR /&gt; File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 506, in &amp;lt;lambda&amp;gt;&lt;BR /&gt; return lambda *args: val(*gp_fixargs(args, True))&lt;BR /&gt;RuntimeError: Object: Error in executing tool&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2019 20:50:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/runtimeerror-object-error-in-executing-tool/m-p/4075#M358</guid>
      <dc:creator>TonyDaSilva1</dc:creator>
      <dc:date>2019-07-26T20:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: Object: Error in executing tool</title>
      <link>https://community.esri.com/t5/python-questions/runtimeerror-object-error-in-executing-tool/m-p/4076#M359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are experiencing the same exact problem on some workstations. arcpy tools fail in IDLE with that error but work fine in Pro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2019 19:40:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/runtimeerror-object-error-in-executing-tool/m-p/4076#M359</guid>
      <dc:creator>MikePianka</dc:creator>
      <dc:date>2019-09-05T19:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: Object: Error in executing tool</title>
      <link>https://community.esri.com/t5/python-questions/runtimeerror-object-error-in-executing-tool/m-p/4077#M360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been working through the 'update real-time data' example on :&lt;A class="link-titled" href="https://learn.arcgis.com/en/projects/update-real-time-data-with-python/" title="https://learn.arcgis.com/en/projects/update-real-time-data-with-python/"&gt;Update Real-Time Data with Python | Learn ArcGIS&lt;/A&gt; and have run into the same problem. &lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt; The first tool the script accesses is &lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;arcpy.management.CreateFileGDB &lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;and that gives a runtime error "&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;RuntimeError: Object: Error in executing tool" but it works within ArcGIS Pro.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Initially I thought it was something to do with my setup as I've had problems with ArcGIS Pro licensing, so it is good to know I'm not alone.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2019 23:25:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/runtimeerror-object-error-in-executing-tool/m-p/4077#M360</guid>
      <dc:creator>ColinConstance</dc:creator>
      <dc:date>2019-09-18T23:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: Object: Error in executing tool</title>
      <link>https://community.esri.com/t5/python-questions/runtimeerror-object-error-in-executing-tool/m-p/4078#M361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even with a fresh install, the problem still persists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcpy 2.7 does works however.&lt;BR /&gt;&lt;BR /&gt;I am curious, do anyof you have other programs installed (AutoCAD, Visual Studio, MondgoDB, etc) I am starting to think that there is a seperate program entirely that is causing the problem, but I don't want to start uninstalling everything&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2019 17:37:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/runtimeerror-object-error-in-executing-tool/m-p/4078#M361</guid>
      <dc:creator>TonyDaSilva1</dc:creator>
      <dc:date>2019-10-24T17:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: Object: Error in executing tool</title>
      <link>https://community.esri.com/t5/python-questions/runtimeerror-object-error-in-executing-tool/m-p/4079#M362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We nailed down the issue as a conflict between AutoCAD’s River and Flood module with ArcGIS Pro. After uninstalling that AutoCAD module we no longer have this issue on our workstations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2019 14:40:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/runtimeerror-object-error-in-executing-tool/m-p/4079#M362</guid>
      <dc:creator>MikePianka</dc:creator>
      <dc:date>2019-10-25T14:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: Object: Error in executing tool</title>
      <link>https://community.esri.com/t5/python-questions/runtimeerror-object-error-in-executing-tool/m-p/4080#M363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As soon as I uninstalled those modules everything started working. Much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2019 16:10:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/runtimeerror-object-error-in-executing-tool/m-p/4080#M363</guid>
      <dc:creator>TonyDaSilva1</dc:creator>
      <dc:date>2019-10-25T16:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: Object: Error in executing tool</title>
      <link>https://community.esri.com/t5/python-questions/runtimeerror-object-error-in-executing-tool/m-p/4081#M364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much Mike!&amp;nbsp; I have been struggling with this issue off and on for months.&amp;nbsp; I didn't even know I had the 'AutoCAD River and Flood module' installed...but remoing it fixed my issue!&amp;nbsp; I came across several other arcpy modules that were affected..things like Rename etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did you track the issue back to the River and Flood module?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2019 20:47:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/runtimeerror-object-error-in-executing-tool/m-p/4081#M364</guid>
      <dc:creator>IanGrasshoff1</dc:creator>
      <dc:date>2019-12-30T20:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: Object: Error in executing tool</title>
      <link>https://community.esri.com/t5/python-questions/runtimeerror-object-error-in-executing-tool/m-p/1053634#M60981</link>
      <description>&lt;P&gt;Hi Mike, I am having the exact issue as the others, with my RuntmeError, how do I uninstall the AutoCAD module? Will that screw anything else up? I'm trying to use UpdateCursors for tables in ArcPro, I'm also using PyCharm as my IDE I don't know if that's part of the problem? This is my error:&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\IPython\core\interactiveshell.py", line 3331, in run_code&lt;BR /&gt;exec(code_obj, self.user_global_ns, self.user_ns)&lt;BR /&gt;File "&amp;lt;ipython-input-2-2ed560f24b57&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;runfile('C:/Users/ocean/geog562/Twitchell_Addfields.py', wdir='C:/Users/ocean/geog562')&lt;BR /&gt;File "C:\Users\ocean\Desktop\PyCharm Community Edition 2020.3.5\plugins\python-ce\helpers\pydev\_pydev_bundle\pydev_umd.py", line 197, in runfile&lt;BR /&gt;pydev_imports.execfile(filename, global_vars, local_vars) # execute the script&lt;BR /&gt;File "C:\Users\ocean\Desktop\PyCharm Community Edition 2020.3.5\plugins\python-ce\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile&lt;BR /&gt;exec(compile(contents+"\n", file, 'exec'), glob, loc)&lt;BR /&gt;File "C:/Users/ocean/geog562/Twitchell_Addfields.py", line 11, in &amp;lt;module&amp;gt;&lt;BR /&gt;arcpy.AddField_management('huc4', ["Area" , 'DOUBLE'])&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 4337, in AddField&lt;BR /&gt;raise e&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\management.py", line 4334, in AddField&lt;BR /&gt;retval = convertArcObjectToPythonObject(gp.AddField_management(*gp_fixargs((in_table, field_name, field_type, field_precision, field_scale, field_length, field_alias, field_is_nullable, field_is_required, field_domain), True)))&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 511, in &amp;lt;lambda&amp;gt;&lt;BR /&gt;return lambda *args: val(*gp_fixargs(args, True))&lt;BR /&gt;RuntimeError: Object: Error in executing tool&lt;/P&gt;</description>
      <pubDate>Sun, 02 May 2021 20:45:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/runtimeerror-object-error-in-executing-tool/m-p/1053634#M60981</guid>
      <dc:creator>MandyTwitchell</dc:creator>
      <dc:date>2021-05-02T20:45:42Z</dc:date>
    </item>
  </channel>
</rss>

