<?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: Running Spatial ETL (10.1) tools from Python in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/running-spatial-etl-10-1-tools-from-python/m-p/512857#M29104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Additional info:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I use arcpy.ProductInfo() it returns ArcServer.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I add something to my script to just use a Desktop license instead?&amp;nbsp; I tried using "import arcview" and "import arcinfo" statements before importing arcpy, but that just gives me an error - - RuntimeError: ERROR 999999: Error executing function.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We really need to be able to run these ETLs from a scheduled Python script on a server that also has ArcGIS Server installed on it.&amp;nbsp; Is there a way to make this work?&amp;nbsp; Hopefully I'm just missing something obvious.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephanie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Aug 2012 19:13:28 GMT</pubDate>
    <dc:creator>StephanieWidas</dc:creator>
    <dc:date>2012-08-31T19:13:28Z</dc:date>
    <item>
      <title>Running Spatial ETL (10.1) tools from Python</title>
      <link>https://community.esri.com/t5/data-management-questions/running-spatial-etl-10-1-tools-from-python/m-p/512856#M29103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to run several spatial ETL tools from a python script.&amp;nbsp; The tools run fine in Model Builder, but not when called from Python.&amp;nbsp; I receive the following error: "AttributeError: 'module' object has no attribute..."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found the following thread:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/38563"&gt;http://support.esri.com/en/knowledgebase/techarticles/detail/38563&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I added the code that it suggested to check for license errors.&amp;nbsp; It raises the license error and tells me that the license is unvailable.&amp;nbsp; I added a line to check the status of the extension - arcpy.CheckExtension("DataInteroperability") - and found that it was NotLicensed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm running Windows Server 2008 R2, with ArcGIS Desktop &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;and&lt;/SPAN&gt;&lt;SPAN&gt; Server 10.1.&amp;nbsp; My Data Interoperablity license is only for Desktop, not Server.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried setting a Windows Environment variable DI_DESKTOP to force the use of the desktop license as described here - &lt;/SPAN&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/37392"&gt;http://support.esri.com/en/knowledgebase/techarticles/detail/37392&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; Not exactly the same problem, but thought it was worth a try.&amp;nbsp; It didn't fix the problem.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know what I need to do so that I can run the ETL tools from Python?&amp;nbsp; Is it a conflict with server and desktop?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephanie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 14:40:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/running-spatial-etl-10-1-tools-from-python/m-p/512856#M29103</guid>
      <dc:creator>StephanieWidas</dc:creator>
      <dc:date>2012-08-31T14:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Running Spatial ETL (10.1) tools from Python</title>
      <link>https://community.esri.com/t5/data-management-questions/running-spatial-etl-10-1-tools-from-python/m-p/512857#M29104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Additional info:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I use arcpy.ProductInfo() it returns ArcServer.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I add something to my script to just use a Desktop license instead?&amp;nbsp; I tried using "import arcview" and "import arcinfo" statements before importing arcpy, but that just gives me an error - - RuntimeError: ERROR 999999: Error executing function.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We really need to be able to run these ETLs from a scheduled Python script on a server that also has ArcGIS Server installed on it.&amp;nbsp; Is there a way to make this work?&amp;nbsp; Hopefully I'm just missing something obvious.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephanie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 19:13:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/running-spatial-etl-10-1-tools-from-python/m-p/512857#M29104</guid>
      <dc:creator>StephanieWidas</dc:creator>
      <dc:date>2012-08-31T19:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Running Spatial ETL (10.1) tools from Python</title>
      <link>https://community.esri.com/t5/data-management-questions/running-spatial-etl-10-1-tools-from-python/m-p/512858#M29105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stephanie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a same question, I came across your thread regarding converting the ETL tool into python script and schedule to run automatically in daily or weekly basis. Did you find a solution? If so, would you mind helping us. Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ST&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 17:58:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/running-spatial-etl-10-1-tools-from-python/m-p/512858#M29105</guid>
      <dc:creator>SrijanaTuladhar</dc:creator>
      <dc:date>2015-05-14T17:58:54Z</dc:date>
    </item>
  </channel>
</rss>

