mbakerDPS

Python tool generates an error only inside IDE

Discussion created by mbakerDPS on Apr 24, 2014
Latest reply on Apr 29, 2014 by mbakerDPS
All,

I'm getting a warning in Aptana writing my python code, but the script will run.

Here's my script (text in red is error / warning):

import arcpy
arcpy.CheckOutExtension("DataInteroperability")
arcpy.ImportToolbox(r"C:\GISTemp\PythonTBX")
arcpy.PythonETL()


The red text above displays the error:

Undefined variable from import, PythonETL


Not sure why the error is displaying but the script still runs...

The script runs fine on its own outside of Aptana.

-m

Outcomes