<?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: Python toolbox - tool connection is broken when open ArcGIS Pro in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/python-toolbox-tool-connection-is-broken-when-open/m-p/1077625#M5952</link>
    <description>&lt;P&gt;the curse of cut and paste from an old script...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jul 2021 22:54:52 GMT</pubDate>
    <dc:creator>Rakefet</dc:creator>
    <dc:date>2021-07-11T22:54:52Z</dc:date>
    <item>
      <title>Python toolbox - tool connection is broken when open ArcGIS Pro</title>
      <link>https://community.esri.com/t5/developers-questions/python-toolbox-tool-connection-is-broken-when-open/m-p/1077495#M5939</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I created a Python toolbox with multiple tools and connect it to my project. When I save my project and open it again, the toolbox is shown in the catalog but when I click on it to see the tools , I am getting the broken connect symbol. I still can select edit and see my script but I can not use the tool because the connect is broken. If I right-click on the tool to see the properties, the connection is back. Any idea why this is happening? &amp;nbsp;&lt;BR /&gt;I am using ARcGIS pro 2.8. This bug is new. I used this toolbox a month ago with no problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank for any inputs&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jul 2021 11:53:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/python-toolbox-tool-connection-is-broken-when-open/m-p/1077495#M5939</guid>
      <dc:creator>Rakefet</dc:creator>
      <dc:date>2021-07-10T11:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Python toolbox - tool connection is broken when open ArcGIS Pro</title>
      <link>https://community.esri.com/t5/developers-questions/python-toolbox-tool-connection-is-broken-when-open/m-p/1077501#M5940</link>
      <description>&lt;P&gt;same project? same toolbox pre and post update?&lt;/P&gt;&lt;P&gt;location of the toolbox relative to the location of the aprx?&lt;/P&gt;&lt;P&gt;spaces or other unsafe characters in the path or toolbox name?&lt;/P&gt;&lt;P&gt;I just checked all mine with no issue at all&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jul 2021 15:46:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/python-toolbox-tool-connection-is-broken-when-open/m-p/1077501#M5940</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-07-10T15:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Python toolbox - tool connection is broken when open ArcGIS Pro</title>
      <link>https://community.esri.com/t5/developers-questions/python-toolbox-tool-connection-is-broken-when-open/m-p/1077506#M5941</link>
      <description>&lt;P&gt;Thanks for the quick respond.&lt;/P&gt;&lt;P&gt;Same project and same toolbox. Maybe updated it a little. The pyt file is in a different folder than the aprx.&amp;nbsp; For demonstration,&amp;nbsp; I just created a test.pyt file with mytest tool, saved the project and opened it again:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.JPG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/18159i21DE1B6590AC6BE4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture1.JPG" alt="Capture1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;after right click and refreshing test.pyt,&amp;nbsp; I am getting the connection back:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.JPG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/18160iA7EA637584681800/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture2.JPG" alt="Capture2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Sat, 10 Jul 2021 16:06:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/python-toolbox-tool-connection-is-broken-when-open/m-p/1077506#M5941</guid>
      <dc:creator>Rakefet</dc:creator>
      <dc:date>2021-07-10T16:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Python toolbox - tool connection is broken when open ArcGIS Pro</title>
      <link>https://community.esri.com/t5/developers-questions/python-toolbox-tool-connection-is-broken-when-open/m-p/1077510#M5942</link>
      <description>&lt;P&gt;no wonder.... you were trying to put a toolbox in a custom toolbox&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/geoprocessing_and_python/a-quick-tour-of-python-toolboxes.htm" target="_blank"&gt;What is a Python toolbox?—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;don't... when you make a python toolbox, you just add it to the project&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jul 2021 18:07:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/python-toolbox-tool-connection-is-broken-when-open/m-p/1077510#M5942</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-07-10T18:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Python toolbox - tool connection is broken when open ArcGIS Pro</title>
      <link>https://community.esri.com/t5/developers-questions/python-toolbox-tool-connection-is-broken-when-open/m-p/1077579#M5950</link>
      <description>&lt;P&gt;Thanks. I added the tool to the project and it still did not work. What did the trick was deleting the line code:&amp;nbsp; map = aprx.activeMap&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jul 2021 15:33:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/python-toolbox-tool-connection-is-broken-when-open/m-p/1077579#M5950</guid>
      <dc:creator>Rakefet</dc:creator>
      <dc:date>2021-07-11T15:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Python toolbox - tool connection is broken when open ArcGIS Pro</title>
      <link>https://community.esri.com/t5/developers-questions/python-toolbox-tool-connection-is-broken-when-open/m-p/1077586#M5951</link>
      <description>&lt;P&gt;I guess showing the code would have been useful too &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jul 2021 16:24:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/python-toolbox-tool-connection-is-broken-when-open/m-p/1077586#M5951</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-07-11T16:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Python toolbox - tool connection is broken when open ArcGIS Pro</title>
      <link>https://community.esri.com/t5/developers-questions/python-toolbox-tool-connection-is-broken-when-open/m-p/1077625#M5952</link>
      <description>&lt;P&gt;the curse of cut and paste from an old script...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jul 2021 22:54:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/python-toolbox-tool-connection-is-broken-when-open/m-p/1077625#M5952</guid>
      <dc:creator>Rakefet</dc:creator>
      <dc:date>2021-07-11T22:54:52Z</dc:date>
    </item>
  </channel>
</rss>

