Hi, all!
I tried many times, with may different variant, but no luck to apply an Asset Package to a Utility Network file .GDB:
Here is the message:
ArcGIS Pro 3.2.2.49743
untools 3.2.0
Executing from ArcGIS Pro, 0 map(s), activeMap = False
Parallel processing enabled: 6
Asset Package schema version: 3.1
Staging directory -- C:\UN_V2_2\ZERO\AP_Workspace
The asset package has the following warnings (13/13):
Item Field OID Value Message Level
0 ElectricAssembly CustAtt_heightReferenceSurveyingZ None None This field is too long for some database platforms warning
1 ElectricDevice TapchangerDriveDateManufacture None None This field is too long for some database platforms warning
2 ElectricDevice Triggering_ShortCircuitCurrent None None This field is too long for some database platforms warning
3 ElectricDevice CustAtt_typeCustomerServicepoint None None This field is too long for some database platforms warning
4 ElectricDevice NoDomain_BreakingChInsulMedium None None This field is too long for some database platforms warning
5 ElectricDevice CustAtt_heightReferenceSurveyingz None None This field is too long for some database platforms warning
6 ElectricJunction CustAtt_heightReferenceSurveyingZ None None This field is too long for some database platforms warning
7 ElectricJunctionObject TapchangerDriveDateManufacture None None This field is too long for some database platforms warning
8 ElectricJunctionObject NoDomain_BreakingChInsulMedium None None This field is too long for some database platforms warning
9 ElectricLine CustAtt_heightReferenceSurveyingz None None This field is too long for some database platforms warning
10 StructureBoundary CustAtt_heightReferenceSurveyingz None None This field is too long for some database platforms warning
11 StructureJunction CustAtt_heightReferenceSurveyingZ None None This field is too long for some database platforms warning
12 StructureLine CustAtt_heightReferenceSurveyingZ None None This field is too long for some database platforms warning
C:\UN_V2_2\ZERO\AP_Workspace\xml\ElectricLine_2_EditorTracking-AttributeRules.xml:255
ERROR 002717: Invalid Arcade expression, Arcade error: Table not found LineTypeLib, Script line: 1 [LineTypeLib]
WARNING 000952: Failed to execute (AddAttributeRule).
C:\UN_V2_2\ZERO\AP_Workspace\xml\ElectricLine_2_EditorTracking-AttributeRules.xml:288
ERROR 002717: Invalid Arcade expression, Arcade error: Table not found LineTypeLib, Script line: 1 [LineTypeLib]
WARNING 000952: Failed to execute (AddAttributeRule).
C:\UN_V2_2\ZERO\AP_Workspace\xml\ElectricLine_2_EditorTracking-AttributeRules.xml:321
ERROR 002717: Invalid Arcade expression, Arcade error: Table not found LineTypeLib, Script line: 2 [LineTypeLib]
WARNING 000952: Failed to execute (AddAttributeRule).
C:\UN_V2_2\ZERO\AP_Workspace\xml\ElectricLine_2_EditorTracking-AttributeRules.xml:364
ERROR 002717: Invalid Arcade expression, Arcade error: Table not found LineTypeLib, Script line: 2 [LineTypeLib]
WARNING 000952: Failed to execute (AddAttributeRule).
Failed script Apply Asset Package...
Failed to execute (AssetPackageToUtilityNetwork).
What I understand: the script can't find the LineTypeLib in the Asset package, but it is there!
No open maps, the asset package is added to the project, everithyng seems ok, but,...
The prpblematic code is (maybe):
(ElectricLine_2_EditorTracking-AttributeRules.xml):
row 255:
I'm done, please help!
ArcGIS Pro 3.2.
Untools 3.2
The Asset package is upgraded,
The table is present,
This issue requires all 4 of these very specific settings:
I'll get this fixed in the next patch releases of untools 3.1/3.3. I can provide a release candidate with this fix -- which version of Pro would you prefer?
I have installed ArcGIS Pro 3.3, so a patch for 3.3 is OK, thanks!
Open a python command prompt and run the following, which will install the next release of untools 3.3.x
conda install solutionsdev/label/pro3.3::untools
Thank you, Paul!
I'll test it and will give a feedback.