PROBLEM
Esri Demographics map services fuel color coding capabilities in ArcGIS Business Analyst Web App and ArcGIS Business Analyst Desktop. It is essential for these services to be published during the installation process, after installing the Business Analyst data.
The publish.py file for deploying Esri Demographics services is located in the following file path:
<Data Install Path>\ServiceDefinitions\publish.py
The sample image below demonstrates a successful run of the publish.py file.
However, in some cases, the script fails and returns the following exception:
Error: TypeError: object of type 'NoneType' has no len()
This process is no longer applicable with the introduction of ArcGIS Business Analyst Enterprise 10.7 and later.
ArcGIS GIS Server and Portal for ArcGIS are installed on different machines. Deploying Esri Demographics services requires access to both Esri specific modules from the Portal for ArcGIS machine, and the Python modules from the Python27 folder installed with ArcGIS GIS Server.
The publish.py script runs successfully when both ArcGIS GIS Server and Portal for ArcGIS are installed on the same machine. However, if both software components are installed on different machines, follow the instructions below to publish the Esri Demographics services manually.
C:\ArcGIS\Business Analyst\<Data>
Article ID: 000017632
Get help from ArcGIS experts
Download the Esri Support App