laptop and a wrench

Bug

Importing a Python code into a toolbox returns an encoding error because, in the SD file, the encoding of the Python file is changed from UTF-8 to ANSI.

Last Published: February 6, 2023 ArcGIS Pro
Bug ID Number BUG-000152132
SubmittedSeptember 7, 2022
Last ModifiedJune 5, 2024
Applies toArcGIS Pro
Version found3.0.1
Operating SystemWindows OS
Operating System VersionN/A
StatusNon-Reproducible

Additional Information

This is fixed in ArcGIS Pro 3.1

Workaround

Update the script on the server side after publishing.

Steps to Reproduce

Bug ID: BUG-000152132

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