<?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: Even simple scripts take 20+ mins to Publish? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/even-simple-scripts-take-20-mins-to-publish/m-p/1556350#M27453</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;, I believe this is a simple as a Geoprocessing tool script can be. How long does it take to Publish for you ?&lt;/P&gt;
&lt;P&gt;#MINIMAL SCRIPT&lt;/P&gt;
&lt;P&gt;import arcpy&lt;/P&gt;
&lt;P&gt;arcpy.AddMessage("Hello World !!!")&lt;/P&gt;</description>
    <pubDate>Thu, 07 Nov 2024 16:16:41 GMT</pubDate>
    <dc:creator>ChrisUnderwood</dc:creator>
    <dc:date>2024-11-07T16:16:41Z</dc:date>
    <item>
      <title>Even simple scripts take 20+ mins to Publish?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/even-simple-scripts-take-20-mins-to-publish/m-p/1556319#M27452</link>
      <description>&lt;P&gt;Any tips to speed up publishing?&amp;nbsp; I thought it was my 3,000 line script but now even ones under 100 lines take 20-45 minutes or more!&amp;nbsp; It is a decent size server and I am local to it.&amp;nbsp; Not copying any data or anything.&amp;nbsp; I know some of it is it repathing my vars - which I really, really wish we could turn that off!&amp;nbsp; It breaks up SQL queries, does not allow URLs to services for some odd reason, and creates other mayhem.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its just getting hard to get work done when every small change takes so long to publish.&lt;/P&gt;&lt;P&gt;Pro 3.1 and Server 11.3.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 15:56:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/even-simple-scripts-take-20-mins-to-publish/m-p/1556319#M27452</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-11-07T15:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Even simple scripts take 20+ mins to Publish?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/even-simple-scripts-take-20-mins-to-publish/m-p/1556350#M27453</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;, I believe this is a simple as a Geoprocessing tool script can be. How long does it take to Publish for you ?&lt;/P&gt;
&lt;P&gt;#MINIMAL SCRIPT&lt;/P&gt;
&lt;P&gt;import arcpy&lt;/P&gt;
&lt;P&gt;arcpy.AddMessage("Hello World !!!")&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 16:16:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/even-simple-scripts-take-20-mins-to-publish/m-p/1556350#M27453</guid>
      <dc:creator>ChrisUnderwood</dc:creator>
      <dc:date>2024-11-07T16:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Even simple scripts take 20+ mins to Publish?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/even-simple-scripts-take-20-mins-to-publish/m-p/1558026#M27462</link>
      <description>&lt;P&gt;Finally got to test this simple script above and it published quickly &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/159762"&gt;@ChrisUnderwood&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;So why is it taking 20 mins to an hour then?&amp;nbsp; Is it all the repathing?&amp;nbsp; (Is their anyway to turn it off it has not worked correctly for years now).&amp;nbsp; Even is that is it no way it should take that long on 100 lines of code.&lt;/P&gt;&lt;P&gt;It is not even editing the server file for that 20 mins so it does seem stuck on the repathing part.&lt;/P&gt;&lt;P&gt;It is repathing some weird stuff that are just layers in memory.&lt;/P&gt;&lt;P&gt;g_ESRI_variable_1 = '\\\\netparh\\T_AllIndicators.crf'&lt;BR /&gt;g_ESRI_variable_2 = '\\\\netpath\\Rastermap.aprx'&lt;BR /&gt;g_ESRI_variable_3 = 'yearsRaster'&lt;BR /&gt;g_ESRI_variable_4 = 'TrendRaster_pval'&lt;BR /&gt;g_ESRI_variable_5 = 'TrendRaster_pval2'&lt;BR /&gt;g_ESRI_variable_6 = 'VALUE &amp;lt; 0.05'&lt;BR /&gt;g_ESRI_variable_7 = 'TrendRaster_sens'&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated.&amp;nbsp; 4 days of every little change taking this long is driving me nuts.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 15:21:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/even-simple-scripts-take-20-mins-to-publish/m-p/1558026#M27462</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-11-13T15:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Even simple scripts take 20+ mins to Publish?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/even-simple-scripts-take-20-mins-to-publish/m-p/1560308#M27466</link>
      <description>&lt;P&gt;I got access to edit on the server now.&amp;nbsp; If I comment out the code and publish it takes less than a minute.&amp;nbsp; Then I go in and uncomment out the script server side.&amp;nbsp; This is a trick we have had to use for years now.&amp;nbsp; Something is wrong with the repathing part of publishing.&amp;nbsp; Still 20+ minutes each time.&amp;nbsp; Overwrite fails every other time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What would cause such a lag?&amp;nbsp; I can send script if needed.&amp;nbsp;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/159762"&gt;@ChrisUnderwood&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 16:39:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/even-simple-scripts-take-20-mins-to-publish/m-p/1560308#M27466</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-11-19T16:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Even simple scripts take 20+ mins to Publish?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/even-simple-scripts-take-20-mins-to-publish/m-p/1560632#M27467</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;, sorry I don't know why that would be so slow. But I think we have clarified the question enough for you to now open a support case for a more detailed investigation.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 09:06:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/even-simple-scripts-take-20-mins-to-publish/m-p/1560632#M27467</guid>
      <dc:creator>ChrisUnderwood</dc:creator>
      <dc:date>2024-11-20T09:06:21Z</dc:date>
    </item>
  </channel>
</rss>

