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
漏洞 ID 编号
BUG-000168144
已提交
June 7, 2024
上次修改时间
July 8, 2024
适用范围
ArcGIS API for Python
找到的版本
N/A
操作系统
Windows OS
操作系统版本
11.0 64 bit
状态
As Designed
经开发团队审核,已确定此行为符合设计。 有关详细信息,请参阅“其他信息”部分。
附加信息
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.