<?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 'NoneType' object has no attribute '_tbx' in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/nonetype-object-has-no-attribute-tbx/m-p/1367127#M9484</link>
    <description>&lt;P&gt;I have been trying to run the code on this page in a notebook;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/guide/part2-find-routes/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/python/guide/part2-find-routes/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;it worked fine until I got to this section:&lt;/P&gt;&lt;P&gt;With output_name specified&lt;/P&gt;&lt;P&gt;I got this error using the exact code on this page.&lt;/P&gt;&lt;P&gt;I installed my API with ArcPro and run it from VS Code the other code before this worked just fine.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ElizmayVos_0-1704566435926.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90765i0A87682EE05E41E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ElizmayVos_0-1704566435926.png" alt="ElizmayVos_0-1704566435926.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;This GIS does not support spatial analysis. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;---------------------------------------------------------------------------&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;AttributeError&lt;/SPAN&gt;&lt;SPAN class=""&gt; Traceback (most recent call last) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;timed exec&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt; in &lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;module&amp;gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;A target="_blank" rel="noopener"&gt;c:\Program&amp;nbsp;&lt;/A&gt;Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\features\use_proximity.py&lt;/SPAN&gt;&lt;SPAN class=""&gt; in &lt;/SPAN&gt;&lt;SPAN class=""&gt;plan_routes&lt;/SPAN&gt;&lt;SPAN class=""&gt;(stops_layer, route_count, max_stops_per_route, route_start_time, start_layer, start_layer_route_id_field, return_to_start, end_layer, end_layer_route_id_field, travel_mode, stop_service_time, max_route_time, include_route_layers, output_name, context, gis, estimate, point_barrier_layer, line_barrier_layer, polygon_barrier_layer, future)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; 1554&lt;/SPAN&gt;&lt;SPAN class=""&gt; } &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; 1555&lt;/SPAN&gt;&lt;SPAN class=""&gt; params = inspect_function_inputs(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;-&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;1556&lt;/SPAN&gt; &lt;SPAN class=""&gt;fn&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;gis&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;_tools&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;featureanalysis&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;_tbx&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;plan_routes&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;**&lt;/SPAN&gt;&lt;SPAN class=""&gt;kwargs&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; 1557&lt;/SPAN&gt;&lt;SPAN class=""&gt; ) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; 1558&lt;/SPAN&gt; &lt;SPAN class=""&gt;params&lt;/SPAN&gt;&lt;SPAN class=""&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;"estimate"&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;estimate&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;AttributeError&lt;/SPAN&gt;&lt;SPAN class=""&gt;: 'NoneType' object has no attribute '_tbx'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 06 Jan 2024 18:52:25 GMT</pubDate>
    <dc:creator>ElizmayVos</dc:creator>
    <dc:date>2024-01-06T18:52:25Z</dc:date>
    <item>
      <title>'NoneType' object has no attribute '_tbx'</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/nonetype-object-has-no-attribute-tbx/m-p/1367127#M9484</link>
      <description>&lt;P&gt;I have been trying to run the code on this page in a notebook;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/guide/part2-find-routes/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/python/guide/part2-find-routes/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;it worked fine until I got to this section:&lt;/P&gt;&lt;P&gt;With output_name specified&lt;/P&gt;&lt;P&gt;I got this error using the exact code on this page.&lt;/P&gt;&lt;P&gt;I installed my API with ArcPro and run it from VS Code the other code before this worked just fine.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ElizmayVos_0-1704566435926.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/90765i0A87682EE05E41E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ElizmayVos_0-1704566435926.png" alt="ElizmayVos_0-1704566435926.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;This GIS does not support spatial analysis. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;---------------------------------------------------------------------------&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;AttributeError&lt;/SPAN&gt;&lt;SPAN class=""&gt; Traceback (most recent call last) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;timed exec&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt; in &lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;module&amp;gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;A target="_blank" rel="noopener"&gt;c:\Program&amp;nbsp;&lt;/A&gt;Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\features\use_proximity.py&lt;/SPAN&gt;&lt;SPAN class=""&gt; in &lt;/SPAN&gt;&lt;SPAN class=""&gt;plan_routes&lt;/SPAN&gt;&lt;SPAN class=""&gt;(stops_layer, route_count, max_stops_per_route, route_start_time, start_layer, start_layer_route_id_field, return_to_start, end_layer, end_layer_route_id_field, travel_mode, stop_service_time, max_route_time, include_route_layers, output_name, context, gis, estimate, point_barrier_layer, line_barrier_layer, polygon_barrier_layer, future)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; 1554&lt;/SPAN&gt;&lt;SPAN class=""&gt; } &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; 1555&lt;/SPAN&gt;&lt;SPAN class=""&gt; params = inspect_function_inputs(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;-&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;1556&lt;/SPAN&gt; &lt;SPAN class=""&gt;fn&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;gis&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;_tools&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;featureanalysis&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;_tbx&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;plan_routes&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;**&lt;/SPAN&gt;&lt;SPAN class=""&gt;kwargs&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; 1557&lt;/SPAN&gt;&lt;SPAN class=""&gt; ) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; 1558&lt;/SPAN&gt; &lt;SPAN class=""&gt;params&lt;/SPAN&gt;&lt;SPAN class=""&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;"estimate"&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;estimate&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;AttributeError&lt;/SPAN&gt;&lt;SPAN class=""&gt;: 'NoneType' object has no attribute '_tbx'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 06 Jan 2024 18:52:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/nonetype-object-has-no-attribute-tbx/m-p/1367127#M9484</guid>
      <dc:creator>ElizmayVos</dc:creator>
      <dc:date>2024-01-06T18:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: 'NoneType' object has no attribute '_tbx'</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/nonetype-object-has-no-attribute-tbx/m-p/1367132#M9485</link>
      <description>&lt;P&gt;What type of AGOL account do you have?&amp;nbsp; All the right privileges/user types and role?&amp;nbsp; credit usage, Data Editor, Creator etc.?&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jan 2024 20:35:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/nonetype-object-has-no-attribute-tbx/m-p/1367132#M9485</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2024-01-06T20:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: 'NoneType' object has no attribute '_tbx'</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/nonetype-object-has-no-attribute-tbx/m-p/1367151#M9486</link>
      <description>&lt;P&gt;ArcGIS for personal use license, Administrator, Organization on ArcGIS Online.&lt;/P&gt;&lt;P&gt;I use my Username and Password to connect to ArcGIS.com&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2024 01:48:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/nonetype-object-has-no-attribute-tbx/m-p/1367151#M9486</guid>
      <dc:creator>ElizmayVos</dc:creator>
      <dc:date>2024-01-07T01:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: 'NoneType' object has no attribute '_tbx'</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/nonetype-object-has-no-attribute-tbx/m-p/1368157#M9503</link>
      <description>&lt;P&gt;I get the same error when trying to add an item to my Portal, as per the &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#contentmanager" target="_self"&gt;documentation&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;gis_saml.content.add(item_properties = {"type": "Feature Collection","title" : "US Hurricane Data","tags": "Hurricanes, Natural Disasters, USA","description" : "Aggregated USA Hurricane Data for 2020","commentsEnabled" : False})&lt;/P&gt;&lt;P&gt;I'm working from Pro 10.9.1 (Python environment cloned and updated) to Enterprise 10.9.1.&lt;/P&gt;&lt;P&gt;As I'm new to the API I presumed I'm doing something wrong..., but possibly there's more to this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 22:18:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/nonetype-object-has-no-attribute-tbx/m-p/1368157#M9503</guid>
      <dc:creator>AbeCoughlin</dc:creator>
      <dc:date>2024-01-09T22:18:11Z</dc:date>
    </item>
  </channel>
</rss>

