AnsweredAssumed Answered

Python Script developed with Arc 10.2.1 breaks in 10.3

Question asked by ibanezdropd on Jul 18, 2016
Latest reply on Jul 19, 2016 by ibanezdropd

I wrote a script the runs through a database and based on certain criteria deletes out data.  I run this to clear the way for new updated data that will be loaded.  It checks what the name starts with ("p*" or "a*"-- that type of thing) and it also checks the geometry type-- which is where it seems to be running into trouble.  The error crops up when it gets to the line features saying that shapetype "Polyline" or "Line" doesn't exist.  It still recognized shapetype "Point" and it hasn't even gotten to shapetype "Polygon" yet because it crashes before that.

 

When I query the shapetype via the python command window in arc it still says "Polyline" for the line files, so I don't understand where the problem is.

 

This script run perfectly in 10.2.1.

Outcomes