<?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: AttributeError: 'NoneType' in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/attributeerror-nonetype/m-p/271206#M655</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, Anoosheh, I don't do web stuff, but perhaps&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/KGerrow-esristaff"&gt;KGerrow-esristaff&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;can put you in touch with the people that deal with AGOL and associated platforms.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Apr 2018 23:27:00 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-04-12T23:27:00Z</dc:date>
    <item>
      <title>AttributeError: 'NoneType'</title>
      <link>https://community.esri.com/t5/arcmap-questions/attributeerror-nonetype/m-p/271203#M652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to add a feature layer to a Web Map, and when running the ".add_layer()" method I am getting an error. The error is an AttributeError:&amp;nbsp;'NoneType' object has no attribute 'append'. Eventually, I would like to be able to run a loop and add the layer to a selection of web maps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two photos below show the Jupyter&amp;nbsp;notebook of the steps I took. On a couple occasions, I ran the ".update()" method after the error with the .add_layer and the feature layer was still applied to the map, but this didn't always work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="/legacyfs/online/401239_Screen Shot 2018-04-12 at 12.58.57 PM.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Jupyter Notebook screenshot part 1/2" class="image-1 jive-image j-img-original" src="/legacyfs/online/401238_Screen Shot 2018-04-12 at 12.59.17 PM.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2018 20:11:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/attributeerror-nonetype/m-p/271203#M652</guid>
      <dc:creator>AnooshehTarassoly</dc:creator>
      <dc:date>2018-04-12T20:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeError: 'NoneType'</title>
      <link>https://community.esri.com/t5/arcmap-questions/attributeerror-nonetype/m-p/271204#M653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NoneType means that 'None' was returned by a step.&amp;nbsp; But then you say that 'update' was used and it worked?&amp;nbsp; If that is the case, then whatever you did to remove the lack of something being returned is good&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2018 20:58:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/attributeerror-nonetype/m-p/271204#M653</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-04-12T20:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeError: 'NoneType'</title>
      <link>https://community.esri.com/t5/arcmap-questions/attributeerror-nonetype/m-p/271205#M654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the response! When I try the '.update()' method I get the same issue with the NoneType object. When I called the 'wmap' again to see why it was coming up as a NoneType, a popup dialog box asking me to log in with my credentials appeared (I have attached a photo below). I am wondering if this is why I am getting the NoneType error?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, I noticed that when I pass '.update(item_description={})' (without signing in) the method returns True and the layer I wanted to add was successfully added. When I tried looping through multiple maps to add the layer to each map, while passing 'item_description{}' in the update method, the maps didn't update and I received the NoneType error again. If there is a way to stay signed in while calling the '.add_layer' and '.update' methods I believe this will solve my problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/401261_Screen Shot 2018-04-12 at 3.41.08 PM.png" style="width: 620px; height: 455px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="/legacyfs/online/401262_Screen Shot 2018-04-12 at 3.59.38 PM.png" style="width: 620px; height: 278px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2018 23:00:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/attributeerror-nonetype/m-p/271205#M654</guid>
      <dc:creator>AnooshehTarassoly</dc:creator>
      <dc:date>2018-04-12T23:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeError: 'NoneType'</title>
      <link>https://community.esri.com/t5/arcmap-questions/attributeerror-nonetype/m-p/271206#M655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, Anoosheh, I don't do web stuff, but perhaps&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/KGerrow-esristaff"&gt;KGerrow-esristaff&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;can put you in touch with the people that deal with AGOL and associated platforms.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2018 23:27:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/attributeerror-nonetype/m-p/271206#M655</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-04-12T23:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeError: 'NoneType'</title>
      <link>https://community.esri.com/t5/arcmap-questions/attributeerror-nonetype/m-p/271207#M656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anoosheh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not to sure on this one, but it appears that there is an issue with how the layer authentication is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you input your username and password, are you able to run the tool?&lt;/P&gt;&lt;P&gt;If the layer is shared with everyone, Are you able to run the tool?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/group/4814"&gt;ArcGIS API for Python&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/space/2106"&gt;ArcGIS Online&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also feel free to contact technical support to research this specific issue further.&lt;/P&gt;&lt;P&gt;-Kelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 17:36:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/attributeerror-nonetype/m-p/271207#M656</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2018-04-13T17:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeError: 'NoneType'</title>
      <link>https://community.esri.com/t5/arcmap-questions/attributeerror-nonetype/m-p/271208#M657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kelly,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tool seems to work seems to work whether I input my username and password or not. The layer should be shared with everyone. I will contact technical support for further&amp;nbsp;assistance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 17:00:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/attributeerror-nonetype/m-p/271208#M657</guid>
      <dc:creator>AnooshehTarassoly</dc:creator>
      <dc:date>2018-04-16T17:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeError: 'NoneType'</title>
      <link>https://community.esri.com/t5/arcmap-questions/attributeerror-nonetype/m-p/1285494#M4388</link>
      <description>&lt;P&gt;I'm running into the same thing. I'm trying to export an item from an Open Data site so it doesn't need a user name. However, it errors on&amp;nbsp;&lt;SPAN&gt;item&lt;/SPAN&gt;&lt;SPAN&gt;.export(), yielding AttributeError: 'NoneType' object has no attribute 'username'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;traceback is from&amp;nbsp;"C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\__init__.py", line 11928, in export&lt;BR /&gt;data_path = "content/users/%s/export" % self._gis.users.me.username&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It seems export requires a username? What should I do?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 23:50:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/attributeerror-nonetype/m-p/1285494#M4388</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2023-05-03T23:50:53Z</dc:date>
    </item>
  </channel>
</rss>

