<?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 Add-In Extension doesn't work in Transportation Questions</title>
    <link>https://community.esri.com/t5/transportation-questions/python-add-in-extension-doesn-t-work/m-p/365824#M1216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Interesting!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was in a rush when I did the post, and didn't see that when I took the screen shot! However, it is definitely not working all the time... I will do some more testing and post my findings.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Sep 2013 19:47:57 GMT</pubDate>
    <dc:creator>StacyRendall1</dc:creator>
    <dc:date>2013-09-29T19:47:57Z</dc:date>
    <item>
      <title>Python Add-In Extension doesn't work</title>
      <link>https://community.esri.com/t5/transportation-questions/python-add-in-extension-doesn-t-work/m-p/365821#M1213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After creating an Add-In with Toolbar, Menu and Extension objects and doing &lt;/SPAN&gt;&lt;STRONG&gt;Add From File...&lt;/STRONG&gt;&lt;SPAN&gt; in the &lt;/SPAN&gt;&lt;STRONG&gt;Customize&lt;/STRONG&gt;&lt;SPAN&gt; dialog box only Toolbar and Menu objects are available. The Added Objects dialog after installing is shown below, note that no Extensions are listed (x.EsriAddin attachment).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]27418[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Toolbar and Menu objects can be accessed and added from the &lt;/SPAN&gt;&lt;STRONG&gt;Customize&lt;/STRONG&gt;&lt;SPAN&gt; dialogue, as is expected, but the Extension does not show in the Extensions dialog:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]27422[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried the add-in extension example specified in the docs, with the same result. This example only contains an Extension, which causes the Added Objects dialog box to show the following (arcAddin.EsriAddin attachment):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]27419[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As above the &lt;/SPAN&gt;&lt;STRONG&gt;Extensions &lt;/STRONG&gt;&lt;SPAN&gt;dialog does not show the Add-In Extension...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached the corresponding files, as specified above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;System Specs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS 10.1 Desktop, SP1, 64bit Background Geoprocessing, Windows XP SP3&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 04:07:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/python-add-in-extension-doesn-t-work/m-p/365821#M1213</guid>
      <dc:creator>StacyRendall1</dc:creator>
      <dc:date>2013-09-13T04:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Python Add-In Extension doesn't work</title>
      <link>https://community.esri.com/t5/transportation-questions/python-add-in-extension-doesn-t-work/m-p/365822#M1214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having the same issue.&amp;nbsp; Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Sep 2013 15:33:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/python-add-in-extension-doesn-t-work/m-p/365822#M1214</guid>
      <dc:creator>JordanPorter</dc:creator>
      <dc:date>2013-09-21T15:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Python Add-In Extension doesn't work</title>
      <link>https://community.esri.com/t5/transportation-questions/python-add-in-extension-doesn-t-work/m-p/365823#M1215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: swalbridge&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The extension is working, but it looks like the one contained in those addin files doesn't have the "name" field changed, so it is using the default of "New Extension" (you can see that entry in the image provided). To change it, you can either: a) Update the "Name" field in the Add-In Wizard when creating a new extension or b) update the generated config.xml file directly in the root directory. You should see something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;Extension autoLoad="true" category="Python Addin" class="ExtensionClass1" id="x_addin.extension2" name="&lt;STRONG&gt;New Extension&lt;/STRONG&gt;" ... /&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;update the text to whatever you'd like to show up in the dialog.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shaun&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 21:00:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/python-add-in-extension-doesn-t-work/m-p/365823#M1215</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-09-26T21:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Python Add-In Extension doesn't work</title>
      <link>https://community.esri.com/t5/transportation-questions/python-add-in-extension-doesn-t-work/m-p/365824#M1216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Interesting!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was in a rush when I did the post, and didn't see that when I took the screen shot! However, it is definitely not working all the time... I will do some more testing and post my findings.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Sep 2013 19:47:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/python-add-in-extension-doesn-t-work/m-p/365824#M1216</guid>
      <dc:creator>StacyRendall1</dc:creator>
      <dc:date>2013-09-29T19:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Python Add-In Extension doesn't work</title>
      <link>https://community.esri.com/t5/transportation-questions/python-add-in-extension-doesn-t-work/m-p/365825#M1217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK. To get an extension to show up in the Extension dialogue you have to close and re-open ArcMap after installing the add-in...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also found that extensions will not show up at all in the Extension dialogue if there are errors, such as syntax errors, in the Python file for the add-in (which lives in the Install folder of the add-in). To test for these errors pass the file to the Python at the command line; if you get &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;ImportError: No module named pythonaddins&lt;/SPAN&gt;&lt;SPAN&gt; you don't have syntax errors (this is because the compiler checks for syntax errors before importing; I guess pythonaddins can only be imported from within ArcGIS, so it will fail here, getting to this point indicates that it has passed the syntax, etc., checks.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Sep 2013 21:40:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/python-add-in-extension-doesn-t-work/m-p/365825#M1217</guid>
      <dc:creator>StacyRendall1</dc:creator>
      <dc:date>2013-09-29T21:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Python Add-In Extension doesn't work</title>
      <link>https://community.esri.com/t5/transportation-questions/python-add-in-extension-doesn-t-work/m-p/365826#M1218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: nivas_8383&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi ,I faced the same issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you need to do this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Open add-in manager, go to Options tab and check the option "Load all Add-ins without restrictions(Least secure)", then you can see all the addins you have installed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2014 14:51:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/transportation-questions/python-add-in-extension-doesn-t-work/m-p/365826#M1218</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-01-02T14:51:02Z</dc:date>
    </item>
  </channel>
</rss>

