laptop and a wrench

Bug

When running a stand-alone script using arcpy.Describe function, the script fails in 10.0 SP5 with IOError: "layername" does not exist.

Last Published: August 25, 2014 ArcGIS for Desktop
Bug ID Number NIM083421
SubmittedAugust 3, 2012
Last ModifiedApril 28, 2025
Applies toArcGIS for Desktop
Version found10.0
Operating SystemWindows OS
Operating System Version7
Version Fixed10.1
StatusFixed

Workaround

Run the Describe function as a script tool or within the Python window in ArcMap.1. Open test10.mxd2. Paste Python code into Python window > press Enter (the code will run but will not show anything).Or1. Open test10.mxd.2. Navigate to the i8701 folder within the Catalog window.3. Right-click i8701 window and choose New > Toolbox.4. Name it Scripttest.tbx.5. Right-click Scripttest.tbx > Add > Script.6. Change the Name and Label to Scripttest > choose Next.7. Browse to and select the <a href="http://testDescribe100.py" target="_blank">testDescribe100.py</a> script > choose Open > Next > Finish.8. Double-click "testDescribe100" to open the tool > click OK.9. Tool should execute successfully.

Steps to Reproduce

Bug ID: NIM083421

Software:

  • ArcGIS for Desktop

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