All, I have a script that work when copied and pasted into a python window in ArcCatalog, but it will not run from an IDLE window. It throws the following error. Any ideas why?
Traceback (most recent call last):
File "C:\Python26\ArcGIS10.0\Scripts\xml_export_all.py", line 37, in <module>
arcpy.ExportMetadata_conversion (source, translator, target)
File "C:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\conversion.py", line 349, in ExportMetadata
raise e
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000816: The tool is not valid.
Failed to execute (ExportMetadata).