ERROR 000499: table is not editable?

3893
0
03-01-2011 04:15 AM
by Anonymous User
Not applicable
I need help figuring out why I get:

ERROR 000499: table is not editable
Failed to execute (JoinField).

I have three feature classes. Polyline, Point and Polygon.  I'm doing a FieldJoin on the Point and Polygon.  When I let my python script do it I get the error. If I do it manually in the console it works fine.

What gives?  What am I missing?

My log:

03/01/2011 07:58:06 AM>         Debug: Workspace set start
03/01/2011 07:58:06 AM>         c:\temp\pyprocess\FloorPlans.gdb\FloorPlansUniv
03/01/2011 07:58:08 AM>         Debug: Workspace set end
03/01/2011 07:58:08 AM> Getting from list
03/01/2011 07:58:08 AM> Found 0028.01.DWG 02/16/2011 01:48:19 PM.
03/01/2011 07:58:08 AM> Keep: 1, Toss: 0, Total: 1
03/01/2011 07:58:08 AM> Create file GDB.
03/01/2011 07:58:08 AM> File GDB already exists
03/01/2011 07:58:08 AM> Create dataset.
03/01/2011 07:58:09 AM> Dataset exists.
03/01/2011 07:58:09 AM> Importing
03/01/2011 07:58:09 AM> Processing 1 files
03/01/2011 07:58:09 AM> Processing 0028.01.DWG ( 1 of 1 )
03/01/2011 07:58:09 AM> Building layer VU_0028_01_DWG_Space_temp
03/01/2011 07:58:09 AM>         Layer VU_0028_01_DWG_Space_temp exists. Removing.
03/01/2011 07:58:10 AM>     Working on VU_0028_01_DWG_Space_temp
03/01/2011 07:58:15 AM>         Adding fields
03/01/2011 07:58:22 AM> Building layer VU_0028_01_DWG_Line
03/01/2011 07:58:22 AM>         Layer VU_0028_01_DWG_Line exists. Removing.
03/01/2011 07:58:23 AM>     Working on VU_0028_01_DWG_Line
03/01/2011 07:58:29 AM>         Adding fields
03/01/2011 07:58:36 AM> Building layer VU_0028_01_DWG_Point
03/01/2011 07:58:37 AM>         Layer VU_0028_01_DWG_Point exists. Removing.
03/01/2011 07:58:38 AM>     Working on VU_0028_01_DWG_Point
03/01/2011 07:58:41 AM>         Adding fields
03/01/2011 07:58:45 AM> Doing field join
03/01/2011 07:58:45 AM> Joining - Field
03/01/2011 07:58:45 AM> VU_0028_01_DWG_Space_temp Handle VU_0028_01_DWG_Point PLINE_ID
03/01/2011 07:58:45 AM> Line 332:
ERROR 000499: table is not editable
Failed to execute (JoinField).

Manually:

c:\Temp\PyProcess>python
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import arcpy
>>> arcpy.env.workspace="c:/temp/pyprocess/floorplans.gdb/floorplansuniv"
>>> arcpy.ListFeatureClasses()
[u'VU_0028_01_DWG_Space_temp', u'VU_0028_01_DWG_Line', u'VU_0028_01_DWG_Point']
>>> arcpy.JoinField_management("VU_0028_01_DWG_Space_temp","Handle","VU_0028_01_DWG_Point","PLINE_ID")
<Result 'c:/temp/pyprocess/floorplans.gdb/floorplansuniv\\VU_0028_01_DWG_Space_temp'>
>>>
Tags (2)
0 Kudos
0 Replies