Error running Create Utility Network Associations tool

419
2
12-26-2024 01:36 PM
Isaac_King
Occasional Contributor

I am encountering a new error when attempting to create associations in an asset package and hoping y'all might have some insight.

Conditions:

  • ArcGIS Pro 3.3.2
  • UNtools 3.3.3
  • UNv7 (electric)

I have previously run this process successfully in a different instance of this asset package. I am using a new install of Pro as I am using a different machine now. 

I am encountering the following error:

 

A python error occurred.
EXCEPTION
Traceback (most recent call last):
  File "C:\Users\xyzx\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone\Lib\site-packages\untools\common\wrappers.py", line 161, in wrapper
    f = func(*args, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\xyzx\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone\Lib\site-packages\untools\gptools\tools.py", line 476, in run
    sources = len(a.un.describe.domain_networks[1:]) * 4 + 3
                  ^^^^^^^^^^^^^
AttributeError: 'UtilityNetwork' object has no attribute 'describe'

 

pleh 

0 Kudos
2 Replies
Isaac_King
Occasional Contributor

I've now tested this against the asset package included in the Electric Foundation Package and encountered the same error - so at least it's not an issue with my AP!

0 Kudos
PaulLeBlanc1
Esri Regular Contributor

It is a bug with untools -- no asset package will work.

Apologies for that, I've uploaded the very simple fix to anaconda -- untools 3.3.3.1. It only has this fix, hence the additional patch number.

0 Kudos