<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Publish Routing Services Python utility encountering errors in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172864#M6842</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is ***** a number?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Apr 2018 11:20:07 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2018-04-25T11:20:07Z</dc:date>
    <item>
      <title>Publish Routing Services Python utility encountering errors</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172863#M6841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I have built a network dataset based on Ordnance Survey Open roads that I'd like to publish as a routing service on my internal ArcGIS Enterprise 10.6 setup, it's fairly vanilla at this stage and was configured using the enterprise builder tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While running the Publish Routing Services (publishroutingservices.py) utility I get this error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;ERROR | 2018-04-24 10:23:17 | __main__ | nas | error | 400 | GIS Server cannot access the file geodatabase containing the network dataset at E:\arcgis\NetworkServices\OSOpenRoads/OSOpenRoadsServer.gdb&lt;/P&gt;&lt;P&gt;ERROR | 2018-04-24 10:23:17 | __main__ | nas | exception | 418 | A geoprocessing error occurred. Details have been logged to E:\arcgis\NetworkServices\ServiceDefinition\publishroutingservices.log&lt;/P&gt;&lt;P&gt;DEBUG | 2018-04-24 10:23:17 | __main__ | nas | exception | 422 | Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "C:\Program Files\ArcGIS\Server\tools\PublishRoutingServices\publishroutingservices.py", line 222, in publish_routing_services&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; prs.execute()&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "E:\arcgis\NetworkServices\ServiceDefinition\prs\ut.py", line 873, in execute&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise arcpy.ExecuteError&lt;/P&gt;&lt;P&gt;ExecuteError&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It's clear that the file geodatabase the script is looking for (above) does not match the file geodatabase location I specified for the tool's parameters (below as -n) (explained on the ESRI website &lt;A href="http://enterprise.arcgis.com/en/server/latest/administer/windows/publishing-routing-services.htm"&gt;here&lt;/A&gt;). Though I am not sure if this is the actual problem or a "red herring". But if it is the actual error it suggests the ESRI utility is changing the URL at some point in the script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding Windows file access and permissions the script is run as an administrator and I have given the folder "E:\arcgis\" and all sub folders read/write access for the ESRI system account I created for ArcGIS enterprise to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN&gt;C:\Python27\ArcGISx6410.6\python.exe "C:\Program Files\ArcGIS\Server\tools\PublishRoutingServices\publishroutingservices.py" -s &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdomain.com%3A6443%2Farcgis" rel="nofollow" target="_blank"&gt;https://domain.com:6443/arcgis&lt;/A&gt;&lt;SPAN&gt; -P &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdomain.com%3A7443%2Farcgis" rel="nofollow" target="_blank"&gt;https://domain.com:7443/arcgis&lt;/A&gt;&lt;SPAN&gt; -u username -p password -o E:\arcgis\NetworkServices\ServiceDefinition -n E:\arcgis\NetworkServices\OSOpenRoads\Data\OSOpenRoadsServer.gdb\OSOpenRoadsNetwork_ND&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT 1&amp;nbsp; - For anyone who was interested the error occurred because I had missed the "feature dataset" from the -n parameter since it goes File GeoDatabase - Feature Dataset - Network Dataset. However, I'm now encountering another error with my new parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;STRONG&gt;Command Line input&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Python27\ArcGISx6410.6\python.exe "C:\Program Files\ArcGIS\Server\tools\PublishRoutingServices\publishroutingservices.py" -s &lt;SPAN style="background-color: #f6f6f6;"&gt;gisdomain.com&lt;/SPAN&gt; -P gisdomain.com -u username -p ***** -o E:\RoutingServices\ServiceDefinitions -n E:\RoutingServicesData\OSOpenRoadsServer.gdb\OSOpenRoadsNetwork\OSOpenRoadsNetwork_ND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Debug Output&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INFO | 2018-04-25 09:08:58 | __main__ | nas | info | 391 | Creating supporting files at E:\RoutingServices\ServiceDefinitions\prs\data&lt;/P&gt;&lt;P&gt;ERROR | 2018-04-25 09:08:58 | __main__ | nas | exception | 418 | Failed to create supporting files in E:\RoutingServices\ServiceDefinitions\prs\data&lt;/P&gt;&lt;P&gt;DEBUG | 2018-04-25 09:08:58 | __main__ | nas | exception | 422 | Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "E:\RoutingServices\ServiceDefinitions\prs\ut.py", line 932, in execute&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; create_supporting_files.execute()&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "E:\RoutingServices\ServiceDefinitions\prs\ut.py", line 265, in execute&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.set(network, prop, network_props[prop])&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "C:\Python27\ArcGISx6410.6\lib\ConfigParser.py", line 743, in set&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise TypeError("option values must be strings")&lt;/P&gt;&lt;P&gt;TypeError: option values must be strings&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR | 2018-04-25 09:08:58 | __main__ | nas | exception | 418 | A geoprocessing error occurred. Details have been logged to E:\RoutingServices\ServiceDefinitions\publishroutingservices.log&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently unable to solve this error and have an ESRI support case open. Any thoughts/guidance is appreciated. I will of course share any solutions as and when I get them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;EDIT 2 - In case anyone else has encountered this error, I raised it with ESRI UK support. They investigated with my network dataset and configuration, confirmed my network dataset and system met the requirements for the utility and that it was a bug/issue with the script that they had identified and planned a fix for. I was told it will be fixed with the release of ArcGIS Server 10.6.1, which is due at some point soon, touted for "summer 2018". In the meantime my case was closed as nothing else could be done aside from waiting for the fix.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 09:46:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172863#M6841</guid>
      <dc:creator>RyanMartin2</dc:creator>
      <dc:date>2018-04-24T09:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Publish Routing Services Python utility encountering errors</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172864#M6842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is ***** a number?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 11:20:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172864#M6842</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-04-25T11:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Publish Routing Services Python utility encountering errors</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172865#M6843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No it's a mixture of characters, I've just put stars there to redact it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 11:22:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172865#M6843</guid>
      <dc:creator>RyanMartin2</dc:creator>
      <dc:date>2018-04-25T11:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Publish Routing Services Python utility encountering errors</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172866#M6844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok... It is the error&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; 'option values must be strings&lt;/SPAN&gt;' which suggested a number was present somewhere&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 11:24:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172866#M6844</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-04-25T11:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Publish Routing Services Python utility encountering errors</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172867#M6845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case anyone else has encountered this error, I raised it with ESRI UK support. They investigated with my network dataset and configuration, confirmed my network dataset and system met the requirements for the utility and that it was a bug/issue with the script that they had identified and planned a fix for. I was told it will be fixed with the release of ArcGIS Server 10.6.1, which is due at some point soon, touted for "summer 2018".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 08:29:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172867#M6845</guid>
      <dc:creator>RyanMartin2</dc:creator>
      <dc:date>2018-06-28T08:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Publish Routing Services Python utility encountering errors</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172868#M6846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having a very similar issue and just came across your thread.&amp;nbsp; Did you get any further with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Francis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 10:37:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172868#M6846</guid>
      <dc:creator>FrancisSenyah</dc:creator>
      <dc:date>2018-08-30T10:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Publish Routing Services Python utility encountering errors</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172869#M6847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately nothing yet. I am still awaiting the patch from ESRI, I checked my server again today and still no updates are available for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd suggest your best bet, if you are an ESRI customer on support, is to contact your ESRI contract manager and make it clear you would like a fix for it. The more we ask, the better the case for a fix being prioritised is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 15:44:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172869#M6847</guid>
      <dc:creator>RyanMartin2</dc:creator>
      <dc:date>2018-09-03T15:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Publish Routing Services Python utility encountering errors</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172870#M6848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Ryan.&amp;nbsp; Yes we're also speaking with ESRI UK about the issue so will hopefully get some progress soon.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2018 09:49:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172870#M6848</guid>
      <dc:creator>FrancisSenyah</dc:creator>
      <dc:date>2018-09-04T09:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Publish Routing Services Python utility encountering errors</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172871#M6849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ryan,&amp;nbsp; I've been in contact with ESRI UK and they have mentioned the utility works for them with ITN data at 10.6.1, are you already on 10.6.1 and if so have you retried the utility?&amp;nbsp; Appreciated you are not using ITN..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 08:46:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172871#M6849</guid>
      <dc:creator>FrancisSenyah</dc:creator>
      <dc:date>2018-09-11T08:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Publish Routing Services Python utility encountering errors</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172872#M6850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the information. I was unaware that 10.6.1 would not be delivered through the automatic update system, so that explains why I didn't notice it. I have downloaded 10.6.1 ISO for our ArcGIS Enterprise and will be applying it in late September. I'll report back if 10.6.1 fixes the issue, I hope it will.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 08:57:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172872#M6850</guid>
      <dc:creator>RyanMartin2</dc:creator>
      <dc:date>2018-09-18T08:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Publish Routing Services Python utility encountering errors</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172873#M6851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice one, keep me posted!..Francis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 12:59:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172873#M6851</guid>
      <dc:creator>FrancisSenyah</dc:creator>
      <dc:date>2018-09-18T12:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Publish Routing Services Python utility encountering errors</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172874#M6852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I tried to upgrade to 10.6.1, and it broke our ArcGIS Enterprise server. Thankfully we had snapshots but we've not tried to upgrade again since. I will attempt it again at some point!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2018 08:34:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172874#M6852</guid>
      <dc:creator>RyanMartin2</dc:creator>
      <dc:date>2018-12-04T08:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Publish Routing Services Python utility encountering errors</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172875#M6853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the update and yes good thing you were able to roll back!&amp;nbsp; We are in the process of upgrading ourseleves actually so may be in the position to test the utility soon also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2018 15:10:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publish-routing-services-python-utility/m-p/172875#M6853</guid>
      <dc:creator>FrancisSenyah</dc:creator>
      <dc:date>2018-12-11T15:10:42Z</dc:date>
    </item>
  </channel>
</rss>

