<?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: Using the Data Interoperability tool, Quick Export, from Python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/using-the-data-interoperability-tool-quick-export/m-p/651719#M50740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been working with Esri UK to solve this, and it turns out that the problem was due to ArcLogistics also being installed on the server running the python script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;...I believe that you are experiencing a similar bug: NIM072147 (&lt;A class="jive-link-external-small" href="http://support.esri.com/en/bugs/nimbus/TklNMDcyMTQ3" rel="nofollow" target="_blank"&gt;http://support.esri.com/en/bugs/nimbus/TklNMDcyMTQ3&lt;/A&gt;).&lt;BR /&gt; &lt;BR /&gt;This bug, although stated as being discovered in version 10 of the software, fits the error message you have been receiving:&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;SPAN style="font-style:italic;"&gt;???Installing Data Interoperability on a system with both ArcGIS Desktop and ArcEngine Version 10 causes the Data Interoperability functionality to fail. The error returned is "Module XXXXXX is not licensed for use with this FME edition." This happens when doing a quick export with Data Interoperability, and the user does not have a valid license for Data Interoperability in both ArcGIS Desktop and ArcEngine.???&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt; &lt;BR /&gt;ArcLogistics is built on ArcGIS Engine components, which could well explain why you are experiencing this issue. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This problem is fixed in a later service pack for v10.0, but remains an issue in v9.3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps someone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jan 2013 09:15:54 GMT</pubDate>
    <dc:creator>Hampshire_County_CouncilGIS_Te</dc:creator>
    <dc:date>2013-01-04T09:15:54Z</dc:date>
    <item>
      <title>Using the Data Interoperability tool, Quick Export, from Python</title>
      <link>https://community.esri.com/t5/python-questions/using-the-data-interoperability-tool-quick-export/m-p/651718#M50739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm writing a Python script to work with ArcGIS 9.3.1 and when I try to use the "Quick Export" data interoperability tool in Python, I can only get it to export to the file types that don't require the data interoperability licence, e.g. GMLSF.&amp;nbsp; When I try any of the licensed file types I get this error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]FME API version of module 'MITAB' matches current internal version (3.4 20081031)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Module 'MITAB' is not licensed for use with this FME edition[/INDENT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone had a similar problem?&amp;nbsp; I've applied suggestions made in other posts on the web that relate to similar issues - I'm checking out the licence and setting the toolbox - but it still doesn't work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import arcgisscripting, string gp = arcgisscripting.create(9.3)&amp;nbsp; # Check out the Data Interoperability Extension gp.SetProduct("ArcInfo")&amp;nbsp; gp.AddToolbox("C:\Program Files\ArcGIS\ArcToolBox\Toolboxes\Data Interoperability Tools.tbx") gp.Toolbox = "interop"&amp;nbsp; # Put in error trapping in case an error occurs when running tool try: &amp;nbsp;&amp;nbsp;&amp;nbsp; # Check for the data interoperability licence &amp;nbsp;&amp;nbsp;&amp;nbsp; if gp.CheckExtension("DataInteroperability") == "Available": &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print gp.CheckExtension("DataInteroperability") &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.CheckOutExtension("DataInteroperability") &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "Data Interoperability licence available and checked out" &amp;nbsp;&amp;nbsp;&amp;nbsp; else: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise "LicenseError"&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; # Variables &amp;nbsp;&amp;nbsp;&amp;nbsp; FC_workspace = "***" &amp;nbsp;&amp;nbsp;&amp;nbsp; FC_name = "***" &amp;nbsp;&amp;nbsp;&amp;nbsp; FC_path = FC_workspace + FC_name &amp;nbsp;&amp;nbsp;&amp;nbsp; FL_name = "***" &amp;nbsp;&amp;nbsp;&amp;nbsp; Output_FC = "***" &amp;nbsp;&amp;nbsp;&amp;nbsp; Export_output = "mitab,C:\\temp\\Scripts\\" + Output_FC &amp;nbsp;&amp;nbsp;&amp;nbsp; FC_query = "***"&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; # Make a feature layer from the feature class &amp;nbsp;&amp;nbsp;&amp;nbsp; gp.MakeFeatureLayer(FC_path, FL_name) &amp;nbsp;&amp;nbsp;&amp;nbsp; print "Feature layer created"&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; # If a query exists, run it against the feature layer &amp;nbsp;&amp;nbsp;&amp;nbsp; if len(FC_query)!=0: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.SelectLayerByAttribute(FL_name, "NEW_SELECTION", FC_query) &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "Selection completed" &amp;nbsp;&amp;nbsp;&amp;nbsp; else: &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print "No query run"&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; # Write the selected features to a new TAB file &amp;nbsp;&amp;nbsp;&amp;nbsp; gp.QuickExport_interop(FL_name, Export_output) &amp;nbsp;&amp;nbsp;&amp;nbsp; print "TAB export completed"&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; gp.CheckInExtension("DataInteroperability") &amp;nbsp;&amp;nbsp;&amp;nbsp; print "Data Interoperability extension checked in" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; except "LicenseError": &amp;nbsp;&amp;nbsp;&amp;nbsp; print "Data Interoperability license is unavailable"&amp;nbsp;&amp;nbsp;&amp;nbsp; except: &amp;nbsp;&amp;nbsp;&amp;nbsp; # If an error occurred, print the message to the screen &amp;nbsp;&amp;nbsp;&amp;nbsp; print "==ERROR==" &amp;nbsp;&amp;nbsp;&amp;nbsp; print gp.GetMessages()&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 12:58:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-the-data-interoperability-tool-quick-export/m-p/651718#M50739</guid>
      <dc:creator>Hampshire_County_CouncilGIS_Te</dc:creator>
      <dc:date>2012-12-21T12:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using the Data Interoperability tool, Quick Export, from Python</title>
      <link>https://community.esri.com/t5/python-questions/using-the-data-interoperability-tool-quick-export/m-p/651719#M50740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been working with Esri UK to solve this, and it turns out that the problem was due to ArcLogistics also being installed on the server running the python script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;...I believe that you are experiencing a similar bug: NIM072147 (&lt;A class="jive-link-external-small" href="http://support.esri.com/en/bugs/nimbus/TklNMDcyMTQ3" rel="nofollow" target="_blank"&gt;http://support.esri.com/en/bugs/nimbus/TklNMDcyMTQ3&lt;/A&gt;).&lt;BR /&gt; &lt;BR /&gt;This bug, although stated as being discovered in version 10 of the software, fits the error message you have been receiving:&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;SPAN style="font-style:italic;"&gt;???Installing Data Interoperability on a system with both ArcGIS Desktop and ArcEngine Version 10 causes the Data Interoperability functionality to fail. The error returned is "Module XXXXXX is not licensed for use with this FME edition." This happens when doing a quick export with Data Interoperability, and the user does not have a valid license for Data Interoperability in both ArcGIS Desktop and ArcEngine.???&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt; &lt;BR /&gt;ArcLogistics is built on ArcGIS Engine components, which could well explain why you are experiencing this issue. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This problem is fixed in a later service pack for v10.0, but remains an issue in v9.3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps someone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 09:15:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/using-the-data-interoperability-tool-quick-export/m-p/651719#M50740</guid>
      <dc:creator>Hampshire_County_CouncilGIS_Te</dc:creator>
      <dc:date>2013-01-04T09:15:54Z</dc:date>
    </item>
  </channel>
</rss>

