Esri / Utility-Data-Management-Support-Tools

A set of tools to work with the utility network and their maps.
Apache License 2.0
25 stars 4 forks source link

Build Starting Points Tool - Input Utility Network - "Error in Parsing Arguments for Describe" #20

Closed AubreyRhea closed 2 years ago

AubreyRhea commented 2 years ago

Describe the bug In the 5-2-2022 Release Build Starting Points Tool, when I select an Input Utility Network, I get an ERROR 032659: Error in Parsing Arguments for Describe. Strangely, I can make the error go away by selecting a Trace Results Class. But when I run the tool, I get a TypeError: 'NoneType' object is not subscriptable.

To Reproduce Steps to reproduce the behavior:

  1. Open the Build Starting Points tool
  2. Browse to an Input Utility Network or paste a URL into the text box
  3. A red X appears, hover over it to see the error
  4. Scroll down to the New Trace Result Box, browse to an existing geodatabase, and type the name of a new layer
  5. The red X goes away
  6. Fill out the rest of the required fields and run the tool
  7. Tool fails with NoneType error in the result messages

Expected behavior I expect to be able to select a Utility Network that is in my project from the drop down box, and have it populate the Trace Configuration Name box with the configurations that exist in the Utility Network, as it has done in the previous 2-4-2022 release I was using. Then I expect to be able to run the tool and create a new point feature class.

Screenshots image

Desktop (please complete the following information):

MikeMillerGIS commented 2 years ago

this should be fixed in https://github.com/Esri/Utility-Data-Management-Support-Tools/compare/versionDot9 can you verify?

AubreyRhea commented 2 years ago

Yes, that error is fixed, but now I am getting a new one:

Traceback (most recent call last): File "", line 30, in File "C:\python\Batch_Trace\UtilityDataManagementSupport.atbx\udms\esri.py", line 111, in wrapper File "C:\python\Batch_Trace\UtilityDataManagementSupport.atbx\udms\logic__init__.py", line 170, in build_starting_points File "C:\python\Batch_Trace\UtilityDataManagementSupport.atbx\udms\logic\trace.py", line 1387, in main AttributeError: 'BuildStartingPoints' object has no attribute 'workspace'

MikeMillerGIS commented 2 years ago

Nice find, resolved that issue. Tested against services, should be all fixed now

AubreyRhea commented 2 years ago

It is working without any errors now, thank you! The latest update is really great. I love how the starting points are a spatial layer now.