Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse (Kepler version) ESRI & Arcpy(Problem with Data Access Update Cursor)
Eclipse (Kepler version) ESRI & Arcpy [message #1141003] Wed, 16 October 2013 19:23 Go to next message
Layne Seely is currently offline Layne SeelyFriend
Messages: 1
Registered: October 2013
Junior Member
HI Folks:

I'm running the Kepler Release (Build 20130614-0229) on a Win 7 machine that has ArcGIS 10.1 installed on it. I've checked and I'm pretty sure that my software is up to date. It just updated the PyDev module this morning.

I cannot figure out what I am doing wrong but I think that within Eclipse, I don't have something set right. Here is the code:

def CalcFields3(Polys):
fields = ("Tree, Tree2")
with arcpy.da.UpdateCursor(Polys, fields) as cursor:
for row in cursor:
row[1] = row[0]

Eclipse is giving me this error : "Undefined variable from import: UpdateCursor"

Any suggestions?
Re: Eclipse (Kepler version) ESRI & Arcpy [message #1141568 is a reply to message #1141003] Thu, 17 October 2013 04:30 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4003
Registered: July 2009
Senior Member

You might need to ask in a forum specific to PyDev...not that I'm sure where one would be.

Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:When the first letter of a Class is not captal, but not warning
Next Topic:How to set up Debug perspective
Goto Forum:

Current Time: Sat Mar 06 03:20:22 GMT 2021

Powered by FUDForum. Page generated in 0.02976 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top