<?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: FATAL ERROR (ICLOSE) in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/fatal-error-iclose/m-p/242361#M18849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I encountered this when working with Search and Insert cursors. I had a script which was working fine, all tables being accessed and written to within a File Geodatabase. I made some script changes, in which tables were now being written into a simple directory folder. Absent mindedly, I initially did not change table names explicitly with ".dbf" in the script, so within the folder they were written as default INFO tables, and the problem surfaced. I created a new FGDB in which to write the tables as default dBASE and the problem disappeared. As per the above response, properly deleting cursor resources is also probably important.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Ryan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Sep 2013 18:19:09 GMT</pubDate>
    <dc:creator>RyanHill1</dc:creator>
    <dc:date>2013-09-26T18:19:09Z</dc:date>
    <item>
      <title>FATAL ERROR (ICLOSE)</title>
      <link>https://community.esri.com/t5/python-questions/fatal-error-iclose/m-p/242358#M18846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Has anyone ever come across a python error looking like this...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FATAL ERROR (ICLOSE)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Attempting to close channel 2, which isn't open&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am extracting zonal stats as a table for multiple sets of two raster datasets. These tables are joined and the joined table is outputted as a csv. Numpy is then used to calculate the correlation coefficent which is then written to a text file. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works fine for the first two set of files then comes up with the above error message. I found a link to a known error with ArcWorkstation (&lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/content/kbase?fa=articleShow&amp;amp;d=11798"&gt;http://resources.arcgis.com/content/kbase?fa=articleShow&amp;amp;d=11798&lt;/A&gt;&lt;SPAN&gt;) but not sure whether it is relevant here&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am running ArcGIS 9.3 - code attached if interested.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2011 08:26:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/fatal-error-iclose/m-p/242358#M18846</guid>
      <dc:creator>AndrewHardy</dc:creator>
      <dc:date>2011-03-30T08:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: FATAL ERROR (ICLOSE)</title>
      <link>https://community.esri.com/t5/python-questions/fatal-error-iclose/m-p/242359#M18847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Has anyone resolved this issue?&amp;nbsp; I am getting the same error message!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Darryl Klassen&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GIS Technician&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 20:21:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/fatal-error-iclose/m-p/242359#M18847</guid>
      <dc:creator>DarrylKlassen</dc:creator>
      <dc:date>2013-01-18T20:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: FATAL ERROR (ICLOSE)</title>
      <link>https://community.esri.com/t5/python-questions/fatal-error-iclose/m-p/242360#M18848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For other GIS Googlers out there:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just encountered and resolved this issue, so thought I'd post a reply. This issue also arose when I was using ZonalStatisticsAsTable() in python. Furthermore, I was also creating a SearchCursor from the new zonal stats table and working with the cursor. I was able to resolve the problem by properly deleting the cursor after each use (and there are several "proper" ways to delete a cursor--e.g., a simple "del cursor" works to resolve the problem).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;David&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 03:35:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/fatal-error-iclose/m-p/242360#M18848</guid>
      <dc:creator>DavidRheinheimer</dc:creator>
      <dc:date>2013-01-25T03:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: FATAL ERROR (ICLOSE)</title>
      <link>https://community.esri.com/t5/python-questions/fatal-error-iclose/m-p/242361#M18849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I encountered this when working with Search and Insert cursors. I had a script which was working fine, all tables being accessed and written to within a File Geodatabase. I made some script changes, in which tables were now being written into a simple directory folder. Absent mindedly, I initially did not change table names explicitly with ".dbf" in the script, so within the folder they were written as default INFO tables, and the problem surfaced. I created a new FGDB in which to write the tables as default dBASE and the problem disappeared. As per the above response, properly deleting cursor resources is also probably important.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Ryan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 18:19:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/fatal-error-iclose/m-p/242361#M18849</guid>
      <dc:creator>RyanHill1</dc:creator>
      <dc:date>2013-09-26T18:19:09Z</dc:date>
    </item>
  </channel>
</rss>

