<?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: Spatial Analyst error in script tool with &amp;quot;Run Python script in process&amp;quot; unchecke in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/spatial-analyst-error-in-script-tool-with-amp-quot/m-p/590363#M46290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all, I know it is an old thread, but might be useful anyway. After spending a whole afternoon checking my script I found out there was a very simple answer, error 000714 was not a script error, but a file extension issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After finishing your script, be sure to save it with .py extension, then your tool in arcgis will work fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope it helps!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Apr 2013 09:05:53 GMT</pubDate>
    <dc:creator>dariomasante</dc:creator>
    <dc:date>2013-04-23T09:05:53Z</dc:date>
    <item>
      <title>Spatial Analyst error in script tool with &amp;quot;Run Python script in process&amp;quot; unchecked</title>
      <link>https://community.esri.com/t5/python-questions/spatial-analyst-error-in-script-tool-with-amp-quot/m-p/590361#M46288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Has anyone had errors with spatial analyst functions in script tools that have the property "Run Python script in process" &lt;/SPAN&gt;&lt;STRONG&gt;unchecked&lt;/STRONG&gt;&lt;SPAN&gt;?&amp;nbsp; I have a script which I've stripped down to a few simple lines.&amp;nbsp; The spatial analyst function I'm running is arcpy.sa.Reclassify.&amp;nbsp; (I've also tried ReclassByAscii and IsNull).&amp;nbsp; The script tool works fine when "Run Python script in process" is checked.&amp;nbsp; However, when it is unchecked the tool crashes.&amp;nbsp; The strange thing is when I have the statement in a python try/except statement the script tool just hangs and never crashes.&amp;nbsp; When I remove the try/except statement it just crashes with a generic ERROR 000714 error but no geoprocessing or traceback messages.&amp;nbsp; When I run the script outside of ArcGIS it works fine.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to run a multiprocessing script from a script tool which is why I need to uncheck "Run Python script in process".&amp;nbsp; I'm using ArcGIS 10.0.&amp;nbsp; Is this a bug?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 19:52:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-analyst-error-in-script-tool-with-amp-quot/m-p/590361#M46288</guid>
      <dc:creator>NilsBabel</dc:creator>
      <dc:date>2012-10-26T19:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Analyst error in script tool with "Run Python script in process" unchecke</title>
      <link>https://community.esri.com/t5/python-questions/spatial-analyst-error-in-script-tool-with-amp-quot/m-p/590362#M46289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just tried this script in ArcGIS 10.1 and it doesn't work at all with "Run Python script in process" unchecked.&amp;nbsp; I just created a very simple script to test it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy
arcpy.AddMessage("Hello World")&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Works fine with the check box checked.&amp;nbsp; Throws an error when the box is unchecked.&amp;nbsp; Am I the only one that has ever unchecked this option?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:21:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-analyst-error-in-script-tool-with-amp-quot/m-p/590362#M46289</guid>
      <dc:creator>NilsBabel</dc:creator>
      <dc:date>2021-12-12T01:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Analyst error in script tool with "Run Python script in process" unchecke</title>
      <link>https://community.esri.com/t5/python-questions/spatial-analyst-error-in-script-tool-with-amp-quot/m-p/590363#M46290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all, I know it is an old thread, but might be useful anyway. After spending a whole afternoon checking my script I found out there was a very simple answer, error 000714 was not a script error, but a file extension issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After finishing your script, be sure to save it with .py extension, then your tool in arcgis will work fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope it helps!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 09:05:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/spatial-analyst-error-in-script-tool-with-amp-quot/m-p/590363#M46290</guid>
      <dc:creator>dariomasante</dc:creator>
      <dc:date>2013-04-23T09:05:53Z</dc:date>
    </item>
  </channel>
</rss>

