Select to view content in your preferred language

Create Simple Data Mapping Errors

57
1
yesterday
BridgetBurgos
New Contributor

Hi, 

Not sure if anyone out there can help with this but I've been having issues with the Create Simple Data Mapping tool. I have the latest version of the UDMS toolbox and ArcPro. None of my feature classes have been throwing errors as I've been cleaning them up, preparing them for UN migration.  Nothing seems amiss with any pre-exsisting subtypes. I've tried closing any open maps. My data is in a re-created file gdb copied from an enterprise gdb. So maybe this has something to do with it? So the feature dataset is still titled, WaterDistribution.DBO.WaterDistribution in the metadata

I'm confused though because I have done this same workflow before and had no issues with this tool. 
Any insight would be appreciated !

 

 

ArcGIS Pro 3.7.1.1901
udms 3.7.1
Executing from ArcGIS Pro, 1 map(s), activeMap = False
Loading Asset Types
Loading Source Layers
Processing 19 datasets
wFitting -> Has Feature Types (fittingtype)
wSystemValve -> Has subtypes (SYSVALVE_SUBTYPE)
wSystemValve -> No Feature Types Found
wNetworkStructure -> Has Feature Types (structtype)
Traceback (most recent call last):
File "C:\xy\MLTMUA Water Migration Working Folder\MLTMUA Water Migration Working Project\UtilityDataManagementSupport 3.7.atbx\CreateSimpleDataMapping.tool\tool.script.execute.py", line 19, in <module>
File "C:\xy\MLTMUA Water Migration Working Folder\MLTMUA Water Migration Working Project\UtilityDataManagementSupport 3.7.atbx\udms\esri.py", line 557, in wrapper
f = func(*args, **kwargs)
File "C:\xy\MLTMUA Water Migration Working Folder\MLTMUA Water Migration Working Project\UtilityDataManagementSupport 3.7.atbx\udms\logic\__init__.py", line 1153, in data_mappings
return sdm.main(existing_mapping)
~~~~~~~~^^^^^^^^^^^^^^^^^^
File "C:\xy\MLTMUA Water Migration Working Folder\MLTMUA Water Migration Working Project\UtilityDataManagementSupport 3.7.atbx\udms\sumt\DataMappings.py", line 599, in main
self.create_mapping_workbook(existing_mapping, None)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\xy\MLTMUA Water Migration Working Folder\MLTMUA Water Migration Working Project\UtilityDataManagementSupport 3.7.atbx\udms\sumt\DataMappings.py", line 509, in create_mapping_workbook
source_info = load_source_layers(self.source_gdb, self.source_types_df, self.get_count)
File "C:\xy\MLTMUA Water Migration Working Folder\MLTMUA Water Migration Working Project\UtilityDataManagementSupport 3.7.atbx\udms\sumt\sumt_common.py", line 239, in load_source_layers
subtype_info, domain_lookup = domain_code_lookup(class_desc)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "C:\xy\MLTMUA Water Migration Working Folder\MLTMUA Water Migration Working Project\UtilityDataManagementSupport 3.7.atbx\udms\sumt\sumt_common.py", line 210, in domain_code_lookup
for subtype_code, subtype_info in arcpy.da.ListSubtypes(desc.catalogPath).items():
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\__init__.py", line 2969, in wrapped
result = obj(*args, **kwargs)
OSError: C:\xy\MLTMUA Water Migration Working Folder\MLTMUA Water Migration Working Project\260803WaterCopy.gdb\WaterDistribution\CIMFeatureDatasetDataConnection>

Failed script Create Simple Data Mapping...
Failed to execute (CreateSimpleDataMapping).

0 Kudos
1 Reply
MikeMillerGIS
Esri Frequent Contributor

Do you have a featureclass that is the same name as your FeatureDataset?  Any way you can package this up and send it to me?  

0 Kudos