hello7

Python Script Error

Discussion created by hello7 on Feb 2, 2011
Latest reply on Apr 23, 2013 by dmasante
Whenever i try to run a simple python script i get this error

ERROR 000714: Error in script vt17.
Error in executing: cmd.exe /C I:\GIS\......

I can run a script from the python command window and from IDLE but when i add GetParameterAsText or try to run anything from toolbox i get that error

here is the simple buffer script:

import arcpy
import os
from arcpy inport env
env.workspace = I:\GIS
arcpy.SetProduct("ArcEditor")
shape = arcpy.GetParameterAsText(0)
output = arcpy.GetParameterAsTest(1)
arcpy.Buffer_analysis(shape, output, "1000 Feet", "", "", "", "")


any ideas? I installed the Win32 updates and tried it a million different ways. Please help.

Outcomes