Unable to rename during apply asset package

1238
8
Jump to solution
11-17-2021 12:06 AM
PierreloupDucroix
Occasional Contributor II

Hi,

I am trying to apply the Electric Asset Package from the Electric Data Management for ArcGIS Enterprise.

Every time I try to use the D_rename table to translate to non-English language, it fails with error :

ERROR 002123: No summary attributes were found matching input network attribute type.
Failed to execute (SetSubnetworkDefinition).

What I have done so far :

- upgrade Asset Package to the proper version (untools version 2.9.0, but it was the same with 2.8.2) -> OK

- Stage utility Network in a file geodatabase or a mobile geodatabase -> OK

- Apply Asset Package with several tests:

-- rename using French, also tried with German, Chinese --> Error

-- add another field to D_rename and copy the values of field "current name" (in English) -> OK

-- truncate French values to =< 32 characters -> Error

-- Remove all special characters (ie. é,â,', etc...) -> Error

 

A bug (https://support.esri.com/fr/bugs/nimbus/QlVHLTAwMDE0MzYyMg==) was referencing this specific error, but it has now change and says it is due to value length.

Has anyone succeeded in using this functionality ?

Regards

0 Kudos
1 Solution

Accepted Solutions
PaulLeBlanc1
Esri Contributor

There is also a second bug in untools.

Here is a RC you can test with https://anaconda.org/solutionsdev/untools/files

  1. Open a python command prompt
  2. conda install -c solutionsdev/label/pro2.9 untools

 

untools 2.9.1 is tentatively scheduled for a public release in December.

View solution in original post

0 Kudos
8 Replies
MikeMillerGIS
Esri Frequent Contributor

Attached is an updated rename table with length issues resolved.  We have identified a bug with terminal configuration and working on a fix.  I will post here when a fix is available.

0 Kudos
PierreloupDucroix
Occasional Contributor II

Thank you, Mike,

After removing the D_rename table from my asset package et copying the new one, it still fails with the same error.

I tried both a file geodatabase (.gdb) et a mobile (.geodatabase)

What was the workaround in your D_rename table ?

Below is the log file:

 

Apply Asset Package
=====================
Parameters

Asset Package D:\UN\Databases\Electric_AssetPackage_v29.gdb
Domain Networks to apply Structure;Electric
Input Utility Network D:\UN\AP_load_fr.gdb\fd\un
Load data INCLUDE_DATA
Calculate Spatial Index and Analyze ANALYZE
Output Utility Network
Configurations to apply 'Transmission Tier';'SubTransmission Tier';'Distribution Tier';'Unbalanced Polyphase';'Metric Unit Attributes'
Rename using French
Post Process NO_POST_PROCESS
=====================
Messages

Start Time: jeudi 18 novembre 2021 08:48:11
ArcGIS Pro 2.9.32739
untools 2.9.0
Executing from ArcGIS Pro, 0 map(s), activeMap = False
Parallel processing enabled: 3

Asset Package schema version: 2.9
Staging directory -- D:\UN\Databases\AP_Workspace31
Failed to execute. Parameters are not valid.
ERROR 002123: No summary attributes were found matching input network attribute type.
Failed to execute (SetSubnetworkDefinition).

Failed to execute (AssetPackageToUtilityNetwork).
Failed at jeudi 18 novembre 2021 08:59:51 (Elapsed Time: 11 minutes 39 seconds)

0 Kudos
PaulLeBlanc1
Esri Contributor

There is also a second bug in untools.

Here is a RC you can test with https://anaconda.org/solutionsdev/untools/files

  1. Open a python command prompt
  2. conda install -c solutionsdev/label/pro2.9 untools

 

untools 2.9.1 is tentatively scheduled for a public release in December.

0 Kudos
PierreloupDucroix
Occasional Contributor II

Hi Paul,

It works with the 2.9.0.3 RC

Thank you very much

0 Kudos
WendyBerelson
New Contributor III

Hi @PaulLeBlanc1 . I am having the same issue. Below is the error message. I'm trying to apply the asset package to my test enterprise DB at version 5 of the UN. I see my asset package was 2.7 should I download the newest one for Electric and do you think that will solve my issue? I just upgraded to Pro to 2.9.1. I have run this asset package on a fgdb and it worked. Thanks for any help. 

Start Time: Friday, February 04, 2022 12:56:01 PM
ArcGIS Pro 2.9.1.32739
untools 2.9.0
Executing from ArcGIS Pro, 7 map(s), activeMap = False
Parallel processing enabled: 6
Asset Package schema version: 2.7
Staging directory -- M:\PhysicalPlant\ESRI_Utility_Network\Testing\ElectricDataManagementForArcGISEnterpriseV1\AP_Workspace2
ERROR 002123: No summary attributes were found matching input network attribute type.
Failed to execute (SetSubnetworkDefinition).
Failed to execute (AssetPackageToUtilityNetwork).
Failed at Friday, February 04, 2022 1:10:11 PM (Elapsed Time: 14 minutes 9 seconds)
0 Kudos
PaulLeBlanc1
Esri Contributor

Hi Wendy,

 

Can you retry after upgrading untools to 2.9.1 ? This bug was resolved there.

0 Kudos
WendyBerelson
New Contributor III

Hi @PaulLeBlanc1 , I tried running it with UNtools 2.9.1 but still get the same error (see below). I did not have the transmission tier checked or add data. Also, I am running the 2.7 asset package schema should that matter? I was trying not to have to go through downloading the newest one and configuring (e. g. reproject) the asset package. Any further thoughts? Thanks, Wendy 

Apply Asset Package
=====================
Parameters

Asset Package M:\PhysicalPlant\ESRI_Utility_Network\Electric\ElectricDataManagementForArcGISEnterpriseV1_WLB\Electric_AssetPackage_Change.gdb
Domain Networks to apply Structure;Electric
Input Utility Network C:\Users\berelson\AppData\Roaming\Esri\ArcGISPro\Favorites\UN_User1.sde\invision_shortTest.UN_USER1.ElectricUN_test6\invision_shortTest.UN_USER1.Electric1
Load data SCHEMA_ONLY
Calculate Spatial Index and Analyze ANALYZE
Output Utility Network
Configurations to apply 'SubTransmission Tier';'Distribution Tier';'Unbalanced Polyphase';'Metric Unit Attributes';'Imperial Unit Attributes'
Rename using
Post Process NO_POST_PROCESS
=====================
Messages

Start Time: Monday, February 07, 2022 11:07:39 AM
ArcGIS Pro 2.9.1.32739
untools 2.9.1
Executing from ArcGIS Pro, 7 map(s), activeMap = False
Parallel processing enabled: 6

Asset Package schema version: 2.7
Staging directory -- M:\PhysicalPlant\ESRI_Utility_Network\Electric\ElectricDataManagementForArcGISEnterpriseV1_WLB\AP_Workspace3
ERROR 002123: No summary attributes were found matching input network attribute type.
Failed to execute (SetSubnetworkDefinition).

Failed to execute (AssetPackageToUtilityNetwork).
Failed at Monday, February 07, 2022 11:15:28 AM (Elapsed Time: 7 minutes 49 seconds)

0 Kudos
PaulLeBlanc1
Esri Contributor

Even though you are getting the same error message, this appears to be a separate bug. The first fix was specific to using the D_Rename table, which you are not using here.

M:\PhysicalPlant\ESRI_Utility_Network\Electric\ElectricDataManagementForArcGISEnterpriseV1_WLB\AP_Workspace3

Can you zip that up and send it to me? I'll send you a direct message.

 

0 Kudos