Utility-Data-Management-Support-Tools icon indicating copy to clipboard operation
Utility-Data-Management-Support-Tools copied to clipboard

Summarize and Report tools returning errors

Open areynolds15 opened this issue 1 year ago • 9 comments

When running the Asset Package Configuration Report and Asset Package Rename Report on the Naperville example Asset Package, I get errors relating to "AttributeError: 'Series' object has no attribute 'iteritems'"

Running on ArcGIS Pro 3.2.1 with the UtilityDataManagementSupport_31.atbx. Database and ArcGIS Pro are in an AWS workspace.

The Summarize Attribute Rules error is different from the other two tools. Both log files attached. Summarize Attribute Rules_error.txt Asset Package Configuration Report_error.txt

areynolds15 avatar Feb 02 '24 15:02 areynolds15

can you post a screen shot of the GP call?

MikeMillerGIS avatar Feb 02 '24 15:02 MikeMillerGIS

attached here. GP_SummarizeARs GP_configurationReport

areynolds15 avatar Feb 02 '24 16:02 areynolds15

Could you try this toolset? https://github.com/Esri/Utility-Data-Management-Support-Tools/blob/Preview3.1.2/UtilityDataManagementSupport.atbx

We believe there was a change in pandas from 3.1 to 3.2. The link above was compiled for 3.2

MikeMillerGIS avatar Feb 05 '24 19:02 MikeMillerGIS

The "Report and Summarize Attribute Rules" does work from that toolbox.

The Asset Package Configuration Report still failed, new error log attached. Asset Package Configuration Report_3.2_error.txt

areynolds15 avatar Feb 08 '24 17:02 areynolds15

I am not able to repo that issue. Did you chance anything in the config?

image

MikeMillerGIS avatar Feb 09 '24 14:02 MikeMillerGIS

We were able to repo the issue when the asset package configuration table gets removed or renamed.

MikeMillerGIS avatar Feb 09 '24 15:02 MikeMillerGIS

oh, ha! That makes sense, sorry. I'm getting an error for the Subnetwork Aggregator as well. I do actually have subnetworks this time. I'm not using any of the parameters except the Input UN and output folder, but it seems like that should be ok, from the metadata. This is on a file gdb UN - Error log attached. SubnetworkAggregator_error.txt

areynolds15 avatar Feb 09 '24 15:02 areynolds15

we pushed a fix that added some validation that should resolve your issue - https://github.com/Esri/Utility-Data-Management-Support-Tools/blob/Preview3.1.2/UtilityDataManagementSupport.atbx

can you test it out?

MikeMillerGIS avatar Feb 09 '24 15:02 MikeMillerGIS

I could not repo the SubnetworkAgg error. image

Did you check any other settings? Was this on the sample water data?

MikeMillerGIS avatar Feb 12 '24 15:02 MikeMillerGIS