laptop and a wrench

Error

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
Número de ID del error BUG-000168144
EnviadoJune 7, 2024
Última modificaciónJuly 8, 2024
Relacionado conArcGIS API for Python
Versión encontradaN/A
Sistema operativoWindows OS
Versión de sistema operativo11.0 64 bit
EstadoAs Designed

Información adicional

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.

Pasos para reproducir

ID del error: BUG-000168144

Software:

  • ArcGIS API for Python

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga