<?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: Geocoding Script failing for Data on sde in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315601#M24557</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a composite locator. If I can only list one field then how does it know to geocode based upon the other fields in the other locators?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Feb 2016 16:18:38 GMT</pubDate>
    <dc:creator>TiffanySelvidge1</dc:creator>
    <dc:date>2016-02-01T16:18:38Z</dc:date>
    <item>
      <title>Geocoding Script failing for Data on sde</title>
      <link>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315595#M24551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know this is a topic that has come up multiple times but I have gone through all the previous discussions and my geocoding is still failing. My script is from a modelbuilder I exported as python. I am using a composite geolocator with files that are updated daily. My table is from sql and is updated every 30 minutes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Arc 10.3.1, Python 2.7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I have already tried:&lt;/P&gt;&lt;P&gt;I have formatted my addresses to contain the exact address.&lt;/P&gt;&lt;P&gt;I have included overwrite = true.&lt;/P&gt;&lt;P&gt;I have changed SingleKey to Single Line Input and then just removed it completely.&lt;/P&gt;&lt;P&gt;I have changed the double quotes on Static to single quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;# Import arcpy module

import arcpy&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;#Overwrite pre-existing files
arcpy.env.overwriteOutput = True&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;# Local variables:
ArcDev_dbo_OIDTest_sites_2015i_2016_new = "C:\\Users\\tselvidge\\AppData\\Roaming\\ESRI\\Desktop10.3\\ArcCatalog\\arcdev@srvarcdev.sde\\ArcDev.dbo.OIDTest_sites_2015i_2016_new"&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;
&lt;/SPAN&gt;
GISOWNER_ParcelAddrFacet_geo__2_ = "C:\\Users\\tselvidge\\AppData\\Roaming\\ESRI\\Desktop10.3\\ArcCatalog\\arcdev@srvarcdev.sde\\ArcDEV.GISOWNER.ParcelAddrFacet_geo"
ArcDev_GISOWNER_GeoRecs_New = "C:\\Users\\tselvidge\\AppData\\Roaming\\ESRI\\Desktop10.3\\ArcCatalog\\arcdev@srvarcdev.sde\\ArcDev.GISOWNER.Sharept_symbolized\\ArcDev.GISOWNER.GeoRecs_New"

ArcDev_GISOWNER_GeoRecs_New__3_ = ArcDev_GISOWNER_GeoRecs_New
ArcDev_GISOWNER_GeoRecs_New__4_ = ArcDev_GISOWNER_GeoRecs_New__3_
&lt;/LI&gt;&lt;/OL&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;# Process: Geocode Addresses
arcpy.GeocodeAddresses_geocoding(ArcDev_dbo_OIDTest_sites_2015i_2016_new, GISOWNER_ParcelAddrFacet_geo__2_, "'Single Line Input' AcctNo VISIBLE NONE;HCAD_NUM AcctNo VISIBLE NONE;Street Street VISIBLE NONE;City City VISIBLE NONE;State &amp;lt;None&amp;gt; VISIBLE NONE;ZIP ZIP VISIBLE NONE;QFNAME FileMapFacet VISIBLE NONE", ArcDev_GISOWNER_GeoRecs_New, 'STATIC')&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:00:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315595#M24551</guid>
      <dc:creator>TiffanySelvidge1</dc:creator>
      <dc:date>2021-12-11T15:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoding Script failing for Data on sde</title>
      <link>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315596#M24552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tiffany, use raw text notation for data like that, you have '\t' in the path, which is a tab when read.&lt;/P&gt;&lt;P&gt;i.e put 'r' ahead of your string:&lt;/P&gt;&lt;P&gt;r&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman',serif; color: #666666;"&gt;"C:\\Users\\tselvidge\\AppData\\Roaming\\ESRI\\Desktop10.3\\ArcCatalog\\arcdev@srvarcdev.sde\\ArcDEV.GISOWNER.ParcelAddrFacet_geo"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 21:23:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315596#M24552</guid>
      <dc:creator>BruceHarold</dc:creator>
      <dc:date>2016-01-29T21:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoding Script failing for Data on sde</title>
      <link>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315597#M24553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I put an 'r' in front but it still doesn't work. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 21:33:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315597#M24553</guid>
      <dc:creator>TiffanySelvidge1</dc:creator>
      <dc:date>2016-01-29T21:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoding Script failing for Data on sde</title>
      <link>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315598#M24554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, another thing: the single like parameter is 'SingleLine', e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Executing: GeocodeAddresses HalfMoonBay "GIS Servers\arcgis on geocode.arcgis.com (user)\World.GeocodeServer" "SingleLine SingleLine VISIBLE NONE" C:\Users\bruc5588\Documents\ArcGIS\Projects\GeocodingDemo.gdb\Tiffany STATIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 22:57:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315598#M24554</guid>
      <dc:creator>BruceHarold</dc:creator>
      <dc:date>2016-01-29T22:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoding Script failing for Data on sde</title>
      <link>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315599#M24555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I made the change but I am still receiving the "ERROR 000010: Geocode addresses failed."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the complete Traceback message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "C:\Users\tselvidge\Documents\Dashboard\Scheduled_jobs\SharepointNewDataTest.py", line 25, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.GeocodeAddresses_geocoding(ArcDev_dbo_OIDTest_sites_2015i_2016_new, GISOWNER_ParcelAddrFacet_geo__2_, "SingleLine AcctNo VISIBLE NONE;HCAD_NUM AcctNo VISIBLE NONE;Street Street VISIBLE NONE;City City VISIBLE NONE;State &amp;lt;None&amp;gt; VISIBLE NONE;ZIP ZIP VISIBLE NONE;QFNAME FileMapFacet VISIBLE NONE", ArcDev_GISOWNER_GeoRecs_New, 'STATIC')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcPy\arcpy\geocoding.py", line 212, in GeocodeAddresses&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise e&lt;/P&gt;&lt;P&gt;ExecuteError: ERROR 000010: Geocode addresses failed.&lt;/P&gt;&lt;P&gt;Failed to execute (GeocodeAddresses).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 14:31:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315599#M24555</guid>
      <dc:creator>TiffanySelvidge1</dc:creator>
      <dc:date>2016-02-01T14:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoding Script failing for Data on sde</title>
      <link>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315600#M24556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tiffany I may have put you wrong earlier, I just did a single line input process and the input fields are stated like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in_address_fields="'Single Line Input' SingleLine VISIBLE NONE"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. there should not be any more fields than just one, and the parameter is 'Single Line Input'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 15:59:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315600#M24556</guid>
      <dc:creator>BruceHarold</dc:creator>
      <dc:date>2016-02-01T15:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoding Script failing for Data on sde</title>
      <link>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315601#M24557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a composite locator. If I can only list one field then how does it know to geocode based upon the other fields in the other locators?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 16:18:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315601#M24557</guid>
      <dc:creator>TiffanySelvidge1</dc:creator>
      <dc:date>2016-02-01T16:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoding Script failing for Data on sde</title>
      <link>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315602#M24558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tiffany, you cannot mix single and multi line handling in a composite locator.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 16:28:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315602#M24558</guid>
      <dc:creator>BruceHarold</dc:creator>
      <dc:date>2016-02-01T16:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoding Script failing for Data on sde</title>
      <link>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315603#M24559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting. I guess Python just can't handle it? Running the model in arcCatalog it works just fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 16:31:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315603#M24559</guid>
      <dc:creator>TiffanySelvidge1</dc:creator>
      <dc:date>2016-02-01T16:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoding Script failing for Data on sde</title>
      <link>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315604#M24560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just tried a composite with a field having the full address details (i.e single line) in a field I mapped to the ADDRESS input of a multiline run, and the other zone fields mapped normally, and I got the 000010 error, so its probably just data-dependent luck it works for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Messages&lt;/P&gt;&lt;P&gt;Executing: GeocodeAddresses D:\Work\Product_Management\LINZAddressing\lds-new-zealand-17layers-FGDB\StreetAddress.gdb\HalfMoonBay D:\Work\Product_Management\LINZAddressing\TestComposite "Address SingleLine VISIBLE NONE;Neighborhood &amp;lt;None&amp;gt; VISIBLE NONE;City SUBURB VISIBLE NONE;Subregion &amp;lt;None&amp;gt; VISIBLE NONE;Region MAILTOWN VISIBLE NONE;Postal POSTCODE VISIBLE NONE;PostalExt &amp;lt;None&amp;gt; VISIBLE NONE;CountryCode &amp;lt;None&amp;gt; VISIBLE NONE" D:\Work\Product_Management\LINZAddressing\lds-new-zealand-17layers-FGDB\StreetAddress.gdb\Geocode_Result STATIC&lt;/P&gt;&lt;P&gt;Start Time: Mon Feb 01 08:37:02 2016&lt;/P&gt;&lt;P&gt;Executing Geocode Addresses...&lt;/P&gt;&lt;P&gt;ERROR 000010: Geocode addresses failed.&lt;/P&gt;&lt;P&gt;Failed to execute (GeocodeAddresses).&lt;/P&gt;&lt;P&gt;Failed at Mon Feb 01 08:37:07 2016 (Elapsed Time: 5.32 seconds)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 16:40:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315604#M24560</guid>
      <dc:creator>BruceHarold</dc:creator>
      <dc:date>2016-02-01T16:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoding Script failing for Data on sde</title>
      <link>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315605#M24561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It certainly is odd. I changed my server connection and now my script runs (with the composite locator containing single and multi) on my local but pointing to data on the virtual server. I cannot get the script to run however on the virtual server. It has a problem with my parameters even though I named all the folders and connections exactly the same as on my local.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 20:37:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315605#M24561</guid>
      <dc:creator>TiffanySelvidge1</dc:creator>
      <dc:date>2016-02-01T20:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoding Script failing for Data on sde</title>
      <link>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315606#M24562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bruce,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is now working from local and virtual server. I took out the space from "'single line input'" as you advised. When running from my local, I needed to use 'Database Connections' but on the virtual server I needed to use the entire path but without the r's. When I added r's the script became confused. I also had to change another parameter within the geocoding and modify the server connection from my personal login (admin) to gisowner login.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it took a variety of modifications for each machine but at least it now works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For now I am keeping the composite locator with the various locators. If it ends up breaking, I will change it. I am waiting since the workaround will be rather clumsy and significantly less efficient than what I currently have setup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 14:23:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/geocoding-script-failing-for-data-on-sde/m-p/315606#M24562</guid>
      <dc:creator>TiffanySelvidge1</dc:creator>
      <dc:date>2016-02-02T14:23:38Z</dc:date>
    </item>
  </channel>
</rss>

