<?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: Arcpy AttributeError: Object: Tool or environment &amp;lt;TruncateTable_management&amp;gt; not found in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-attributeerror-object-tool-or-environment-lt/m-p/722204#M55896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error message may be a bit misleading.&amp;nbsp; My initial thought is database connectivity.&amp;nbsp; What database are you running?&amp;nbsp; Do you have the right DBMS client files installed on the application server?&amp;nbsp; Can you connect to the SDE geodatabase using native DBMS client tools, like SQLCMD or SQLPLUS?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Jun 2016 17:24:08 GMT</pubDate>
    <dc:creator>JoshuaBixby</dc:creator>
    <dc:date>2016-06-30T17:24:08Z</dc:date>
    <item>
      <title>Arcpy AttributeError: Object: Tool or environment &lt;TruncateTable_management&gt; not found</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-attributeerror-object-tool-or-environment-lt/m-p/722203#M55895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a python script which runs perfectly on my PC running ArcGIS 10.3...&lt;/P&gt;&lt;P&gt;The script truncates a feature class in our ArcSDE, then appends new records.&lt;/P&gt;&lt;P&gt;As I said...works flawlessly on my PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now want to run this on our application server (windows 2012 R2) &lt;SPAN style="color: #606060;"&gt;ArcGIS Desktop 10.2&lt;/SPAN&gt; and set up a schedule task...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the exact same code on the server I get this error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "D:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\management.py", line 14530, in TruncateTable&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise e&lt;/P&gt;&lt;P&gt;AttributeError: Object: Tool or environment &amp;lt;TruncateTable_management&amp;gt; not found&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 07:46:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-attributeerror-object-tool-or-environment-lt/m-p/722203#M55895</guid>
      <dc:creator>timdunlevie</dc:creator>
      <dc:date>2016-06-30T07:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy AttributeError: Object: Tool or environment &lt;TruncateTable_management&gt; not found</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-attributeerror-object-tool-or-environment-lt/m-p/722204#M55896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error message may be a bit misleading.&amp;nbsp; My initial thought is database connectivity.&amp;nbsp; What database are you running?&amp;nbsp; Do you have the right DBMS client files installed on the application server?&amp;nbsp; Can you connect to the SDE geodatabase using native DBMS client tools, like SQLCMD or SQLPLUS?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 17:24:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-attributeerror-object-tool-or-environment-lt/m-p/722204#M55896</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-06-30T17:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy AttributeError: Object: Tool or environment &lt;TruncateTable_management&gt; not found</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-attributeerror-object-tool-or-environment-lt/m-p/722205#M55897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;..and maybe version incompatibility.&amp;nbsp; If it is a 10.3.x database, may not be accessible in 10.2.x.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 17:39:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-attributeerror-object-tool-or-environment-lt/m-p/722205#M55897</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2016-07-18T17:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy AttributeError: Object: Tool or environment &lt;TruncateTable_management&gt; not found</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-attributeerror-object-tool-or-environment-lt/m-p/722206#M55898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="color: black; line-height: 107%; font-family: 'Verdana','sans-serif'; font-size: 8.5pt;"&gt;Along the lines of the error message being misleading, I was getting this same error with a similar hardware setup as you, to find out the root cause was the C drive had been filled-up with temporary files from the job that was running.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 17:36:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-attributeerror-object-tool-or-environment-lt/m-p/722206#M55898</guid>
      <dc:creator>TrentHardy</dc:creator>
      <dc:date>2017-03-06T17:36:18Z</dc:date>
    </item>
  </channel>
</rss>

