<?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: Add terminal configuration fails in non-English environment without default_path='ALL' in ArcGIS Utility Network Questions</title>
    <link>https://community.esri.com/t5/arcgis-utility-network-questions/add-terminal-configuration-fails-in-non-english/m-p/1300001#M2574</link>
    <description>&lt;P&gt;Same result with a list of lists for the valid_paths, either setting default_path="Tous" or ="ALL".&lt;/P&gt;&lt;P&gt;Note that when testing others possible values, I had the error :&lt;/P&gt;&lt;P&gt;ERROR 000800: La valeur ne correspond pas à un membre de ALL | NONE.&lt;/P&gt;&lt;P&gt;-&amp;gt; value is not a member of ALL | NONE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had no problem scripting a 3 terminals configuration&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jun 2023 21:15:41 GMT</pubDate>
    <dc:creator>PierreloupDucroix</dc:creator>
    <dc:date>2023-06-15T21:15:41Z</dc:date>
    <item>
      <title>Add terminal configuration fails in non-English environment without default_path='ALL'</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/add-terminal-configuration-fails-in-non-english/m-p/1298364#M2554</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Adding a terminal configuration works well in ArcGIS Pro interface (v3.1.2), but fails in python with the python command copied from the interface...&lt;/P&gt;&lt;P&gt;I think it is a translation issue (only the alias "ALL" is valid in the python command)&lt;/P&gt;&lt;P&gt;Here is an example of code :&lt;/P&gt;&lt;P&gt;arcpy.un.AddTerminalConfiguration(&lt;BR /&gt;in_utility_network=r"D:\...\1_datamodel_00.geodatabase\main.reseau\main.UN",&lt;BR /&gt;terminal_configuration_name="Interrupteur bidirectionneld",&lt;BR /&gt;traversability_model="BIDIRECTIONAL",&lt;BR /&gt;terminals_directional=None,&lt;BR /&gt;terminals_bidirectional="1;2",&lt;BR /&gt;valid_paths="&lt;STRONG&gt;Tous ALL&lt;/STRONG&gt;;Aucun None",&lt;BR /&gt;default_path="&lt;STRONG&gt;Tous&lt;/STRONG&gt;"&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;--&amp;gt; ERROR&lt;/STRONG&gt;&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\un.py", line 4100, in AddTerminalConfiguration&lt;BR /&gt;raise e&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\un.py", line 4097, in AddTerminalConfiguration&lt;BR /&gt;retval = convertArcObjectToPythonObject(gp.AddTerminalConfiguration_un(*gp_fixargs((in_utility_network, terminal_configuration_name, traversability_model, terminals_directional, terminals_bidirectional, valid_paths, default_path), True)))&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 512, in &amp;lt;lambda&amp;gt;&lt;BR /&gt;return lambda *args: val(*gp_fixargs(args, True))&lt;BR /&gt;arcgisscripting.ExecuteError: &lt;STRONG&gt;ERROR 002029: Le chemin par défaut de la configuration n’est pas valide&lt;/STRONG&gt;.&lt;BR /&gt;Échec de l’exécution de (AddTerminalConfiguration).&lt;/P&gt;&lt;P&gt;arcpy.un.AddTerminalConfiguration(&lt;BR /&gt;in_utility_network=r"D:\...\1_datamodel_00.geodatabase\main.reseau\main.UN",&lt;BR /&gt;terminal_configuration_name="Interrupteur bidirectionneld",&lt;BR /&gt;traversability_model="BIDIRECTIONAL",&lt;BR /&gt;terminals_directional=None,&lt;BR /&gt;terminals_bidirectional="1;2",&lt;BR /&gt;valid_paths="&lt;STRONG&gt;ALL All&lt;/STRONG&gt;;Aucun None",&lt;BR /&gt;default_path="&lt;STRONG&gt;ALL&lt;/STRONG&gt;"&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;--&amp;gt; WORKS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Did anyone else experience this ?&lt;/P&gt;&lt;P&gt;In ArcGIS Pro :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PierreloupDucroix_0-1686608614589.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72976i989EA7327F350660/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PierreloupDucroix_0-1686608614589.png" alt="PierreloupDucroix_0-1686608614589.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 05:22:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/add-terminal-configuration-fails-in-non-english/m-p/1298364#M2554</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2023-06-15T05:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Add terminal configuration fails in non-English environment without default_path='ALL'</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/add-terminal-configuration-fails-in-non-english/m-p/1299077#M2560</link>
      <description>For a Two Terminal device, you do not need to set terminal configurations. By default it has All and None. Maybe this is the issue, the tool should not even work on a two terminal device.&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jun 2023 10:42:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/add-terminal-configuration-fails-in-non-english/m-p/1299077#M2560</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2023-06-14T10:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Add terminal configuration fails in non-English environment without default_path='ALL'</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/add-terminal-configuration-fails-in-non-english/m-p/1299079#M2561</link>
      <description>&lt;P&gt;Let me rephrase that, you need to set the terminal configuration, such as the terminal names and directionality, but you should not be able to define paths.&amp;nbsp; The paths are always None and All.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 10:44:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/add-terminal-configuration-fails-in-non-english/m-p/1299079#M2561</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2023-06-14T10:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Add terminal configuration fails in non-English environment without default_path='ALL'</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/add-terminal-configuration-fails-in-non-english/m-p/1299536#M2572</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thank you, it works when not defining valid paths nor default path in the python code :&lt;/P&gt;&lt;P&gt;arcpy.un.AddTerminalConfiguration(&lt;BR /&gt;in_utility_network=r"D:\...\1_datamodel_00.geodatabase\main.reseau\main.UN",&lt;BR /&gt;terminal_configuration_name="Interrupteur bidirectionnel3",&lt;BR /&gt;traversability_model="BIDIRECTIONAL",&lt;BR /&gt;terminals_directional=None,&lt;BR /&gt;terminals_bidirectional="1;2",&lt;BR /&gt;valid_paths="",&lt;BR /&gt;default_path=""&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;-&amp;gt; WORKS&lt;/P&gt;&lt;P&gt;But I still think there is a difference between the Pro UI behavior and the code, because in the UI, you can translate the alias of the valid paths (see my 1st screenshot), what you cannot do in the code.&lt;/P&gt;&lt;P&gt;See the result in the UN properties :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PierreloupDucroix_0-1686806372932.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/73300iCF67E64A7D602740/image-size/large?v=v2&amp;amp;px=999" role="button" title="PierreloupDucroix_0-1686806372932.png" alt="PierreloupDucroix_0-1686806372932.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 05:22:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/add-terminal-configuration-fails-in-non-english/m-p/1299536#M2572</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2023-06-15T05:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Add terminal configuration fails in non-English environment without default_path='ALL'</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/add-terminal-configuration-fails-in-non-english/m-p/1299594#M2573</link>
      <description>&lt;P&gt;There def still can be a bug.&amp;nbsp; Can you try a list of list to see if it is any different?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;valid_paths="&lt;/SPAN&gt;&lt;STRONG&gt;Tous ALL&lt;/STRONG&gt;&lt;SPAN&gt;;Aucun None",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;to&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;valid_paths=[['Tous','ALL'],['Aucun','None']],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 10:42:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/add-terminal-configuration-fails-in-non-english/m-p/1299594#M2573</guid>
      <dc:creator>MikeMillerGIS</dc:creator>
      <dc:date>2023-06-15T10:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Add terminal configuration fails in non-English environment without default_path='ALL'</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/add-terminal-configuration-fails-in-non-english/m-p/1300001#M2574</link>
      <description>&lt;P&gt;Same result with a list of lists for the valid_paths, either setting default_path="Tous" or ="ALL".&lt;/P&gt;&lt;P&gt;Note that when testing others possible values, I had the error :&lt;/P&gt;&lt;P&gt;ERROR 000800: La valeur ne correspond pas à un membre de ALL | NONE.&lt;/P&gt;&lt;P&gt;-&amp;gt; value is not a member of ALL | NONE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had no problem scripting a 3 terminals configuration&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 21:15:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/add-terminal-configuration-fails-in-non-english/m-p/1300001#M2574</guid>
      <dc:creator>PierreloupDucroix</dc:creator>
      <dc:date>2023-06-15T21:15:41Z</dc:date>
    </item>
  </channel>
</rss>

