<?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 Intermittent errors on saving rasters in a GP service in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/intermittent-errors-on-saving-rasters-in-a-gp/m-p/81340#M3183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been having a lot of trouble saving rasters in a GP service. Sometimes it works, sometimes I get&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;"" does not exist&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;and sometimes I get&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;ERROR 010240: Could not save raster dataset to d:\arcgisserver\directories\arcgisjobs\lfp\lfp01setup_gpserver\jd73a1783fecb41ce8db2b93fe93a2ac5\scratch\scratch.gdb\Plei_ZforCDF with output format FGDBR.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;The errors are not consistent though. I've been adding lots of arcpy.AddMessage and arcpy.ListRasters statements between the lines of my script and slowing it down seems to help, so maybe&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.5;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.5;"&gt;it's some kind of race condition&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.5;"&gt;. The destination gdb definitely exists and does not already contain a raster with that name, so what could be the problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.5;"&gt;cc &lt;A href="https://community.esri.com/space/2030" target="_blank"&gt;Developers&lt;/A&gt;​ &lt;A href="https://community.esri.com/space/2087" target="_blank"&gt;Geoprocessing&lt;/A&gt;​&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.5;"&gt;UPDATE:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.5;"&gt;I'm also getting&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;Could not service request.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.5;"&gt;but only when I run through the script without any extra messages. If I add&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; desc = arcpy.Describe(ds)
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage('%s path = %s' % (desc.name, desc.catalogPath))&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;between some of the saves, the script completes without error (there are 14 rasters in all, it's always the 10th one that fails).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could it be the case that server can only cope with saving so many datasets at once?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 23:06:50 GMT</pubDate>
    <dc:creator>JonMorris2</dc:creator>
    <dc:date>2021-12-10T23:06:50Z</dc:date>
    <item>
      <title>Intermittent errors on saving rasters in a GP service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/intermittent-errors-on-saving-rasters-in-a-gp/m-p/81340#M3183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been having a lot of trouble saving rasters in a GP service. Sometimes it works, sometimes I get&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;"" does not exist&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;and sometimes I get&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;ERROR 010240: Could not save raster dataset to d:\arcgisserver\directories\arcgisjobs\lfp\lfp01setup_gpserver\jd73a1783fecb41ce8db2b93fe93a2ac5\scratch\scratch.gdb\Plei_ZforCDF with output format FGDBR.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;The errors are not consistent though. I've been adding lots of arcpy.AddMessage and arcpy.ListRasters statements between the lines of my script and slowing it down seems to help, so maybe&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.5;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.5;"&gt;it's some kind of race condition&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.5;"&gt;. The destination gdb definitely exists and does not already contain a raster with that name, so what could be the problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.5;"&gt;cc &lt;A href="https://community.esri.com/space/2030" target="_blank"&gt;Developers&lt;/A&gt;​ &lt;A href="https://community.esri.com/space/2087" target="_blank"&gt;Geoprocessing&lt;/A&gt;​&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.5;"&gt;UPDATE:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.5;"&gt;I'm also getting&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;Could not service request.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.5;"&gt;but only when I run through the script without any extra messages. If I add&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; desc = arcpy.Describe(ds)
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.AddMessage('%s path = %s' % (desc.name, desc.catalogPath))&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;between some of the saves, the script completes without error (there are 14 rasters in all, it's always the 10th one that fails).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could it be the case that server can only cope with saving so many datasets at once?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:06:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/intermittent-errors-on-saving-rasters-in-a-gp/m-p/81340#M3183</guid>
      <dc:creator>JonMorris2</dc:creator>
      <dc:date>2021-12-10T23:06:50Z</dc:date>
    </item>
  </channel>
</rss>

