AnsweredAssumed Answered

SearchCursor throws error

Question asked by minerjoe on Jul 1, 2012
Latest reply on Jul 8, 2012 by minerjoe

I am trying to create a SearchCursor on a table which seems simple enough

    cursor = arcpy.SearchCursor(tablepath)

This line of code though throws an error in  global name 'gp_' in not defined.  I cannot seem to find any information on this error.

I can create an UpdateCursor and an InsertCursor without error using the same tablepath variable.  Is there something I am missing in this method call?

I am using ArcGIS 10.0