<?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 Fatal Error on Add Layers function in ArcAPI Questions</title>
    <link>https://community.esri.com/t5/arcapi-questions/fatal-error-on-add-layers-function/m-p/833719#M77</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I keep running into this issue where I am unable to open my properties dialogue box after running a script I wrote to expedite a KMZ creation task I have. The real crux of this issue is that the script performs without error. I can see the new layers I want to create in the TOC, I can see that the data I want loaded into those layers is present (I am able to open the attribute table still), and I can see it displayed correctly in the map data frame. I can also see the KMZ I wanted in the target folder I designated (all data is present and working just as it should).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to interact with the new layer in almost every way, but I cannot open the properties dialogue without receiving a fatal error and ArcMap closing down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is a screenshot of my main() function where I think the "error" is occurring. I have only been coding python for a few months so input is welcome on -how- I am doing this as well (the inability for arcpy to create empty group layers required this workaround).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Version: ArcMap 10.6.1&lt;/P&gt;&lt;P&gt;Python: 2.7&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Dec 2018 20:10:54 GMT</pubDate>
    <dc:creator>JasonVignochi2</dc:creator>
    <dc:date>2018-12-12T20:10:54Z</dc:date>
    <item>
      <title>Fatal Error on Add Layers function</title>
      <link>https://community.esri.com/t5/arcapi-questions/fatal-error-on-add-layers-function/m-p/833719#M77</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I keep running into this issue where I am unable to open my properties dialogue box after running a script I wrote to expedite a KMZ creation task I have. The real crux of this issue is that the script performs without error. I can see the new layers I want to create in the TOC, I can see that the data I want loaded into those layers is present (I am able to open the attribute table still), and I can see it displayed correctly in the map data frame. I can also see the KMZ I wanted in the target folder I designated (all data is present and working just as it should).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to interact with the new layer in almost every way, but I cannot open the properties dialogue without receiving a fatal error and ArcMap closing down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is a screenshot of my main() function where I think the "error" is occurring. I have only been coding python for a few months so input is welcome on -how- I am doing this as well (the inability for arcpy to create empty group layers required this workaround).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Version: ArcMap 10.6.1&lt;/P&gt;&lt;P&gt;Python: 2.7&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2018 20:10:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcapi-questions/fatal-error-on-add-layers-function/m-p/833719#M77</guid>
      <dc:creator>JasonVignochi2</dc:creator>
      <dc:date>2018-12-12T20:10:54Z</dc:date>
    </item>
  </channel>
</rss>

