<?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 Python Script in Model Builder - Successful, but reports failure! in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/python-script-in-model-builder-successful-but/m-p/481201#M16155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is a repost from the Python forum:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a python script being initiated within model builder. It takes input and output parameters from modelbuilder and runs a series of raster analysis functions. It creates the layers, reports back to modelbuilder, says it completed successfully, but then finishes with the typical "Failed to execute" message. I have confirmed thelayers are created and contain expected results, but the model doesn't reflect success - ie, no drop shadows on the tool and outputs. These outputs need to hook into a following function, but it won't initiate because of the perceived failure...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I could post the code and such, but really I think this is something simple or a known issue that somebody must know about! Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matthew&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Feb 2012 06:37:11 GMT</pubDate>
    <dc:creator>MatthewBarlow</dc:creator>
    <dc:date>2012-02-18T06:37:11Z</dc:date>
    <item>
      <title>Python Script in Model Builder - Successful, but reports failure!</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-script-in-model-builder-successful-but/m-p/481201#M16155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is a repost from the Python forum:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a python script being initiated within model builder. It takes input and output parameters from modelbuilder and runs a series of raster analysis functions. It creates the layers, reports back to modelbuilder, says it completed successfully, but then finishes with the typical "Failed to execute" message. I have confirmed thelayers are created and contain expected results, but the model doesn't reflect success - ie, no drop shadows on the tool and outputs. These outputs need to hook into a following function, but it won't initiate because of the perceived failure...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I could post the code and such, but really I think this is something simple or a known issue that somebody must know about! Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matthew&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Feb 2012 06:37:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-script-in-model-builder-successful-but/m-p/481201#M16155</guid>
      <dc:creator>MatthewBarlow</dc:creator>
      <dc:date>2012-02-18T06:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script in Model Builder - Successful, but reports failure!</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/python-script-in-model-builder-successful-but/m-p/481202#M16156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are any of the Python tools using AddError() to put messages in the message box? Once a Python tool calls AddError(), the geoprocessor assumes that script failed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 19:19:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/python-script-in-model-builder-successful-but/m-p/481202#M16156</guid>
      <dc:creator>JasonScheirer</dc:creator>
      <dc:date>2012-02-20T19:19:49Z</dc:date>
    </item>
  </channel>
</rss>

