<?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 Unexpected EOF while parsing... in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/unexpected-eof-while-parsing/m-p/364780#M12553</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 write a python script that concatenates two fields in a polygon shapefile.&amp;nbsp; Whenever I run it, I get this message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;class 'arcgisscripting.ExecuteError'&amp;gt;: ERROR 000539: Error running expression: P13 R1 &amp;lt;type 'exceptions.SyntaxError'&amp;gt;: unexpected EOF while parsing (&amp;lt;string&amp;gt;, line 1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (CalculateField).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (pathrow).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The "P13 R1" refers to the attributes I'm trying to concatenate in first record in the shapefile, so I know that the script can read the shapefile.&amp;nbsp; However it doesn't actually calculate the field nor does it move on to the next record(s).&amp;nbsp; The two fields in the attribute table are titled 'PATH' and 'ROW' and are listed as SHORT fields in the attribute table's field properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know what this error means or have any suggestions on how to fix it?&amp;nbsp; I attached the script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Sep 2010 14:13:41 GMT</pubDate>
    <dc:creator>ChristinaHerrick1</dc:creator>
    <dc:date>2010-09-07T14:13:41Z</dc:date>
    <item>
      <title>Unexpected EOF while parsing...</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/unexpected-eof-while-parsing/m-p/364780#M12553</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 write a python script that concatenates two fields in a polygon shapefile.&amp;nbsp; Whenever I run it, I get this message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;class 'arcgisscripting.ExecuteError'&amp;gt;: ERROR 000539: Error running expression: P13 R1 &amp;lt;type 'exceptions.SyntaxError'&amp;gt;: unexpected EOF while parsing (&amp;lt;string&amp;gt;, line 1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (CalculateField).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (pathrow).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The "P13 R1" refers to the attributes I'm trying to concatenate in first record in the shapefile, so I know that the script can read the shapefile.&amp;nbsp; However it doesn't actually calculate the field nor does it move on to the next record(s).&amp;nbsp; The two fields in the attribute table are titled 'PATH' and 'ROW' and are listed as SHORT fields in the attribute table's field properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know what this error means or have any suggestions on how to fix it?&amp;nbsp; I attached the script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 14:13:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/unexpected-eof-while-parsing/m-p/364780#M12553</guid>
      <dc:creator>ChristinaHerrick1</dc:creator>
      <dc:date>2010-09-07T14:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected EOF while parsing...</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/unexpected-eof-while-parsing/m-p/364781#M12554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;assuming that the script is as posted, this row in the while loop of the script...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;row = records.next()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;should be indented to match the above lines, since the script appears to have been generated from modelbuilder, there may be an error in the export option.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 15:00:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/unexpected-eof-while-parsing/m-p/364781#M12554</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2010-09-07T15:00:13Z</dc:date>
    </item>
  </channel>
</rss>

