cfw2

Unexpected EOF while parsing...

Discussion created by cfw2 on Sep 7, 2010
Latest reply on Sep 7, 2010 by Dan_Patterson
Hello,

I am trying to write a python script that concatenates two fields in a polygon shapefile.  Whenever I run it, I get this message:

<class 'arcgisscripting.ExecuteError'>: ERROR 000539: Error running expression: P13 R1 <type 'exceptions.SyntaxError'>: unexpected EOF while parsing (<string>, line 1)
Failed to execute (CalculateField).

Failed to execute (pathrow).

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.  However it doesn't actually calculate the field nor does it move on to the next record(s).  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.

Does anyone know what this error means or have any suggestions on how to fix it?  I attached the script.

Thanks in advance!

Chris

Attachments

Outcomes