laptop and a wrench

Bogue

When the regional settings of the PC are set to decimal symbol ',' and digit grouping symbol '.' the Find Local Peaks Or Valleys tool returns the following error message, "could not convert string to float".

Dernière publication: December 14, 2021 ArcGIS Pro
Numéro d’ID de bogue BUG-000144269
EnvoiNovember 4, 2021
Dernière modificationJune 24, 2025
S’applique àArcGIS Pro
Version trouvéeN/A
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
Version de correction3.0
StatutFixed

Solution de contournement

  1. Change the computer regional settings to set the decimal symbol to '.' and the digit grouping symbol to ','.
  2. Alter the code inside the Python script located in: C:\Program Files\ArcGIS\Pro\Resources\ArcToolBox\Scripts) and include a local module. For example: locale.setlocale(locale.LC_ALL, ' ').

Étapes pour reproduire

ID de bogue: BUG-000144269

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement