<?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 CollectEvents throws errors since upgrading to ArcGIS 10 SP3 in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/collectevents-throws-errors-since-upgrading-to/m-p/77514#M2713</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have been running a Python script derived from a ModelBuilder model for a few years without a problem.&amp;nbsp; Since upgrading to ArcGIS 10 SP3 from just ArcGIS 10 I now get the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Python26\ArcGIS10.0\CL00 CL Script.py", line 1252, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.CollectEvents_stats(CL_INTERSECTION_ENDS_Layer, CL_INTERSECTION_POINTS)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ExecuteError: &amp;lt;type 'exceptions.AttributeError'&amp;gt;: DescribeData: Get attribute extent does not exist&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (CollectEvents).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems to be part of the CollectEvents internal script, since I do not have any call to DescribeData in my script.&amp;nbsp; The CL_INTERSECTION_ENDS_Layer's underlying feature class and layer are generated in the script.&amp;nbsp; I have not upgraded the script to use arcpy, so it still uses the old gp processor.&amp;nbsp; I have isolated the script portion that starts with CollectEvents (it is in the middle of the original script) and run it from that point without an error.&amp;nbsp; Any ideas on what I need to do to get this error to stop interupting my script?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Jan 2012 17:46:20 GMT</pubDate>
    <dc:creator>RichardFairhurst</dc:creator>
    <dc:date>2012-01-14T17:46:20Z</dc:date>
    <item>
      <title>CollectEvents throws errors since upgrading to ArcGIS 10 SP3</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/collectevents-throws-errors-since-upgrading-to/m-p/77514#M2713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have been running a Python script derived from a ModelBuilder model for a few years without a problem.&amp;nbsp; Since upgrading to ArcGIS 10 SP3 from just ArcGIS 10 I now get the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Python26\ArcGIS10.0\CL00 CL Script.py", line 1252, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.CollectEvents_stats(CL_INTERSECTION_ENDS_Layer, CL_INTERSECTION_POINTS)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ExecuteError: &amp;lt;type 'exceptions.AttributeError'&amp;gt;: DescribeData: Get attribute extent does not exist&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (CollectEvents).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems to be part of the CollectEvents internal script, since I do not have any call to DescribeData in my script.&amp;nbsp; The CL_INTERSECTION_ENDS_Layer's underlying feature class and layer are generated in the script.&amp;nbsp; I have not upgraded the script to use arcpy, so it still uses the old gp processor.&amp;nbsp; I have isolated the script portion that starts with CollectEvents (it is in the middle of the original script) and run it from that point without an error.&amp;nbsp; Any ideas on what I need to do to get this error to stop interupting my script?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jan 2012 17:46:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/collectevents-throws-errors-since-upgrading-to/m-p/77514#M2713</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2012-01-14T17:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: CollectEvents throws errors since upgrading to ArcGIS 10 SP3</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/collectevents-throws-errors-since-upgrading-to/m-p/77515#M2714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you ever find a solution for this error.&amp;nbsp; My situation is similiar, using python script from a model, and trying to run the Collect Event geoprocess.&amp;nbsp; Just upgraded to ARCGIS 10.0 SP 4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 14:02:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/collectevents-throws-errors-since-upgrading-to/m-p/77515#M2714</guid>
      <dc:creator>ChrisOwen</dc:creator>
      <dc:date>2012-11-09T14:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: CollectEvents throws errors since upgrading to ArcGIS 10 SP3</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/collectevents-throws-errors-since-upgrading-to/m-p/77516#M2715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Did you ever find a solution for this error.&amp;nbsp; My situation is similiar, using python script from a model, and trying to run the Collect Event geoprocess.&amp;nbsp; Just upgraded to ARCGIS 10.0 SP 4.&lt;BR /&gt;Thanks.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No, I didn't find a solution that allowed me to run the Collect Events tool within a single script.&amp;nbsp; I did get two scripts to work where the first stops just prior to the Collect Events tool and the second picks up from that point.&amp;nbsp; I had to set up a few layers in the second half of the script to configure it for tools that ran later, but that was not too difficult.&amp;nbsp; I have these as Sceduled Tasks and just make sure to leave enough time between one task and the other so they do not conflict with each other.&amp;nbsp; My script was very long and justified this approach, but a short script would be hard to approach this way.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Nov 2012 15:01:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/collectevents-throws-errors-since-upgrading-to/m-p/77516#M2715</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2012-11-11T15:01:04Z</dc:date>
    </item>
  </channel>
</rss>

