<?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 030024: Solve returned a failure. in ArcGIS Network Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-network-analyst-questions/error-030024-solve-returned-a-failure/m-p/174984#M1801</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Python version I suspect&lt;/P&gt;&lt;P&gt;&lt;A href="http://gis.stackexchange.com/questions/21376/network-analyst-arcpys-solve-running-out-of-memory" title="http://gis.stackexchange.com/questions/21376/network-analyst-arcpys-solve-running-out-of-memory"&gt;arcgis 10.0 - Network Analyst: arcpy's 'Solve' running out of memory - Geographic Information Systems Stack Exchange&lt;/A&gt; &lt;/P&gt;&lt;P&gt;and the link therein&lt;/P&gt;&lt;P&gt;&lt;A href="http://gisgeek.blogspot.ca/2012/01/set-32bit-executable-largeaddressaware.html" title="http://gisgeek.blogspot.ca/2012/01/set-32bit-executable-largeaddressaware.html"&gt;GIS Geek: Set 32bit Executable LARGEADDRESSAWARE Flag to True&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Check out PRO to see if the functionality is there should you wish to use a newer version of Python&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jul 2016 18:32:16 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2016-07-28T18:32:16Z</dc:date>
    <item>
      <title>ERROR 030024: Solve returned a failure.</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/error-030024-solve-returned-a-failure/m-p/174983#M1800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I solve for the nearest facility in python I get this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;An error occured on line 122&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;ERROR 030024: Solve returned a failure.&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;Failed to execute (Solve)&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt;The problem is I don’t have any info on why the solve failed.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;try:
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.Solve_na(naNearFacil, "SKIP", "TERMINATE", "")
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.RefreshActiveView()
except Exception as e:
&amp;nbsp;&amp;nbsp;&amp;nbsp; # If an error occurred, print line number and error message
&amp;nbsp;&amp;nbsp;&amp;nbsp; import traceback, sys
&amp;nbsp;&amp;nbsp;&amp;nbsp; tb = sys.exc_info()[2]
&amp;nbsp;&amp;nbsp;&amp;nbsp; print "An error occured on line %i" % tb.tb_lineno
&amp;nbsp;&amp;nbsp;&amp;nbsp; print str(e)
&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt;I only get the error if I am running the script via idle and it works fine as a python tool in the MXD.&amp;nbsp; It also works fine in idle if the input facility list is smaller.&amp;nbsp; So I guess it could be a memory issue.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; font-family: Helvetica, sans-serif;"&gt;Any ideas on what the problem is or at least how to get more info on why the solve failed.?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:01:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/error-030024-solve-returned-a-failure/m-p/174983#M1800</guid>
      <dc:creator>RustyRex</dc:creator>
      <dc:date>2021-12-11T09:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 030024: Solve returned a failure.</title>
      <link>https://community.esri.com/t5/arcgis-network-analyst-questions/error-030024-solve-returned-a-failure/m-p/174984#M1801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Python version I suspect&lt;/P&gt;&lt;P&gt;&lt;A href="http://gis.stackexchange.com/questions/21376/network-analyst-arcpys-solve-running-out-of-memory" title="http://gis.stackexchange.com/questions/21376/network-analyst-arcpys-solve-running-out-of-memory"&gt;arcgis 10.0 - Network Analyst: arcpy's 'Solve' running out of memory - Geographic Information Systems Stack Exchange&lt;/A&gt; &lt;/P&gt;&lt;P&gt;and the link therein&lt;/P&gt;&lt;P&gt;&lt;A href="http://gisgeek.blogspot.ca/2012/01/set-32bit-executable-largeaddressaware.html" title="http://gisgeek.blogspot.ca/2012/01/set-32bit-executable-largeaddressaware.html"&gt;GIS Geek: Set 32bit Executable LARGEADDRESSAWARE Flag to True&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Check out PRO to see if the functionality is there should you wish to use a newer version of Python&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 18:32:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-network-analyst-questions/error-030024-solve-returned-a-failure/m-p/174984#M1801</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-07-28T18:32:16Z</dc:date>
    </item>
  </channel>
</rss>

