<?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 Failure to load Point Feature Class from Arc GIS Online using pd.DataFrame.spatial.from_layer(fLayer) in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/failure-to-load-point-feature-class-from-arc-gis/m-p/1190869#M64970</link>
    <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;I have code that I use to modify local, networked layers using the edits made to those layers online. The code has worked successfully for a long time, but after the most recent updates to Arc GIS Pro and Arc GIS Online I am no longer able to create a pandas dataframe from my point layers online. My code was using the portal URL and username and password to grab the data and put in it a spatially enabled pandas dataframe. (Below are some pictures to clarify, the agol_df is the one having issues.)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SarahJStrack_0-1657294259943.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45555i46D9597973C3F350/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SarahJStrack_0-1657294259943.png" alt="SarahJStrack_0-1657294259943.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SarahJStrack_1-1657294305549.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45556i6FCD457585FEA190/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SarahJStrack_1-1657294305549.png" alt="SarahJStrack_1-1657294305549.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Recently I am getting the error:&lt;/P&gt;&lt;P&gt;Could not load the dataset: int() argument must be a string, a bytes-like object or a number, not 'NoneType'&lt;/P&gt;&lt;P&gt;This is strange to me because I am not doing an integer conversion at any point before this part of the code, and the problem persists no matter what fields I remove from my configuration file. I've tested the code on multiple geodatabases and point featueres, networked and not networked and have gotten the same result.&lt;/P&gt;&lt;P&gt;Strangely, my polyline features still work and can form the pandas table.&lt;/P&gt;&lt;P&gt;If anyone has any suggestions it would be much appreciated! I'm completely puzzled by this.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jul 2022 15:40:58 GMT</pubDate>
    <dc:creator>SarahJStrack</dc:creator>
    <dc:date>2022-07-08T15:40:58Z</dc:date>
    <item>
      <title>Failure to load Point Feature Class from Arc GIS Online using pd.DataFrame.spatial.from_layer(fLayer)</title>
      <link>https://community.esri.com/t5/python-questions/failure-to-load-point-feature-class-from-arc-gis/m-p/1190869#M64970</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;I have code that I use to modify local, networked layers using the edits made to those layers online. The code has worked successfully for a long time, but after the most recent updates to Arc GIS Pro and Arc GIS Online I am no longer able to create a pandas dataframe from my point layers online. My code was using the portal URL and username and password to grab the data and put in it a spatially enabled pandas dataframe. (Below are some pictures to clarify, the agol_df is the one having issues.)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SarahJStrack_0-1657294259943.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45555i46D9597973C3F350/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SarahJStrack_0-1657294259943.png" alt="SarahJStrack_0-1657294259943.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SarahJStrack_1-1657294305549.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45556i6FCD457585FEA190/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SarahJStrack_1-1657294305549.png" alt="SarahJStrack_1-1657294305549.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Recently I am getting the error:&lt;/P&gt;&lt;P&gt;Could not load the dataset: int() argument must be a string, a bytes-like object or a number, not 'NoneType'&lt;/P&gt;&lt;P&gt;This is strange to me because I am not doing an integer conversion at any point before this part of the code, and the problem persists no matter what fields I remove from my configuration file. I've tested the code on multiple geodatabases and point featueres, networked and not networked and have gotten the same result.&lt;/P&gt;&lt;P&gt;Strangely, my polyline features still work and can form the pandas table.&lt;/P&gt;&lt;P&gt;If anyone has any suggestions it would be much appreciated! I'm completely puzzled by this.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 15:40:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/failure-to-load-point-feature-class-from-arc-gis/m-p/1190869#M64970</guid>
      <dc:creator>SarahJStrack</dc:creator>
      <dc:date>2022-07-08T15:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Failure to load Point Feature Class from Arc GIS Online using pd.DataFrame.spatial.from_layer(fLayer)</title>
      <link>https://community.esri.com/t5/python-questions/failure-to-load-point-feature-class-from-arc-gis/m-p/1219645#M65769</link>
      <description>&lt;P&gt;You mentioned updates to ArcGIS Online, but then you mention you're getting the data from Portal.&amp;nbsp; Your code also seems to indicate you're accessing portal.&amp;nbsp; I'll assume that.&amp;nbsp; You copied and pasted one error, but usually Python returns a call stack.&amp;nbsp; Could you paste that in?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 22:24:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/failure-to-load-point-feature-class-from-arc-gis/m-p/1219645#M65769</guid>
      <dc:creator>RogerDunnGIS</dc:creator>
      <dc:date>2022-10-06T22:24:41Z</dc:date>
    </item>
  </channel>
</rss>

