<?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: Issue on Tracing Geometric Network with ArcPy  in Python Snippets Questions</title>
    <link>https://community.esri.com/t5/python-snippets-questions/issue-on-tracing-geometric-network-with-arcpy/m-p/773407#M132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried running this script in IDLE rather than PyScripter, but I don't think that should make any difference.&lt;/P&gt;&lt;P&gt;Has someone else got this network fc open with ArcMap?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Mar 2017 16:59:47 GMT</pubDate>
    <dc:creator>NeilAyres</dc:creator>
    <dc:date>2017-03-22T16:59:47Z</dc:date>
    <item>
      <title>Issue on Tracing Geometric Network with ArcPy</title>
      <link>https://community.esri.com/t5/python-snippets-questions/issue-on-tracing-geometric-network-with-arcpy/m-p/773406#M131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to run this ArcPy example from ESRI&amp;nbsp;&lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/trace-geometric-network.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;TraceGeometricNetwork example 2&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;# Import arcpy module&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy

&lt;SPAN class="comment token"&gt;# Local variables:&lt;/SPAN&gt;
Water_Net &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"C:/GeometricNetworks/Montgomery.gdb/Water/Water_Net"&lt;/SPAN&gt;
Flags &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"C:/GeometricNetworks/Montgomery.gdb/Water/Flags"&lt;/SPAN&gt;
Water_Net_2 &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Water_Net"&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# Process: Trace Geometric Network&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;TraceGeometricNetwork_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Water_Net&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Water_Net_2&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Flags&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"FIND_PATH"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Friction_Factor"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Friction_Factor"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"NO_TRACE_ENDS"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"AS_IS"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Friction_Factor"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Friction_Factor"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"1-10"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"AS_IS"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I am getting this error on running the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Message File Name Line Position 
Traceback 
 __call__ C:\Program Files (x86)\PyScripter\Lib\rpyc.zip\rpyc\core\netref.py 196 
 syncreq C:\Program Files (x86)\PyScripter\Lib\rpyc.zip\rpyc\core\netref.py 71 
 sync_request C:\Program Files (x86)\PyScripter\Lib\rpyc.zip\rpyc\core\protocol.py 431 
 serve C:\Program Files (x86)\PyScripter\Lib\rpyc.zip\rpyc\core\protocol.py 379 
 _recv C:\Program Files (x86)\PyScripter\Lib\rpyc.zip\rpyc\core\protocol.py 337 
 recv C:\Program Files (x86)\PyScripter\Lib\rpyc.zip\rpyc\core\channel.py 50 
 read C:\Program Files (x86)\PyScripter\Lib\rpyc.zip\rpyc\core\stream.py 166 
exceptions.EOFError: [Errno 10054] An existing connection was forcibly closed by the remote host &lt;/PRE&gt;&lt;P&gt;&lt;IMG __jive_id="343574" alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/343574_geoerror.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Can you please let me know what is happening? and How I can fix this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:39:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/issue-on-tracing-geometric-network-with-arcpy/m-p/773406#M131</guid>
      <dc:creator>BehrouzHosseini</dc:creator>
      <dc:date>2021-12-12T08:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Issue on Tracing Geometric Network with ArcPy</title>
      <link>https://community.esri.com/t5/python-snippets-questions/issue-on-tracing-geometric-network-with-arcpy/m-p/773407#M132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried running this script in IDLE rather than PyScripter, but I don't think that should make any difference.&lt;/P&gt;&lt;P&gt;Has someone else got this network fc open with ArcMap?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 16:59:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/issue-on-tracing-geometric-network-with-arcpy/m-p/773407#M132</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2017-03-22T16:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue on Tracing Geometric Network with ArcPy</title>
      <link>https://community.esri.com/t5/python-snippets-questions/issue-on-tracing-geometric-network-with-arcpy/m-p/773408#M133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neil,&lt;/P&gt;&lt;P&gt;I didn't try to run the code on any other IDLE as the Example one of the Geometric Network at the same page is working perfectly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only difference between this example and first one is the Example 2 is using Filter Weight &amp;nbsp;called Friction_Factor with a weight filter of 1 to 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV class="" style="color: #4d4d4d; background-color: #fefefe;"&gt;&lt;PRE style="font-size: 0.75em; margin-bottom: 1.5em;"&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Mar 2017 17:15:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-snippets-questions/issue-on-tracing-geometric-network-with-arcpy/m-p/773408#M133</guid>
      <dc:creator>BehrouzHosseini</dc:creator>
      <dc:date>2017-03-22T17:15:58Z</dc:date>
    </item>
  </channel>
</rss>

