laptop and a wrench

Bug

The 'add_table' function of arcgis.mapping.module does not work in ArcGIS Online Notebooks, and an error message "AttributeError: 'NoneType' object has no attribute 'json'" is returned.

Last Published: April 6, 2021 ArcGIS API for Python
Bug ID Number BUG-000138023
SubmittedMarch 9, 2021
Last ModifiedJune 5, 2024
Applies toArcGIS API for Python
Version found1.8.4
Operating SystemWindows OS
Operating System VersionN/A
StatusNon-Reproducible

Additional Information

This is an issue present in the mapping module of ArcGIS Python API (arcgis - v1.8.1) which is fixed in ArcGIS Online Notebooks for the 9.1 release (in April) - the arcgis module is upgraded to v1.8.4 for 5.0 runtime versions. In the meantime, manually upgrade the arcgis package inside the notebook (using pip or conda) or downgrade the runtime of notebook item to a 3.0 version via the item details page. NOTE: if upgrading through pip or conda (example, pip install arcgis --upgrade), need to restart the kernel before continuing.

Workaround

Use a different Python environment such as ArcGIS Pro notebooks, Conda or Google Colab.

Steps to Reproduce

Bug ID: BUG-000138023

Software:

  • ArcGIS API for Python

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options