<?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: Tip: Python Addin - getting custom tools/toolbox to work - GPToolDialog in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/tip-python-addins-getting-custom-tools-toolbox-to/m-p/347303#M27261</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, typo on my part. I used to set it within each onClick, but since all are from the same toolbox, I could set it up above. The "CheckAndFix" was specific to my tool..... You can set it in either place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will fix my code above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 18 Oct 2015 15:11:30 GMT</pubDate>
    <dc:creator>RebeccaStrauch__GISP</dc:creator>
    <dc:date>2015-10-18T15:11:30Z</dc:date>
    <item>
      <title>Tip: Python Addins - getting custom tools/toolbox to work - GPToolDialog error and other tips (9/7/2017)</title>
      <link>https://community.esri.com/t5/python-questions/tip-python-addins-getting-custom-tools-toolbox-to/m-p/347300#M27258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is an older post, but using it for a place to store my Python addin gotchas and fixes.&amp;nbsp; The date in title is last update.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: &lt;/STRONG&gt;Python &lt;STRONG&gt;Addins will not work with Pro&lt;/STRONG&gt;,&lt;STRONG&gt; &lt;/STRONG&gt;however the Tools in your Toolbox may, although may need some tweaking&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;9/7/2017&lt;/STRONG&gt; - note... the {..} folders are stored in C:\Users\&amp;lt;user&amp;gt;\AppData\Local\ESRI\&amp;lt;Desktop10.x&amp;gt;\AssemblyCache\&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;this is typically a hidden path and may require admin rights to access.&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt; Making note of this as I move to 10.5.x and may need to manually move the folders is the .addin doesn't work. Sometimes will not even on different versions.&amp;nbsp; &lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/analyze/python-addins/sharing-and-installing-add-ins.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/python-addins/sharing-and-installing-add-ins.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Sharing and installing add-ins—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Error message:&lt;/STRONG&gt; The "TypeError: GPToolDialog() takes at most 1 argument (2 given)" is a very misleading message and is a bug (NIM089253)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;My solution:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;This process helped me get rid of this message and was a simple was to add my custom python tool/toolbox to an addin button. [Update/comment...actually I think the error message still shows in the Python window, but it seems to be harmless]&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;This post assumes you have already run the wizard so some buttons are stubbed out and you are modifying the addin_addin.py (or YourProjectName_addin.py if you renamed it).&amp;nbsp; I'm assuming it will work with other classes, but I only tested it with toolbar-buttons.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;This also let me take advantage of the python tools that I already had working in my toolbox. One of the advantages of this is that any dialog box you already have associated with your tool on start-up (i.e. in the tools parameter tab) will still be in place.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Some of this info is scattered around the forums (but the online help is lacking right now), so I thought it may help to consolidate what worked for me, in case it helps others.&amp;nbsp; This is how I was able to get the GPToolDialog to work with my custom python tools/toolbox:&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;Copy your .tbx file into the addin wizards "Install" folder.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;Create a "scripts" folder in the same location&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;Copy all your .py script to this folder&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;Open the .tbx in the Install folder, make sure "relative path" is checked, and re-point all the tools to the new script location&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;the "import os" and the "relPath = " line seem to be the key....see sample code below&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; pythonaddins
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; os
relPath &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; os&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;path&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;dirname&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;__file__&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
toolPath &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; relPath &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;"\CheckAndFixLinks.tbx"&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;class&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;ButtonClass1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;object&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="string token"&gt;"""Implementation for YourProjectName_addin.button (Button)"""&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; &lt;SPAN class="keyword token"&gt;def&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;__init__&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;self&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; self&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;enabled &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token boolean"&gt;True&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; self&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;checked &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token boolean"&gt;False&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; &lt;SPAN class="keyword token"&gt;def&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;onClick&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;self&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string token"&gt;""" tool path could also be set here instead, if you would like&amp;nbsp;&amp;nbsp; """&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; pythonaddins&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;GPToolDialog&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;toolPath&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"ToolNameFromToolbox"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;/CODE&gt;&lt;/PRE&gt;&lt;DIV style="display: none;"&gt; &lt;/DIV&gt;&lt;P&gt;Updated 10/18/2015: modified lines 5 and 13 to remove some confusing info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TIP:&lt;/STRONG&gt; If you have any custom or special python modules you want to package with the addin, that is modules that are usually stored in C:\Python27\ArcGIS10.1\Lib (which you may import in your tools) but aren't part of the normal ArcGIS or Python install, if you place these in the scripts folder, that seems to work the best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;TIP/Warning&lt;/STRONG&gt;: Remember, &lt;EM&gt;if you open the project up in the wizard again&lt;/EM&gt;....which is sometimes necessary...and it tells you it is saving a backup _addin.py file, this backup contains the customization you did and the new file may be back to the defaults from the wizard.&amp;nbsp; You may need to open both files and copy any custom code back into the new file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This method seems to be the cleanest process I've found to do this, at least at version 10.1 (and the addin released April 2012).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anyone else have tips?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Tip - missing button images&lt;/STRONG&gt; (added 8/1/2017) - I've had addin's that were working fine and had the button images, then updated the button layout or other item in the config, and then received an error that the images were missing (when I know they are not).&amp;nbsp; This is a bit misleading, but chances are I messed up when I modified one (or more) of the following: the Toolbox, the config.xml or the &amp;lt;name&amp;gt;_addin.py file. What I check to get it to work: &lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;In the toolbox:&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Check to make sure the path to the .py associated with a Tool, is correct (in the Tool's property)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Config.xml &lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;for any syntax errors of missing&amp;nbsp;&amp;nbsp; &amp;lt; or &amp;gt;&amp;nbsp; etc.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Make sure the that every &amp;lt;Commands&amp;gt;&amp;lt;Button ...&amp;nbsp; id="name.button"&amp;gt;&amp;nbsp; has a matching &amp;lt;Toolbars&amp;gt;&amp;lt;Toolbar..&amp;gt;&amp;lt;Items&amp;gt;&amp;lt;Button refID="name.button"&amp;gt;&amp;nbsp;&amp;nbsp; They must match,&amp;nbsp; and it is helpful to read if int he same order.&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Check for typos&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&amp;lt;addin name&amp;gt;_addin.py&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;check for any syntax error&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;make sure that every &amp;lt;Commands&amp;gt;&amp;lt;Button ...&amp;nbsp; class="classname"&amp;gt;&amp;nbsp; in the config.xml file has a matching "class &amp;lt;classname&amp;gt;(object):&amp;nbsp; in the file&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;check for typos&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Tip -&amp;nbsp; &lt;/STRONG&gt;&lt;STRONG&gt;"Different versions" &lt;/STRONG&gt;(added 6/14/2016) - ran into this issue today &lt;A href="https://community.esri.com/thread/50490" target="_blank"&gt;Add-In Wizard unable to find matching ArcGIS installation on this machine&lt;/A&gt; because I have &lt;EM&gt;&lt;STRONG&gt;different ArcGIS versions&lt;/STRONG&gt;&lt;/EM&gt; on different machines.&amp;nbsp; Leaving the version at 10.2.2 allowed me to install on both 10.2.2 and 10.3 machines.&amp;nbsp; My additional comments on this thread.... &lt;A _jive_internal="true" href="https://community.esri.com/thread/50490#comment" title="https://community.esri.com/message/615036#comment-615036" target="_blank"&gt;https://community.esri.com/message/615036#comment-615036&lt;/A&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tip:&amp;nbsp; &lt;/STRONG&gt;(added 6/16/2016)&lt;STRONG&gt; &lt;SPAN style="color: #e23d39;"&gt;Having issues with getting the .addin to actually install or update in ArcCatalog/Map??&amp;nbsp; OR, updating often and don't want to have to close/reopen after updating?&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;In the ArcCatalog/Map (whichever the addin was created for),&amp;nbsp;&amp;nbsp; Customize-&amp;gt;Toolbars-&amp;gt;Customize-&amp;gt;Add-From-File&amp;nbsp; navigating to the location of the &amp;lt;addin&amp;gt;.esriaddin file and select that file.&amp;nbsp; After the normal confirmation page to "Install Add-In",&amp;nbsp; another window popped up that showed it adding the tools in my addin toolbox&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;A href="https://community.esri.com/legacyfs/online/207984_pastedImage_5.png" target="_blank"&gt;&lt;IMG __jive_id="207984" alt="" class="image-2 jive-image" height="149" src="https://community.esri.com/legacyfs/online/207984_pastedImage_5.png" width="205" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;To verify it worked, you can check to see if the update date has changed for the addin, you can go to the&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;C:\Users\&amp;lt;username&amp;gt;\AppData\Local\ESRI\&amp;lt;Desktop version&amp;gt;\AssemblyCache&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;folder.&amp;nbsp; You may need to 1) give windows explorer permission for you to view this folder, and 2) go into the {hashtag} folders to see which is the correct addin folder.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;Not having to close and reopen my Catalog/Map session to get this to update is really a time saver!&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;--&amp;gt;&lt;SPAN style="color: #2873ee;"&gt;Note&lt;/SPAN&gt; (added August 3, 2016) - this method will only work if updating the .py file.&amp;nbsp; If the actual toolbox &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;&amp;nbsp; or tool are updated, still need to close/double-click-addin-file/open to have it appear.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Latest help docs:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/10.3/guide-books/python-addins/what-is-a-python-add-in.htm" title="https://desktop.arcgis.com/en/arcmap/10.3/guide-books/python-addins/what-is-a-python-add-in.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;What is a Python add-in?—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/SPAN&gt;10.3.x&lt;/P&gt;&lt;P&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/analyze/python-addins/what-is-a-python-add-in.htm" title="https://desktop.arcgis.com/en/arcmap/latest/analyze/python-addins/what-is-a-python-add-in.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;What is a Python add-in?—Help | ArcGIS for Desktop&lt;/A&gt; 10.4.x&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tagging my own blog so I can find this again hopefully:&amp;nbsp; &lt;A href="https://community.esri.com/migration-blogpost/1148" target="_blank"&gt;Rebecca's GIS in Alaska&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/group/4114" target="_blank"&gt;Python AddIns&lt;/A&gt;‌ &lt;A href="https://community.esri.com/group/1519" target="_blank"&gt;python snippets&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:21:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/tip-python-addins-getting-custom-tools-toolbox-to/m-p/347300#M27258</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2021-12-11T16:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Tip: Python Addin - getting custom tools/toolbox to work - GPToolDialog</title>
      <link>https://community.esri.com/t5/python-questions/tip-python-addins-getting-custom-tools-toolbox-to/m-p/347301#M27259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I'm now using 10.2 and am using my solution above on a Win2008-R2 machine (not sure if that has anything to do with it).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having an issue with the Python Scripts not exiting properly.&amp;nbsp; They process and finish processing fine, but I have had one of three things happen (per viewing processing in Results):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) finishes and closes fine with no issues;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) one finishes fine; second on pops up the esri error reporting sheet (I sent 3 reports in today because of this)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) finishes processing, says it's successful, but never closes (i.e. hour glass remains in Results).&amp;nbsp; Any I start up after have the clock/pending symbol.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else had this issue?&amp;nbsp; I'm thinking I am missing a command to make sure these close properly (will review my addin scripts again.&amp;nbsp; Or are we missing a way to cleanly close the scripts with my simple instructions above?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have only checked this on one machine and have not gone thru tech support yet.&amp;nbsp; Thought I would see if others have had this problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 19:56:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/tip-python-addins-getting-custom-tools-toolbox-to/m-p/347301#M27259</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2013-09-12T19:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Tip: Python Addin - getting custom tools/toolbox to work - GPToolDialog</title>
      <link>https://community.esri.com/t5/python-questions/tip-python-addins-getting-custom-tools-toolbox-to/m-p/347302#M27260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this code sample, why are you resetting the toolPath on line 13 from what you set it to on line 05?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Oct 2015 14:23:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/tip-python-addins-getting-custom-tools-toolbox-to/m-p/347302#M27260</guid>
      <dc:creator>blueincspatial</dc:creator>
      <dc:date>2015-10-18T14:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Tip: Python Addin - getting custom tools/toolbox to work - GPToolDialog</title>
      <link>https://community.esri.com/t5/python-questions/tip-python-addins-getting-custom-tools-toolbox-to/m-p/347303#M27261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, typo on my part. I used to set it within each onClick, but since all are from the same toolbox, I could set it up above. The "CheckAndFix" was specific to my tool..... You can set it in either place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will fix my code above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Oct 2015 15:11:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/tip-python-addins-getting-custom-tools-toolbox-to/m-p/347303#M27261</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2015-10-18T15:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Tip: Python Addins - getting custom tools/toolbox to work - GPToolDialog error and other tips (9/7/2017)</title>
      <link>https://community.esri.com/t5/python-questions/tip-python-addins-getting-custom-tools-toolbox-to/m-p/347304#M27262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;Tip - missing button images&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; border: 0px; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;In the toolbox:&lt;/SPAN&gt;&lt;UL style="border: 0px; font-weight: inherit; padding: 0px 0px 0px 30px;"&gt;&lt;LI style="border: 0px; font-weight: inherit; margin: 0.5ex 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Check to make sure the path to the .py associated with a Tool, is correct (in the Tool's property)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;I have found (for myself) that this is often the cause of the dreaded [Missing]. I tend to create an new addin in a 'dev' folder. Everything works fine, installs well... Then I create a 'test' folder, copy everything from dev over, works fine, compile the addin and everything is [Missing]. Because the .py files that the script tools are pointing to are still in the dev location. This is now the first thing I check when I see [Missing].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2019 16:01:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/tip-python-addins-getting-custom-tools-toolbox-to/m-p/347304#M27262</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2019-05-10T16:01:49Z</dc:date>
    </item>
  </channel>
</rss>

