Select to view content in your preferred language

Pro 3.4.3 - Calculate Geometry usually fails on SDE layers

238
1
04-11-2025 11:42 AM
KeithAddison1
Frequent Contributor

Ever since going to 3.4 the calculate geometry tool frequents fails with the below error message.  It seems to only happen on SDE housed layers.  Sometimes it will work after rebooting the machine.  It works fine in ArcMAP.

 

Traceback (most recent call last):
File "c:\program files\arcgis\pro\Resources\ArcToolbox\scripts\calculategeometry.py", line 368, in <module>
CalculateGeometry(fc, properties, lUnit, aUnit, cs, cformat)
File "c:\program files\arcgis\pro\Resources\ArcToolbox\scripts\calculategeometry.py", line 179, in CalculateGeometry
fidxes = [ucur.fields.index(cprop[0]) for cprop in properties]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\program files\arcgis\pro\Resources\ArcToolbox\scripts\calculategeometry.py", line 179, in <listcomp>
fidxes = [ucur.fields.index(cprop[0]) for cprop in properties]
^^^^^^^^^^^
RuntimeError: workspace already in transaction mode

1 Reply
DanPatterson
MVP Esteemed Contributor

bug, fix coming

BUG-000172838 for ArcGIS Pro


... sort of retired...