jphiloon

Unregistered less info
16 reputation
1
bio website
location
age
visits member for 1 year, 10 months
seen Jun 22 '12 at 15:04

Jun
21
comment Python scripts runs from PythonWin but not ArcCatalog (ArcGIS 10)
Well, it's definitely something to do with the ArcCatalog runtime environment. The same tool runs fine through ArcCatalog on a different test box. Wish I knew how to fix this box, though...
Jun
21
comment Python scripts runs from PythonWin but not ArcCatalog (ArcGIS 10)
I had looked at the forum topic mentioned above but could not see relevancy. My environment is that I am RDP'ing in to a VPC instance on Amazon and running there. I can connect to the target database since I first get the list of field names to see if "PC" is there; if not, we get to this code where I try to add it. And what's with the Chinese message anyway? Maybe the code is routing to China and getting an error there.
Jun
21
comment Python scripts runs from PythonWin but not ArcCatalog (ArcGIS 10)
if "PC" not in fields: # Process: Add Field PC... arcpy.AddMessage("Adding PC field to target.") arcpy.AddField_management(siteFC, "PC", "SHORT", "", "", "", "", "NULLABLE", "NON_REQUIRED", "")
Jun
20
awarded  Student
Jun
20
comment Python scripts runs from PythonWin but not ArcCatalog (ArcGIS 10)
Running stand-alone in a python window there is no error - that's the consternation of it. The target is a FeatureClass.
Jun
20
asked Python scripts runs from PythonWin but not ArcCatalog (ArcGIS 10)