laptop and a wrench

Bug

When the script tool is embedded, the script tool fails with the error message, "__file__ is not defined" in ArcGIS Pro 2.9.

Last Published: June 30, 2022 ArcGIS Pro
Bug ID Number BUG-000145758
SubmittedJanuary 5, 2022
Last ModifiedOctober 7, 2024
Applies toArcGIS Pro
Version found2.9
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusNon-Reproducible

Additional Information

This issue in not reproducible in ArcGIS 3.0.

Steps to Reproduce

Bug ID: BUG-000145758

Software:

  • ArcGIS Pro

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