laptop and a wrench

Bug

Unable to publish hosted services using the ArcPy FeatureSharingDraft script if the file path or project name contains special characters (characters from other languages such as Chinese characters).

ArcGIS API for Python
Bug-ID-Nummer BUG-000168144
EingereichtJune 7, 2024
Zuletzt geändertJuly 8, 2024
Gilt fürArcGIS API for Python
Gefunden in VersionN/A
BetriebssystemWindows OS
Betriebssystemversion11.0 64 bit
StatusAs Designed

Zusätzliche Informationen

When creating a service definition draft file (.sddraft), the aprx file name and location are written inside. The error happens because the Python XML Document Object Model (DOM) module does not support special characters. This is not an ArcPy issue, but the expected behavior of the specific Python module. Use a different module that supports non-English characters.

Schritte zur Reproduzierung

Bug-ID: BUG-000168144

Software:

  • ArcGIS API for Python

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln