Esri / network-analysis-services

Geoprocessing tools to publish directions, routing, and logistics services available on ArcGIS Online to your own ArcGIS for Server site
Apache License 2.0
20 stars 8 forks source link

Analyze Network Dataset Fails #25

Open vsmith1987 opened 5 years ago

vsmith1987 commented 5 years ago

When trying to execute the Analyze Network Dataset Tool, the following error occurs: Executing: AnalyzeNetworkDataset "\Coangisd\gis\GIS\ArcGIS\GeoDatabases\Network Dataset\NetworkDataset.gdb\Transportation\Centerlines_ND" Start Time: Wed May 08 10:29:18 2019 Running script AnalyzeNetworkDataset...

Traceback (most recent call last): File "", line 349, in execute File "D:\ArcGIS\Toolboxes\network-analysis-services-2.1\ut.py", line 1473, in init self.descNDS = arcpy.Describe(network_dataset) AttributeError: 'module' object has no attribute 'Describe'

Failed to execute (AnalyzeNetworkDataset). Failed at Wed May 08 10:29:18 2019 (Elapsed Time: 0.00 seconds)

I'm unsure as to where or what this is.

deelesh commented 5 years ago

@vsmith1987 The error AttributeError: 'module' object has no attribute 'Describe' hints at something being incorrect with arcpy in your environment.

Having said that, if you had issues related to arcpy not being correctly installed, The PublishRoutingServices tool should not have reached so far in the execution and failed when analyzing the network dataset.

Which version of ArcGIS you are trying to run this with?

vsmith1987 commented 5 years ago

Deelesh,

Haven’t had any issues with any other python code that runs. Haven’t run the Publish Routing Services Tool, just the Analyze Network Dataset Tool first (as per the instructions). We are at version 10.5.1.

Thank You, [cid:image001.png@01D379AD.7AC6AC20]

Vince Smith, GISP GIS Manager Information Technology Division City of Aurora 44 E. Downer Place Aurora, IL 60507 Office: 630-256-3474 Cell: 630-688-2021 vsmith@aurora-il.org www.aurora-il.orghttp://www.aurora-il.org/

From: Deelesh Mandloi [mailto:notifications@github.com] Sent: Wednesday, May 08, 2019 10:53 AM To: Esri/network-analysis-services network-analysis-services@noreply.github.com Cc: Smith, Vincent VSmith@aurora-il.org; Mention mention@noreply.github.com Subject: [SPAM?] Re: [Esri/network-analysis-services] Analyze Network Dataset Fails (#25)

@vsmith1987https://github.com/vsmith1987 The error AttributeError: 'module' object has no attribute 'Describe' hints at something being incorrect with arcpy in your environment.

Having said that, if you had issues related to arcpy not being correctly installed, The PublishRoutingServices tool should not have reached so far in the execution and failed when analyzing the network dataset.

Which version of ArcGIS you are trying to run this with?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Esri/network-analysis-services/issues/25#issuecomment-490542932, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACBHFBVRKCDZW6E6U4OZB7TPULZMFANCNFSM4HLSZ5FA.