<?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: Python crashes running stand alone script, composite locator, AGS 10.1 SP1 deskto in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-crashes-running-stand-alone-script/m-p/176439#M13582</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just curoius: has anyone tested the composite locator with 1.01 SP1 or 64bit background geoprocessing installed? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;More info on installing SP1 and 64bit background geoprocessing &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2012/10/31/announcing-64-bit-geoprocessing/"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jun 2013 21:25:12 GMT</pubDate>
    <dc:creator>StacyRendall1</dc:creator>
    <dc:date>2013-06-27T21:25:12Z</dc:date>
    <item>
      <title>Python crashes running stand alone script, composite locator, AGS 10.1 SP1 desktop</title>
      <link>https://community.esri.com/t5/python-questions/python-crashes-running-stand-alone-script/m-p/176435#M13578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a Python script with a composite locator that works when run from the Python window in ArcMap, but crashes when run standalone.&amp;nbsp; I am running ArcGIS 10.1 SP1 (Build 3143) Desktop Standard(ArcEditor) on a Windows 7 64 bit.&amp;nbsp; Also I can run the script in the Python window in ArcMap or standalone if I change the locator to a individual locator.&amp;nbsp; The locators are from StreetMap Premium 2012 R3&amp;nbsp; -&amp;nbsp; USA_2012R3_NT_AddressPoint' and 'USA_2012R3_NT_Composite' .&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The message Windows message from the crash is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Description:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Stopped working&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem signature:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Problem Event Name: APPCRASH&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Application Name: python.exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Application Version: 0.0.0.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Application Timestamp: 4df4ba7c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Fault Module Name: Geocoding.dll&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Fault Module Version: 10.1.1.3143&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Fault Module Timestamp: 5058d4a0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Exception Code: c0000005&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Exception Offset: 000a58be&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; OS Version: 6.1.7601.2.1.0.256.48&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Locale ID: 1033&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears that the problem is with running a composite locator as a standalone Python script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 17:28:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-crashes-running-stand-alone-script/m-p/176435#M13578</guid>
      <dc:creator>JeffSpees</dc:creator>
      <dc:date>2013-04-05T17:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Python crashes running stand alone script, composite locator, AGS 10.1 SP1 deskto</title>
      <link>https://community.esri.com/t5/python-questions/python-crashes-running-stand-alone-script/m-p/176436#M13579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have faced exactly the same issue with composite locator at AGS 10.1 SP1 desktop. Composite locator works fine when running it from ArcGIS Desktop Python window but when running it from standalone Python script it crash. Individual locators are working without issues in both cases. For test purposes I have made composite locator with only one connected locator and that work fine. When adding second one it stops working. For locator we are using our own localized street network data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error stack when running script from PyScripter:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; File "&amp;lt;string&amp;gt;", line 70, in execInThread&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; File "C:\Program Files (x86)\PyScripter\Lib\rpyc-python2x.zip\rpyc\core\netref.py", line 123, in __call__&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; File "C:\Program Files (x86)\PyScripter\Lib\rpyc-python2x.zip\rpyc\core\netref.py", line 45, in syncreq&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; File "C:\Program Files (x86)\PyScripter\Lib\rpyc-python2x.zip\rpyc\core\protocol.py", line 343, in sync_request&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; File "C:\Program Files (x86)\PyScripter\Lib\rpyc-python2x.zip\rpyc\core\protocol.py", line 305, in serve&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; File "C:\Program Files (x86)\PyScripter\Lib\rpyc-python2x.zip\rpyc\core\protocol.py", line 265, in _recv&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; File "C:\Program Files (x86)\PyScripter\Lib\rpyc-python2x.zip\rpyc\core\channel.py", line 36, in recv&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; File "C:\Program Files (x86)\PyScripter\Lib\rpyc-python2x.zip\rpyc\core\stream.py", line 105, in read&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;EOFError: [Errno 10054] An existing connection was forcibly closed by the remote host&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My setup is AGS10.1 SP1, Windows 7 x64.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 08:40:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-crashes-running-stand-alone-script/m-p/176436#M13579</guid>
      <dc:creator>MikaMäkelä</dc:creator>
      <dc:date>2013-04-17T08:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Python crashes running stand alone script, composite locator, AGS 10.1 SP1 deskto</title>
      <link>https://community.esri.com/t5/python-questions/python-crashes-running-stand-alone-script/m-p/176437#M13580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Add me to the list I am having this exact same issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 17:23:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-crashes-running-stand-alone-script/m-p/176437#M13580</guid>
      <dc:creator>JamesTanis</dc:creator>
      <dc:date>2013-06-19T17:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Python crashes running stand alone script, composite locator, AGS 10.1 SP1 deskto</title>
      <link>https://community.esri.com/t5/python-questions/python-crashes-running-stand-alone-script/m-p/176438#M13581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I also had this issue, but just gave up on using the Composite locator, and wrote a Python script that replicates this function:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - geocodes using locator1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - passes addresses not geocoded by locator1 to locator2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - and so on (no limit on the number of geocoders)...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It also uses Parallel Python for multiprocessing support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can share this code if requested...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 21:19:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-crashes-running-stand-alone-script/m-p/176438#M13581</guid>
      <dc:creator>StacyRendall1</dc:creator>
      <dc:date>2013-06-27T21:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Python crashes running stand alone script, composite locator, AGS 10.1 SP1 deskto</title>
      <link>https://community.esri.com/t5/python-questions/python-crashes-running-stand-alone-script/m-p/176439#M13582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just curoius: has anyone tested the composite locator with 1.01 SP1 or 64bit background geoprocessing installed? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;More info on installing SP1 and 64bit background geoprocessing &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2012/10/31/announcing-64-bit-geoprocessing/"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 21:25:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-crashes-running-stand-alone-script/m-p/176439#M13582</guid>
      <dc:creator>StacyRendall1</dc:creator>
      <dc:date>2013-06-27T21:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Python crashes running stand alone script, composite locator, AGS 10.1 SP1 deskto</title>
      <link>https://community.esri.com/t5/python-questions/python-crashes-running-stand-alone-script/m-p/176440#M13583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If it is useful to anyone I have posted an Arcpy script for Parallelised Composite Geocoding (as described above) to my blog:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://pythongisandstuff.wordpress.com/2013/07/31/parallelised-composite-geocoding-script/"&gt;http://pythongisandstuff.wordpress.com/2013/07/31/parallelised-composite-geocoding-script/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 07:20:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-crashes-running-stand-alone-script/m-p/176440#M13583</guid>
      <dc:creator>StacyRendall1</dc:creator>
      <dc:date>2013-07-31T07:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Python crashes running stand alone script, composite locator, AGS 10.1 SP1 deskto</title>
      <link>https://community.esri.com/t5/python-questions/python-crashes-running-stand-alone-script/m-p/176441#M13584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I got composite locator run succesfully on 10.2 environment. I tried both Python x64 and x86 versions. x64 is working properly but x86 gives an error message. This solved my issue. My test environment is: Win 2008 Server, ArcGIS Server and Desktop 10.2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 08:39:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-crashes-running-stand-alone-script/m-p/176441#M13584</guid>
      <dc:creator>MikaMäkelä</dc:creator>
      <dc:date>2013-09-19T08:39:30Z</dc:date>
    </item>
  </channel>
</rss>

