<?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: Can't use GIS() object in 'Binder' both in Jupyter Lab and Notebook in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-t-use-gis-object-in-binder-both-in-jupyter-lab/m-p/1053312#M6000</link>
    <description>&lt;P&gt;I get that you can use try-catch blocks to handle exceptions, but this should not be generating any exceptions. I'm getting the same from the example Notebooks Esri themselves published, and they had no try-catch usage in theirs, so it doesn't appear to be requisite.&lt;/P&gt;&lt;P&gt;Just in testing this, I tried the statement:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;map = gis.map()
map&lt;/LI-CODE&gt;&lt;P&gt;And this worked, if less than useful at only showing an interactive map of the planet:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrissyRothgeb_0-1619803968759.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/12294i0685D2846221D65B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrissyRothgeb_0-1619803968759.png" alt="ChrissyRothgeb_0-1619803968759.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It appears to be an issue with the built-in geocoder, as suggested by the error message:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;SPAN class="ansi-red-fg"&gt;---------------------------------------------------------------------------&lt;/SPAN&gt;
&lt;SPAN class="ansi-red-fg"&gt;AttributeError&lt;/SPAN&gt;                            Traceback (most recent call last)
&lt;SPAN class="ansi-green-fg"&gt;&amp;lt;ipython-input-8-3ea8a60e307b&amp;gt;&lt;/SPAN&gt; in &lt;SPAN class="ansi-cyan-fg"&gt;&amp;lt;module&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-fg"&gt;----&amp;gt; 1&lt;/SPAN&gt; m1 &lt;SPAN class="ansi-blue-fg"&gt;=&lt;/SPAN&gt; gis&lt;SPAN class="ansi-blue-fg"&gt;.&lt;/SPAN&gt;map&lt;SPAN class="ansi-blue-fg"&gt;(&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;'San Diego'&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;      2&lt;/SPAN&gt; m1

&lt;SPAN class="ansi-green-fg"&gt;/opt/conda/lib/python3.7/site-packages/arcgis/gis/__init__.py&lt;/SPAN&gt; in &lt;SPAN class="ansi-cyan-fg"&gt;map&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;(self, location, zoomlevel, mode, geocoder)&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;    955&lt;/SPAN&gt;                 &lt;SPAN class="ansi-green-fg"&gt;else&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;:&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;    956&lt;/SPAN&gt;                     &lt;SPAN class="ansi-green-fg"&gt;for&lt;/SPAN&gt; geocoder &lt;SPAN class="ansi-green-fg"&gt;in&lt;/SPAN&gt; get_geocoders&lt;SPAN class="ansi-blue-fg"&gt;(&lt;/SPAN&gt;self&lt;SPAN class="ansi-blue-fg"&gt;)&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;:&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-fg"&gt;--&amp;gt; 957&lt;/SPAN&gt;                         locations &lt;SPAN class="ansi-blue-fg"&gt;=&lt;/SPAN&gt; geocode&lt;SPAN class="ansi-blue-fg"&gt;(&lt;/SPAN&gt;location&lt;SPAN class="ansi-blue-fg"&gt;,&lt;/SPAN&gt; out_sr&lt;SPAN class="ansi-blue-fg"&gt;=&lt;/SPAN&gt;&lt;SPAN class="ansi-cyan-fg"&gt;4326&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;,&lt;/SPAN&gt; max_locations&lt;SPAN class="ansi-blue-fg"&gt;=&lt;/SPAN&gt;&lt;SPAN class="ansi-cyan-fg"&gt;1&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;,&lt;/SPAN&gt; geocoder&lt;SPAN class="ansi-blue-fg"&gt;=&lt;/SPAN&gt;geocoder&lt;SPAN class="ansi-blue-fg"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;    958&lt;/SPAN&gt;                         &lt;SPAN class="ansi-green-fg"&gt;if&lt;/SPAN&gt; len&lt;SPAN class="ansi-blue-fg"&gt;(&lt;/SPAN&gt;locations&lt;SPAN class="ansi-blue-fg"&gt;)&lt;/SPAN&gt; &lt;SPAN class="ansi-blue-fg"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="ansi-cyan-fg"&gt;0&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;:&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;    959&lt;/SPAN&gt;                             &lt;SPAN class="ansi-green-fg"&gt;if&lt;/SPAN&gt; zoomlevel &lt;SPAN class="ansi-green-fg"&gt;is&lt;/SPAN&gt; &lt;SPAN class="ansi-green-fg"&gt;not&lt;/SPAN&gt; &lt;SPAN class="ansi-green-fg"&gt;None&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;:&lt;/SPAN&gt;

&lt;SPAN class="ansi-green-fg"&gt;/opt/conda/lib/python3.7/site-packages/arcgis/geocoding/_functions.py&lt;/SPAN&gt; in &lt;SPAN class="ansi-cyan-fg"&gt;geocode&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;(address, search_extent, location, distance, out_sr, category, out_fields, max_locations, magic_key, for_storage, geocoder, as_featureset, match_out_of_range, location_type, lang_code, source_country)&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;   1118&lt;/SPAN&gt;         location_type&lt;SPAN class="ansi-blue-fg"&gt;=&lt;/SPAN&gt;location_type&lt;SPAN class="ansi-blue-fg"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;   1119&lt;/SPAN&gt;         lang_code&lt;SPAN class="ansi-blue-fg"&gt;=&lt;/SPAN&gt;lang_code&lt;SPAN class="ansi-blue-fg"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-fg"&gt;-&amp;gt; 1120&lt;/SPAN&gt;&lt;SPAN class="ansi-red-fg"&gt;         source_country=source_country)&lt;/SPAN&gt;&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;   1121&lt;/SPAN&gt; 
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;   1122&lt;/SPAN&gt; 

&lt;SPAN class="ansi-green-fg"&gt;/opt/conda/lib/python3.7/site-packages/arcgis/geocoding/_functions.py&lt;/SPAN&gt; in &lt;SPAN class="ansi-cyan-fg"&gt;_geocode&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;(self, address, search_extent, location, distance, out_sr, category, out_fields, max_locations, magic_key, for_storage, as_featureset, match_out_of_range, location_type, lang_code, source_country)&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;    196&lt;/SPAN&gt;         &lt;SPAN class="ansi-green-fg"&gt;if&lt;/SPAN&gt; address &lt;SPAN class="ansi-green-fg"&gt;is&lt;/SPAN&gt; &lt;SPAN class="ansi-green-fg"&gt;not&lt;/SPAN&gt; &lt;SPAN class="ansi-green-fg"&gt;None&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;:&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;    197&lt;/SPAN&gt;             &lt;SPAN class="ansi-green-fg"&gt;if&lt;/SPAN&gt; isinstance&lt;SPAN class="ansi-blue-fg"&gt;(&lt;/SPAN&gt;address&lt;SPAN class="ansi-blue-fg"&gt;,&lt;/SPAN&gt; str&lt;SPAN class="ansi-blue-fg"&gt;)&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;:&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-fg"&gt;--&amp;gt; 198&lt;/SPAN&gt;                 params&lt;SPAN class="ansi-blue-fg"&gt;[&lt;/SPAN&gt;self&lt;SPAN class="ansi-blue-fg"&gt;.&lt;/SPAN&gt;_address_field&lt;SPAN class="ansi-blue-fg"&gt;]&lt;/SPAN&gt; &lt;SPAN class="ansi-blue-fg"&gt;=&lt;/SPAN&gt; address
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;    199&lt;/SPAN&gt;             &lt;SPAN class="ansi-green-fg"&gt;elif&lt;/SPAN&gt; isinstance&lt;SPAN class="ansi-blue-fg"&gt;(&lt;/SPAN&gt;address&lt;SPAN class="ansi-blue-fg"&gt;,&lt;/SPAN&gt; dict&lt;SPAN class="ansi-blue-fg"&gt;)&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;:&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;    200&lt;/SPAN&gt;                 params&lt;SPAN class="ansi-blue-fg"&gt;.&lt;/SPAN&gt;update&lt;SPAN class="ansi-blue-fg"&gt;(&lt;/SPAN&gt;address&lt;SPAN class="ansi-blue-fg"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="ansi-red-fg"&gt;AttributeError&lt;/SPAN&gt;: 'Geocoder' object has no attribute '_address_field'&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I'm just wondering if something changed in AGOL under the hood that their API does not have working. Is anyone else able to get a map to work in an AGOL-hosted Jupyter Notebook using a location or address?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Apr 2021 17:35:34 GMT</pubDate>
    <dc:creator>ChrissyRothgeb</dc:creator>
    <dc:date>2021-04-30T17:35:34Z</dc:date>
    <item>
      <title>Can't use GIS() object in 'Binder' both in Jupyter Lab and Notebook</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-t-use-gis-object-in-binder-both-in-jupyter-lab/m-p/1048651#M5938</link>
      <description>&lt;P&gt;Hi, I am trying to execute my GitHub repository to a binder environment.&lt;/P&gt;&lt;P&gt;Everything works great, however I just cannot get the GIS() object to work, I cannot view map not in Notebook nor Jupterlab.&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcgis.gis import GIS
gis = GIS()
map1 = gis.map('Israel',8)
map1 # doesn't display&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could not even view this as an embedded html.&amp;nbsp;&lt;/P&gt;&lt;P&gt;what am I missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 09:14:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-t-use-gis-object-in-binder-both-in-jupyter-lab/m-p/1048651#M5938</guid>
      <dc:creator>ShaiSussman</dc:creator>
      <dc:date>2021-04-19T09:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can't use GIS() object in 'Binder' both in Jupyter Lab and Notebook</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-t-use-gis-object-in-binder-both-in-jupyter-lab/m-p/1049435#M5951</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;the fact that the application is not throwing an error while instantiating GIS object means that you got the GIS package installed without an issue.&amp;nbsp;&lt;BR /&gt;I tried to run this in Pro Notebook, it didn't work as well, but it did run on local jupyter notebook, although both are using the same python env.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 01:23:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-t-use-gis-object-in-binder-both-in-jupyter-lab/m-p/1049435#M5951</guid>
      <dc:creator>IhabHassan</dc:creator>
      <dc:date>2021-04-21T01:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can't use GIS() object in 'Binder' both in Jupyter Lab and Notebook</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-t-use-gis-object-in-binder-both-in-jupyter-lab/m-p/1049581#M5953</link>
      <description>&lt;P&gt;I'm not sure if this is related, but one of my faculty members brought a similar issue to my attention yesterday. He is unable to get a map to display within a Jupyter Notebook, neither from a local installation nor within ArcGIS Online. I tested this from Online, and am having trouble myself, though I am seeing errors generated even with the most basic usage:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrissyRothgeb_0-1619016010970.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/11424i481D76062C65C150/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrissyRothgeb_0-1619016010970.png" alt="ChrissyRothgeb_0-1619016010970.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've tried multiple browsers, two different logins, and even the sample Notebooks Esri has published throw an error. I'm wondering if the update to AGOL this past week changed something...&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 14:41:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-t-use-gis-object-in-binder-both-in-jupyter-lab/m-p/1049581#M5953</guid>
      <dc:creator>ChrissyRothgeb</dc:creator>
      <dc:date>2021-04-21T14:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can't use GIS() object in 'Binder' both in Jupyter Lab and Notebook</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-t-use-gis-object-in-binder-both-in-jupyter-lab/m-p/1052612#M5988</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/219806"&gt;@ChrissyRothgeb&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;I'm not sure if this is related, but one of my faculty members brought a similar issue to my attention yesterday. He is unable to get a map to display within a Jupyter Notebook, neither from a local installation nor within ArcGIS Online. I tested this from Online &amp;nbsp;&lt;A href="http://www.esenciadeperfume.org/" target="_blank"&gt;Esencia de perfume&lt;/A&gt;, and am having trouble myself, though I am seeing errors generated &amp;nbsp; even with the most basic usage:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrissyRothgeb_0-1619016010970.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/11424i481D76062C65C150/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrissyRothgeb_0-1619016010970.png" alt="ChrissyRothgeb_0-1619016010970.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've tried multiple browsers, two different logins, and even the sample Notebooks Esri has published throw an error. I'm wondering if the update to AGOL this past week changed something...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You must to use a try and cacth for control of exceptions.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 07:32:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-t-use-gis-object-in-binder-both-in-jupyter-lab/m-p/1052612#M5988</guid>
      <dc:creator>evaaasate</dc:creator>
      <dc:date>2021-04-29T07:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can't use GIS() object in 'Binder' both in Jupyter Lab and Notebook</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-t-use-gis-object-in-binder-both-in-jupyter-lab/m-p/1053312#M6000</link>
      <description>&lt;P&gt;I get that you can use try-catch blocks to handle exceptions, but this should not be generating any exceptions. I'm getting the same from the example Notebooks Esri themselves published, and they had no try-catch usage in theirs, so it doesn't appear to be requisite.&lt;/P&gt;&lt;P&gt;Just in testing this, I tried the statement:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;map = gis.map()
map&lt;/LI-CODE&gt;&lt;P&gt;And this worked, if less than useful at only showing an interactive map of the planet:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrissyRothgeb_0-1619803968759.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/12294i0685D2846221D65B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrissyRothgeb_0-1619803968759.png" alt="ChrissyRothgeb_0-1619803968759.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It appears to be an issue with the built-in geocoder, as suggested by the error message:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;SPAN class="ansi-red-fg"&gt;---------------------------------------------------------------------------&lt;/SPAN&gt;
&lt;SPAN class="ansi-red-fg"&gt;AttributeError&lt;/SPAN&gt;                            Traceback (most recent call last)
&lt;SPAN class="ansi-green-fg"&gt;&amp;lt;ipython-input-8-3ea8a60e307b&amp;gt;&lt;/SPAN&gt; in &lt;SPAN class="ansi-cyan-fg"&gt;&amp;lt;module&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-fg"&gt;----&amp;gt; 1&lt;/SPAN&gt; m1 &lt;SPAN class="ansi-blue-fg"&gt;=&lt;/SPAN&gt; gis&lt;SPAN class="ansi-blue-fg"&gt;.&lt;/SPAN&gt;map&lt;SPAN class="ansi-blue-fg"&gt;(&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;'San Diego'&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;      2&lt;/SPAN&gt; m1

&lt;SPAN class="ansi-green-fg"&gt;/opt/conda/lib/python3.7/site-packages/arcgis/gis/__init__.py&lt;/SPAN&gt; in &lt;SPAN class="ansi-cyan-fg"&gt;map&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;(self, location, zoomlevel, mode, geocoder)&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;    955&lt;/SPAN&gt;                 &lt;SPAN class="ansi-green-fg"&gt;else&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;:&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;    956&lt;/SPAN&gt;                     &lt;SPAN class="ansi-green-fg"&gt;for&lt;/SPAN&gt; geocoder &lt;SPAN class="ansi-green-fg"&gt;in&lt;/SPAN&gt; get_geocoders&lt;SPAN class="ansi-blue-fg"&gt;(&lt;/SPAN&gt;self&lt;SPAN class="ansi-blue-fg"&gt;)&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;:&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-fg"&gt;--&amp;gt; 957&lt;/SPAN&gt;                         locations &lt;SPAN class="ansi-blue-fg"&gt;=&lt;/SPAN&gt; geocode&lt;SPAN class="ansi-blue-fg"&gt;(&lt;/SPAN&gt;location&lt;SPAN class="ansi-blue-fg"&gt;,&lt;/SPAN&gt; out_sr&lt;SPAN class="ansi-blue-fg"&gt;=&lt;/SPAN&gt;&lt;SPAN class="ansi-cyan-fg"&gt;4326&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;,&lt;/SPAN&gt; max_locations&lt;SPAN class="ansi-blue-fg"&gt;=&lt;/SPAN&gt;&lt;SPAN class="ansi-cyan-fg"&gt;1&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;,&lt;/SPAN&gt; geocoder&lt;SPAN class="ansi-blue-fg"&gt;=&lt;/SPAN&gt;geocoder&lt;SPAN class="ansi-blue-fg"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;    958&lt;/SPAN&gt;                         &lt;SPAN class="ansi-green-fg"&gt;if&lt;/SPAN&gt; len&lt;SPAN class="ansi-blue-fg"&gt;(&lt;/SPAN&gt;locations&lt;SPAN class="ansi-blue-fg"&gt;)&lt;/SPAN&gt; &lt;SPAN class="ansi-blue-fg"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="ansi-cyan-fg"&gt;0&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;:&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;    959&lt;/SPAN&gt;                             &lt;SPAN class="ansi-green-fg"&gt;if&lt;/SPAN&gt; zoomlevel &lt;SPAN class="ansi-green-fg"&gt;is&lt;/SPAN&gt; &lt;SPAN class="ansi-green-fg"&gt;not&lt;/SPAN&gt; &lt;SPAN class="ansi-green-fg"&gt;None&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;:&lt;/SPAN&gt;

&lt;SPAN class="ansi-green-fg"&gt;/opt/conda/lib/python3.7/site-packages/arcgis/geocoding/_functions.py&lt;/SPAN&gt; in &lt;SPAN class="ansi-cyan-fg"&gt;geocode&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;(address, search_extent, location, distance, out_sr, category, out_fields, max_locations, magic_key, for_storage, geocoder, as_featureset, match_out_of_range, location_type, lang_code, source_country)&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;   1118&lt;/SPAN&gt;         location_type&lt;SPAN class="ansi-blue-fg"&gt;=&lt;/SPAN&gt;location_type&lt;SPAN class="ansi-blue-fg"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;   1119&lt;/SPAN&gt;         lang_code&lt;SPAN class="ansi-blue-fg"&gt;=&lt;/SPAN&gt;lang_code&lt;SPAN class="ansi-blue-fg"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-fg"&gt;-&amp;gt; 1120&lt;/SPAN&gt;&lt;SPAN class="ansi-red-fg"&gt;         source_country=source_country)&lt;/SPAN&gt;&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;   1121&lt;/SPAN&gt; 
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;   1122&lt;/SPAN&gt; 

&lt;SPAN class="ansi-green-fg"&gt;/opt/conda/lib/python3.7/site-packages/arcgis/geocoding/_functions.py&lt;/SPAN&gt; in &lt;SPAN class="ansi-cyan-fg"&gt;_geocode&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;(self, address, search_extent, location, distance, out_sr, category, out_fields, max_locations, magic_key, for_storage, as_featureset, match_out_of_range, location_type, lang_code, source_country)&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;    196&lt;/SPAN&gt;         &lt;SPAN class="ansi-green-fg"&gt;if&lt;/SPAN&gt; address &lt;SPAN class="ansi-green-fg"&gt;is&lt;/SPAN&gt; &lt;SPAN class="ansi-green-fg"&gt;not&lt;/SPAN&gt; &lt;SPAN class="ansi-green-fg"&gt;None&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;:&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;    197&lt;/SPAN&gt;             &lt;SPAN class="ansi-green-fg"&gt;if&lt;/SPAN&gt; isinstance&lt;SPAN class="ansi-blue-fg"&gt;(&lt;/SPAN&gt;address&lt;SPAN class="ansi-blue-fg"&gt;,&lt;/SPAN&gt; str&lt;SPAN class="ansi-blue-fg"&gt;)&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;:&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-fg"&gt;--&amp;gt; 198&lt;/SPAN&gt;                 params&lt;SPAN class="ansi-blue-fg"&gt;[&lt;/SPAN&gt;self&lt;SPAN class="ansi-blue-fg"&gt;.&lt;/SPAN&gt;_address_field&lt;SPAN class="ansi-blue-fg"&gt;]&lt;/SPAN&gt; &lt;SPAN class="ansi-blue-fg"&gt;=&lt;/SPAN&gt; address
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;    199&lt;/SPAN&gt;             &lt;SPAN class="ansi-green-fg"&gt;elif&lt;/SPAN&gt; isinstance&lt;SPAN class="ansi-blue-fg"&gt;(&lt;/SPAN&gt;address&lt;SPAN class="ansi-blue-fg"&gt;,&lt;/SPAN&gt; dict&lt;SPAN class="ansi-blue-fg"&gt;)&lt;/SPAN&gt;&lt;SPAN class="ansi-blue-fg"&gt;:&lt;/SPAN&gt;
&lt;SPAN class="ansi-green-intense-fg ansi-bold"&gt;    200&lt;/SPAN&gt;                 params&lt;SPAN class="ansi-blue-fg"&gt;.&lt;/SPAN&gt;update&lt;SPAN class="ansi-blue-fg"&gt;(&lt;/SPAN&gt;address&lt;SPAN class="ansi-blue-fg"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="ansi-red-fg"&gt;AttributeError&lt;/SPAN&gt;: 'Geocoder' object has no attribute '_address_field'&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I'm just wondering if something changed in AGOL under the hood that their API does not have working. Is anyone else able to get a map to work in an AGOL-hosted Jupyter Notebook using a location or address?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 17:35:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-t-use-gis-object-in-binder-both-in-jupyter-lab/m-p/1053312#M6000</guid>
      <dc:creator>ChrissyRothgeb</dc:creator>
      <dc:date>2021-04-30T17:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can't use GIS() object in 'Binder' both in Jupyter Lab and Notebook</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-t-use-gis-object-in-binder-both-in-jupyter-lab/m-p/1053316#M6001</link>
      <description>&lt;P&gt;I just figured it out. Or, I figured part of it out anyway. We had an additional geocoder service enabled in our organization and set to primary (it's a free geocoder service provided by the state - VGIN). Unfortunately, there appears to be an issue with it, or with our configuration for it. When I moved the ArcGIS World Geocoding Service back to the top, it resolved the issue.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 17:46:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-t-use-gis-object-in-binder-both-in-jupyter-lab/m-p/1053316#M6001</guid>
      <dc:creator>ChrissyRothgeb</dc:creator>
      <dc:date>2021-04-30T17:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can't use GIS() object in 'Binder' both in Jupyter Lab and Notebook</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-t-use-gis-object-in-binder-both-in-jupyter-lab/m-p/1053598#M6009</link>
      <description>&lt;P&gt;I don't think the geocoded is relevant to my problem...&lt;/P&gt;&lt;P&gt;I'm trying to work with Binder.&lt;/P&gt;</description>
      <pubDate>Sun, 02 May 2021 10:34:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-t-use-gis-object-in-binder-both-in-jupyter-lab/m-p/1053598#M6009</guid>
      <dc:creator>ShaiSussman</dc:creator>
      <dc:date>2021-05-02T10:34:11Z</dc:date>
    </item>
  </channel>
</rss>

