| Numéro d’ID de bogue |
BUG-000141889 |
| Envoi | August 2, 2021 |
| Dernière modification | March 20, 2025 |
| S’applique à | ArcGIS Pro |
| Version trouvée | 2.8.1 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 10.0 |
| Statut | Will Not Be Addressed
L’équipe de développement a examiné le problème ou la demande et a décidé qu’ils ne seraient pas traités. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
There are two errors in the user's script:
1. The workspace path must not include the actual table. For example, arcpy.env.workspace = r"D:\-user-\Cases\Open_cases\02849687\US_cities.gdb"
The user's script includes the table in the workspace path, which caused error 000735.
2. Using the list syntax in Python requires another set of quotes, single quotes, around the field values. For example, arcpy.CalculateFields_management(r"C:\Users\-name-\Documents\ArcGIS\Packages\U.S.Cities_a015c0\p20\us_cities.gdb\cities", "PYTHON3",[["Name", "'Test1'"], ["Office", "'z'"]]).
The single quotes are missing from the script.
Étapes pour reproduire
ID de bogue: BUG-000141889
Logiciel: