<?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: ERROR 001270: Consolidating the data failed when publishing python tool in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/error-001270-consolidating-the-data-failed-when/m-p/828284#M3081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Closing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Dec 2019 12:52:10 GMT</pubDate>
    <dc:creator>DonMorrison1</dc:creator>
    <dc:date>2019-12-16T12:52:10Z</dc:date>
    <item>
      <title>ERROR 001270: Consolidating the data failed when publishing python tool</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/error-001270-consolidating-the-data-failed-when/m-p/828283#M3080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on forum activity, it looks like this is a very common error with many causes and essentially no clues logged as to what really caused it. By trial and error I was able to find&amp;nbsp;the cause. This is the culprit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;arcpy.env.workspace = arcpy.env.scratchWorkspace&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I removed it (it wasn't really needed as it turns out) the publish worked.&amp;nbsp; It sure seems like ESRI could do a better job logging exactly what triggers errors like this. I spend untold hours trying to comply with the directions in the help page (none of which helped) and crawling through forums and documentation looking for a clue. The good news is that the fix was easy...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2019 00:09:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/error-001270-consolidating-the-data-failed-when/m-p/828283#M3080</guid>
      <dc:creator>DonMorrison1</dc:creator>
      <dc:date>2019-10-25T00:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 001270: Consolidating the data failed when publishing python tool</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/error-001270-consolidating-the-data-failed-when/m-p/828284#M3081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Closing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2019 12:52:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/error-001270-consolidating-the-data-failed-when/m-p/828284#M3081</guid>
      <dc:creator>DonMorrison1</dc:creator>
      <dc:date>2019-12-16T12:52:10Z</dc:date>
    </item>
  </channel>
</rss>

