laptop and a wrench

Bug

Unable to delete existing folders created using a Python script through the ArcGIS Notebook interface.

ArcGIS Online
Bug ID Number BUG-000149692
SubmittedJune 2, 2022
Last ModifiedJune 5, 2024
Applies toArcGIS Online
Version found10.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed2023.R01
StatusFixed

Workaround

Use the following Python script to delete the folder:

 

from arcgis.gis import GIS

import os

import shutil

gis = GIS("home")

shutil.rmtree(r"/arcgis/home/Folder_Name")

 

Note: For 'Folder_Name', paste the name of the ArcGIS Notebook folder that must be removed.

Steps to Reproduce

Bug ID: BUG-000149692

Software:

  • ArcGIS Online

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