#create search cursor to access table. may need to change field name with other data.
The code works all the way down to the first calculate field, and then I get the error: "Cannot acquire a lock". However, when I test whether I can acquire a lock on that feature class (the new clip_out ("LS1"), I get a "True".
Any idea why the cursor code can't acquire a lock, but when outside the code, I can acquire the lock?
#create list to access table. may need to change field name with other data.
Not the answer you're looking for? Browse other questions tagged arcpy cursor lock schema-locks or ask your own question.
Debugging Select By Attribute tool within loop giving ERROR 000358: Invalid expression Cannot acquire a lock?