<?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 Custom Python Toolbox Crashes Pro on 2nd Run after upgrading to 3.5 in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1647655#M98689</link>
    <description>&lt;P&gt;I've recently upgraded Pro from 3.0.3 to 3.5.2, and several of my Custom Python Toolboxes will now crash Pro if I run them a second time in a row. The tool works as expected, if I close and reopen Pro before running it again, but this isn't an issue I had on 3.0.3.&lt;/P&gt;&lt;P&gt;My code and input data are unchanged.&lt;/P&gt;&lt;P&gt;I'm curious if anyone else has experienced this behavior or has any insight into what might be causing this.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 03 Sep 2025 15:40:41 GMT</pubDate>
    <dc:creator>KonradBostrom</dc:creator>
    <dc:date>2025-09-03T15:40:41Z</dc:date>
    <item>
      <title>Custom Python Toolbox Crashes Pro on 2nd Run after upgrading to 3.5</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1647655#M98689</link>
      <description>&lt;P&gt;I've recently upgraded Pro from 3.0.3 to 3.5.2, and several of my Custom Python Toolboxes will now crash Pro if I run them a second time in a row. The tool works as expected, if I close and reopen Pro before running it again, but this isn't an issue I had on 3.0.3.&lt;/P&gt;&lt;P&gt;My code and input data are unchanged.&lt;/P&gt;&lt;P&gt;I'm curious if anyone else has experienced this behavior or has any insight into what might be causing this.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 15:40:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1647655#M98689</guid>
      <dc:creator>KonradBostrom</dc:creator>
      <dc:date>2025-09-03T15:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Python Toolbox Crashes Pro on 2nd Run after upgrading to 3.5</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1647698#M98692</link>
      <description>&lt;P&gt;I wonder if the Python environment may need to be repaired?&amp;nbsp; You can learn more about this workflow here -&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/get-started/repair-an-environment.htm" target="_blank"&gt;Repair an environment—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 18:03:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1647698#M98692</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2025-09-03T18:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Python Toolbox Crashes Pro on 2nd Run after upgrading to 3.5</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1647720#M98695</link>
      <description>&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;Thanks for the suggestion! My environment manager doesn't show the 'Warning icon' for the environment, and I didn't have the option to repair it. I did try to run the toolbox twice with a new clone of the default python environment and had the same issue.&lt;/P&gt;&lt;P&gt;Any other suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 19:42:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1647720#M98695</guid>
      <dc:creator>KonradBostrom</dc:creator>
      <dc:date>2025-09-03T19:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Python Toolbox Crashes Pro on 2nd Run after upgrading to 3.5</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1647729#M98696</link>
      <description>&lt;P&gt;Well at least we know it's not a bad environment.&amp;nbsp; Another thing to try is to create a new Python in a new Project.&amp;nbsp; Add the old Python toolbox to the new project and copy and paste the original tool to the new toolbox.&amp;nbsp; Run the tool again.&amp;nbsp; Does ArcGIS Pro still crash?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2025 20:20:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1647729#M98696</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2025-09-03T20:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Python Toolbox Crashes Pro on 2nd Run after upgrading to 3.5</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1658385#M99586</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I'm having the same Problem: First run works, the second crashes PRO. After I reopen the project it works again for one time then crashes again.&lt;/P&gt;&lt;P&gt;Tried with different projects and Data, always crashes on the second run.&lt;BR /&gt;Tested the code again with PRO Version 3.3 and it runs several times without crashing.&lt;BR /&gt;&lt;BR /&gt;There's a bug-report (&lt;A href="https://support.esri.com/en-us/bug/arcgis-pro-crashes-when-running-a-custom-tool-in-arcgis-bug-000176923" target="_self"&gt;&lt;SPAN&gt;BUG-000176923&lt;/SPAN&gt;&lt;/A&gt;) on that issue, with what I can only assume is a joke as a workaround ("&lt;SPAN&gt;Use ArcGIS Pro 3.3, where the tool completes successfully.&lt;/SPAN&gt;&lt;SPAN&gt;").&lt;BR /&gt;&lt;/SPAN&gt;It specifies Windows 10 as OS, but PRO also crashes on my Windows 11 machine.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 07:16:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1658385#M99586</guid>
      <dc:creator>Chris_Ste</dc:creator>
      <dc:date>2025-10-17T07:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Python Toolbox Crashes Pro on 2nd Run after upgrading to 3.5</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1669817#M100522</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;Have you found a solution for this? I haven't had any luck personally.&lt;/P&gt;&lt;P&gt;Best, Konrad&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 18:56:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1669817#M100522</guid>
      <dc:creator>KonradBostrom</dc:creator>
      <dc:date>2025-12-02T18:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Python Toolbox Crashes Pro on 2nd Run after upgrading to 3.5</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1669875#M100530</link>
      <description>&lt;P&gt;In reviewing the&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;BUG-000176923&lt;/SPAN&gt;&lt;/STRONG&gt; report, it does say it's currently under review.&amp;nbsp; Hopefully it is fixed at ArcGIS Pro 3.7!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 20:41:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1669875#M100530</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2025-12-02T20:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Python Toolbox Crashes Pro on 2nd Run after upgrading to 3.5</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1673829#M100894</link>
      <description>&lt;P&gt;I have a script that reads a shapefile into a geodataframe, it always crashes the second time it is ran as of upgrading to 3.6 (from 3.5).&lt;/P&gt;&lt;P&gt;If I run the script it works the first time, if I run it again it crashes.&lt;BR /&gt;If I run the script it works, if I then make any changes to the script code and save, I can run it a second time with no crash. Is it not properly clearing the kernel or something?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 00:55:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1673829#M100894</guid>
      <dc:creator>DFarming</dc:creator>
      <dc:date>2025-12-18T00:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Python Toolbox Crashes Pro on 2nd Run after upgrading to 3.5</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1697577#M102873</link>
      <description>&lt;P&gt;There has been an update on&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;BUG-000176923.&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;It seems to not be reproducible.&lt;BR /&gt;I did some testing and it might have something to do with modules imported within the toolbox. We use an environment that has several modules more than the base-env. When we use toolboxes with that environment that only uses modules found in the base-env, it seems to work. As soon as we use toolboxes that use e.g. geopandas and/or psycopg2 the tool crashes on the second run.&lt;BR /&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/90679"&gt;@DFarming&lt;/a&gt;&amp;nbsp;seems like geopandas could be the culprit, as it crashes on a geodataframe&lt;BR /&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/531398"&gt;@KonradBostrom&lt;/a&gt;&amp;nbsp;is geopandas also imported in the toolboxes that crash your PRO-instances? This would second my&amp;nbsp;suspicion on geopandas&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 06:18:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1697577#M102873</guid>
      <dc:creator>Chris_Ste</dc:creator>
      <dc:date>2026-04-22T06:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Python Toolbox Crashes Pro on 2nd Run after upgrading to 3.5</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1698795#M102962</link>
      <description>&lt;P&gt;Chris, that's an interesting observation. I do use several opensource GIS libraries in my tool. I might rewrite it to only use base modules and see if that fixes it. Thanks for mentioning.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2026 17:45:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1698795#M102962</guid>
      <dc:creator>KonradBostrom</dc:creator>
      <dc:date>2026-04-28T17:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Python Toolbox Crashes Pro on 2nd Run after upgrading to 3.5</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1698863#M102974</link>
      <description>&lt;P&gt;Rewriting my toolbox and removing all opensource / non-default modules stopped it from crashing on rerun.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2026 21:18:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1698863#M102974</guid>
      <dc:creator>KonradBostrom</dc:creator>
      <dc:date>2026-04-28T21:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Python Toolbox Crashes Pro on 2nd Run after upgrading to 3.5</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1698959#M102975</link>
      <description>&lt;P&gt;Glad this solved the issue.&lt;BR /&gt;Unfortunately rewriting all toolboxes within our company is no viable option.&lt;BR /&gt;On further research I found another BUG that also mentions geopandas:&amp;nbsp;&lt;A href="https://support.esri.com/de-de/bug/arcgis-pro-30-crashes-when-loading-a-python-analysis-to-bug-000151279" target="_blank"&gt;BUG-000151279 for ArcGIS Pro&lt;/A&gt;&lt;BR /&gt;Maybe&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2538"&gt;@Robert_LeClair&lt;/a&gt;&amp;nbsp;can forward that information, so the issue might be fixed in 3.7 or any following patches/hotfixes.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2026 08:44:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1698959#M102975</guid>
      <dc:creator>Chris_Ste</dc:creator>
      <dc:date>2026-04-29T08:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Python Toolbox Crashes Pro on 2nd Run after upgrading to 3.5</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1699198#M102987</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/129401"&gt;@KoryKramer&lt;/a&gt;&amp;nbsp;- does the ArcGIS Pro Dev Team know about this item/issue?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2026 21:57:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/custom-python-toolbox-crashes-pro-on-2nd-run-after/m-p/1699198#M102987</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2026-04-29T21:57:07Z</dc:date>
    </item>
  </channel>
</rss>

