Skip to main content
Question

Python Exception <AttributeError>: 'NoneType' object has no attribute 'name' I am facing this error, while reading the feature from dataset. This is coming in Feature Reader. Using latest FME version 2023.0.


FME errorCapture

6 replies

david_r
Celebrity
  • June 16, 2023

Can you please tell us which format you're reading, as well as post the entire log.

It does look like something you might want to send to Safe support.


  • Author
  • June 16, 2023

Hi david_r

I am using format: Esri ArcGIS Server Feature Service

Actually this pipeline was running accurately 2, 3 days ago but now its showing this python error.

I have attached log file.

Also can you please tell me is there a way I can generate python script of it? This is using python interpretor


david_r
Celebrity
  • June 16, 2023
sanashaikh wrote:

Hi david_r

I am using format: Esri ArcGIS Server Feature Service

Actually this pipeline was running accurately 2, 3 days ago but now its showing this python error.

I have attached log file.

Also can you please tell me is there a way I can generate python script of it? This is using python interpretor

I was able to reproduce the same error with FME 2022 when connecting to https://mapservices.weather.noaa.gov/tropical/rest/services/tropical/NHC_tropical_weather_summary/MapServer/ and reading the layer "Seven-Day Probability Outlook Line". It might well be a bug, but it might also be something that's problematic with this particular layer.

My recommendation is that you forward the issue to your FME reseller (or Safe support directly), pointing to this thread.

 


  • Author
  • June 16, 2023

@safesoftware safesoftware​  Can you please help?


Forum|alt.badge.img

@safesoftware safesoftware​ 

same error trying to access to this dataset

https://maps.elbertcounty-co.gov/data/rest/services/Road_Centerlines_of_Elbert_County_Colorado/FeatureServer/24


davechoi
Safer
Forum|alt.badge.img+7
  • Safer
  • July 16, 2025

Python Exception <AttributeError>: 'NoneType' object has no attribute 'name'

This bug occurs when reading ArcGIS Server Feature Services. Specifically, it is triggered if the server returns an attribute whose name does not match the layer schema; the error originates in the underlying python script for the ArcGIS Feature Service Format for the standalone reader and FeatureReader. This issue was resolved in FME Form 2024.2.

If you’re using any FME Form 2024 version earlier than 2024.2, you can read ArcGIS Server Feature Services by using the Esri ArcGIS Connector FME package (https://hub.fme.co/publishers/safe/packages/esri-agol/).

If you’re using a version earlier than FME Form 2024, you’ll need to use the HTTPCaller method to access ArcGIS Server Feature Services. The attached zipped workspace can read ArcGIS Server Feature Services. Please note that this workspace was created with FME Form 2023.2.4 and may require manual adjustments if you wish to open it in earlier versions of FME Form or FME Desktop.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings