Hi everyone!
E have seen many posts about this problematic tool. Here is my error log:
Start Time: 04 юни 2024 г. 10:16:24
ArcGIS Pro 3.1.5.41833
untools 3.1.1
Executing from ArcGIS Pro, 6 map(s), activeMap = False
Parallel processing enabled: 6
Asset Package schema version: 3.1
A python error occurred.
EXCEPTION
Traceback (most recent call last):
File "C:\Users\JC\AppData\Local\ESRI\conda\envs\electrohold\Lib\site-packages\untools\common\wrappers.py", line 159, in wrapper
f = func(*args, **kwargs)
File "C:\Users\JC\AppData\Local\ESRI\conda\envs\electrohold\Lib\site-packages\untools\gptools\tools.py", line 609, in run
ap = ap_constructor(
File "C:\Users\JC\AppData\Local\ESRI\conda\envs\electrohold\Lib\site-packages\untools\gptools\tools.py", line 53, in ap_constructor
ap = AssetPackage(
File "C:\Users\JC\AppData\Local\ESRI\conda\envs\electrohold\Lib\site-packages\untools\utility_network\ap.py", line 93, in __init__
EvaluateConfiguration(self, configurations).main()
File "C:\Users\JC\AppData\Local\ESRI\conda\envs\electrohold\Lib\site-packages\untools\utility_network\configure.py", line 1223, in main
self.fix_xml()
File "C:\Users\JC\AppData\Local\ESRI\conda\envs\electrohold\Lib\site-packages\untools\utility_network\configure.py", line 1175, in fix_xml
self.un_items = self._collect_asset_groups_types(lookup)
File "C:\Users\JC\AppData\Local\ESRI\conda\envs\electrohold\Lib\site-packages\untools\utility_network\configure.py", line 672, in _collect_asset_groups_types
asset_type_domains.add(asset_group.asset_type_domain.name.casefold())
File "C:\Users\JC\AppData\Local\ESRI\conda\envs\electrohold\Lib\site-packages\untools\common\wrappers.py", line 413, in wrapper
return func(*args, **kwargs)
File "C:\Users\JC\AppData\Local\ESRI\conda\envs\electrohold\Lib\site-packages\untools\describe\controllers\utility_network.py", line 353, in asset_type_domain
return self.parent.table.subtypes.get_id(self.code).fields.get("AssetType").domain
AttributeError: 'NoneType' object has no attribute 'fields'
Failed to execute (AssetPackageToFileGeodatabase).
Any Ideas?
Can you create a new python clone. install the untool and try again. We typical see this type of error when the python environment gets messed up
Unfortunately a have done this already, no result, same error.
Hello, did you find a solution to this? I'm in the same situation
We would need a schema only asset package to look any deeper then.