<?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: ARCMAP 10.5 Python Script Error in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/arcmap-10-5-python-script-error/m-p/637843#M4313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use...&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2016/08/14/script-formatting"&gt;/blogs/dan_patterson/2016/08/14/script-formatting&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and post the code here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jan 2020 13:31:05 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2020-01-16T13:31:05Z</dc:date>
    <item>
      <title>ARCMAP 10.5 Python Script Error</title>
      <link>https://community.esri.com/t5/developers-questions/arcmap-10-5-python-script-error/m-p/637842#M4312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;I have successfully created the following code which is running fine on my system (Arcmap 10.5)&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fonlinegdb.com%2FSkvkqiWeU" rel="nofollow" style="color: #287433; border: 0px; font-weight: inherit; text-decoration: none; font-size: 14px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://onlinegdb.com/SkvkqiWeU&lt;/A&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;This code is running fine on my system but giving following error on some other system,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Executing: script "G:\image\s.img" "G:\river_splitted" "G:\output"&lt;BR /&gt;Start Time: Tue Jan 07 09:40:43 2020&lt;BR /&gt;Running script script...&lt;BR /&gt;Failed script script...&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Traceback (most recent call last):&lt;BR /&gt;File "E:\script.py", line 53, in &amp;lt;module&amp;gt;&lt;BR /&gt;arcpy.gp.ExtractMultiValuesToPoints_sa(point_feature, DEM + " elevation", "NONE")&lt;BR /&gt;File "c:\program files (x86)\arcgis\desktop10.5\arcpy\arcpy\geoprocessing\_base.py", line 510, 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;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Failed to execute (script).&lt;BR /&gt;Failed at Tue Jan 07 09:40:45 2020 (Elapsed Time: 2.11 seconds)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 07:50:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcmap-10-5-python-script-error/m-p/637842#M4312</guid>
      <dc:creator>MudassarAli2</dc:creator>
      <dc:date>2020-01-16T07:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: ARCMAP 10.5 Python Script Error</title>
      <link>https://community.esri.com/t5/developers-questions/arcmap-10-5-python-script-error/m-p/637843#M4313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use...&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2016/08/14/script-formatting"&gt;/blogs/dan_patterson/2016/08/14/script-formatting&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and post the code here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 13:31:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcmap-10-5-python-script-error/m-p/637843#M4313</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-01-16T13:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: ARCMAP 10.5 Python Script Error</title>
      <link>https://community.esri.com/t5/developers-questions/arcmap-10-5-python-script-error/m-p/637844#M4314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no syntax highlighter option available in the text editor, I am using the google chrome. Thats why I have pasted the code on a link, you can check it out at&amp;nbsp;&lt;A class="link-titled" href="https://www.onlinegdb.com/SkvkqiWeU" title="https://www.onlinegdb.com/SkvkqiWeU"&gt;https://www.onlinegdb.com/SkvkqiWeU&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2020 07:24:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcmap-10-5-python-script-error/m-p/637844#M4314</guid>
      <dc:creator>MudassarAli2</dc:creator>
      <dc:date>2020-01-20T07:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: ARCMAP 10.5 Python Script Error</title>
      <link>https://community.esri.com/t5/developers-questions/arcmap-10-5-python-script-error/m-p/637845#M4315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;SC &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SearchCursor&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;min_elevation&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
field_name &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'MIN_elevation'&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; row &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; SC&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;                        
    value&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;row&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;getValue&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;field_name&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

    &lt;SPAN class="comment token"&gt;# Process: Raster Calculator&lt;/SPAN&gt;
rastercalc&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;sa&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Raster&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;constant_raster_&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;float&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;value&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍‍
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt; the rest&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;line 53 is the blank link, (line 5 above)&lt;/P&gt;&lt;P&gt;Copy your code and use the syntax highlighting in my link. since the row error number doesn't match&lt;/P&gt;&lt;P&gt;ExtractMultiValuesToPoints_sa&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:07:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcmap-10-5-python-script-error/m-p/637845#M4315</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-12T03:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: ARCMAP 10.5 Python Script Error</title>
      <link>https://community.esri.com/t5/developers-questions/arcmap-10-5-python-script-error/m-p/637846#M4316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition to Dan's thread, there are others explaining the use the syntax highlighter; it's a function of geonet, not your browser:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/docs/DOC-8691"&gt;Posting code with Syntax Highlighting on GeoNet&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/245173-error-999999-in-arcpy-after-arcgis-pro-crashes"&gt;https://community.esri.com/thread/245173-error-999999-in-arcpy-after-arcgis-pro-crashes&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2020 16:48:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcmap-10-5-python-script-error/m-p/637846#M4316</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-01-20T16:48:56Z</dc:date>
    </item>
  </channel>
</rss>

