Python Errors in IDLE when processing metadata

4453
11
10-20-2010 10:21 AM
EricSonger
New Contributor II
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).
11 Replies
curtvprice
MVP Esteemed Contributor
Is it possible to share your export metadata python script?  I'm heading down this path and need something to export HTML.  Thanks, Mike


This is an old post, but the Export Metadata model can be run as a tool from python.
BerendVeldkamp
Occasional Contributor II
These two dll's don't seem to be included with ArcGIS Server (10.1). Can I copy them from another system where I have Desktop?
0 Kudos