POST
|
Thanks for the suggestion Jayanta. I tried to clear the Trusted Storage files and I was able to clear all but 1 of the tsf.data files. One of the files wouldn't let me move it to a new destination, giving an error because it thinks it's "open in ARCGIS". I tried to rectify by shutting down and restarting - that didn't work (see right menu below). Then, I tried to go ahead and re-authorize anyway (see left menu above)- seemed promising, but that didn't work either. This is the error message. Any suggestions? Thanks
... View more
10-30-2017
12:14 PM
|
0
|
1
|
758
|
POST
|
Hi Dan. Yes, I used an authorization file. And yes I still have it. I tried several times to Authorize again, but it keeps returning a message that all licenses have already been authorized. I re-booted too, just in case the registry hadn't caught on yet. But to no avail. In Administrator, it still lists the software licenses as "Disabled" under the "Authorized" column.
... View more
10-28-2017
08:26 AM
|
0
|
0
|
758
|
POST
|
I'm currently away in a remote field station using Arc 10.0 and having a hard time using an inline variable substitution for a numeric field value. I am trying to use UpdateCursor to select only a specific line by designating a "POSITION" field = to a numeric value that I can increment each time I go through the for loop. When I use a number in the line, it works. However, I can't seem to get the right syntax to substitute the hard-coded number for a variable. here's the section of code: ## Attempt to update the cursor, then get value, then setvalue using an inline variable for the desired Field value ## THIS does not work stefile = "ste1.shp" stefield = "POSITION" steclus = "CLUSTER" steac = "AC" stevalue = 100 stepos = 22 Z = arcpy.UpdateCursor(stefile, '"POSITION" = stepos') # This needs to be changed eg; '"POSITION" = a memvar') ...and at end of loop memvar +=1 for row in Z: print row.getValue(steclus) memvar = row.getValue(steclus) row.setValue(steac, stevalue) Z.updateRow(row) print row.getValue(steac) del Z del row ### HERE are the error messages # Runtime error <type 'exceptions.RuntimeError'>: ERROR 999999: # Error executing function. # A column was specified that does not exist. Am I simply using the wrong syntax? Or am I barking up the wrong tree? Guidance and advice welcome. Thanks.
... View more
11-20-2014
07:42 AM
|
0
|
0
|
1672
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|