<?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: Local Government Information 10.1 Script Error in State &amp; Local Government Questions</title>
    <link>https://community.esri.com/t5/state-local-government-questions/local-government-information-10-1-script-error/m-p/418912#M2629</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does it work with just "Import to Geodatabase"? It will run a lot faster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Without looking at the Xml it is hard to say why there is a problem. My guess is there is an issue in one of the domain coded values, "\xea" is usually a string value for e with a caret on top of it... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take a look at the value after "Archipelago" and see if there is some unusual text in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2012 20:31:43 GMT</pubDate>
    <dc:creator>SteveGrise</dc:creator>
    <dc:date>2012-11-12T20:31:43Z</dc:date>
    <item>
      <title>Local Government Information 10.1 Script Error</title>
      <link>https://community.esri.com/t5/state-local-government-questions/local-government-information-10-1-script-error/m-p/418911#M2628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to import the 10.1 xml version of the Information model into a Geodatabase. I am receiving an error. Can someone please help?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Messages&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing: ImportUsingGeoprocessing "C:\Documents and Settings\cs003019\Desktop\LocalGovernment.xml" H:\GIS_DATA\LGM.gdb "Database Connections\ESRI_SDE.sde\Mercator.DBO.BASE_FEATURE_250k\Mercator.DBO.MUNICIPAL_DISTRICT_2012" true false false true false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start Time: Fri Nov 02 10:18:30 2012&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Running script ImportUsingGeoprocessing...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using Geodatabase:H:\GIS_DATA\LGM.gdb&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;968 Domains&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Creating Domain for YesNo&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes:Yes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No:No&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Creating Domain for luViolationType&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Blight:Blight&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Grass/Weeds:Grass/Weeds&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Illegal Sign:Illegal Sign&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Illegal Storage of RV:Illegal Storage of RV&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Inoperable Vehicle:Inoperable Vehicle&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anabranch:Anabranch&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Arch:Arch&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Archipelago:Archipelago&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GeoProcessing Error Messages:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Python Error messages:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback Info:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Documents and Settings\cs003019\Application Data\ESRI\Desktop10.1\ArcToolbox\My Toolboxes\ImportUsingGeoprocessing.py", line 90, in main&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; createDomain(domain)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Documents and Settings\cs003019\Application Data\ESRI\Desktop10.1\ArcToolbox\My Toolboxes\ImportUsingGeoprocessing.py", line 216, in createDomain&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; createCodedValues(dName,codedValues)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Documents and Settings\cs003019\Application Data\ESRI\Desktop10.1\ArcToolbox\My Toolboxes\ImportUsingGeoprocessing.py", line 356, in createCodedValues&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cvCode = getElementValue(codedValue,"Code")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Documents and Settings\cs003019\Application Data\ESRI\Desktop10.1\ArcToolbox\My Toolboxes\ImportUsingGeoprocessing.py", line 711, in getElementValue&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; data = getDataText(elem[0])&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Documents and Settings\cs003019\Application Data\ESRI\Desktop10.1\ArcToolbox\My Toolboxes\ImportUsingGeoprocessing.py", line 631, in getDataText&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if str(s) == "null":&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error Info:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;type 'exceptions.UnicodeEncodeError'&amp;gt;: 'ascii' codec can't encode character u'\xea' in position 2: ordinal not in range(128)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Completed script ImportUsingGeoprocessing...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (ImportUsingGeoprocessing).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed at Fri Nov 02 11:01:44 2012 (Elapsed Time: 43 minutes 14 seconds)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 16:16:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/local-government-information-10-1-script-error/m-p/418911#M2628</guid>
      <dc:creator>JustinNgan</dc:creator>
      <dc:date>2012-11-02T16:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Local Government Information 10.1 Script Error</title>
      <link>https://community.esri.com/t5/state-local-government-questions/local-government-information-10-1-script-error/m-p/418912#M2629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does it work with just "Import to Geodatabase"? It will run a lot faster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Without looking at the Xml it is hard to say why there is a problem. My guess is there is an issue in one of the domain coded values, "\xea" is usually a string value for e with a caret on top of it... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take a look at the value after "Archipelago" and see if there is some unusual text in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 20:31:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/local-government-information-10-1-script-error/m-p/418912#M2629</guid>
      <dc:creator>SteveGrise</dc:creator>
      <dc:date>2012-11-12T20:31:43Z</dc:date>
    </item>
  </channel>
</rss>

