Metadata geoprocessing tools fail to run using arcpy in the Python window.
Last Published: August 25, 2014No Product Found
Bug ID Number
NIM048885
Submitted
September 28, 2009
Last Modified
June 5, 2024
Applies to
No Product Found
Version found
10.0
Version Fixed
10.0
Status
Fixed
The bug has been fixed. See the Version Fixed and Additional Information, if applicable, for more information.
Workaround
Run the metadata geoprocessing tools interactively from their dialog boxes instead. The geoprocessing tools that are not models will also work when run in the Python window using arcgisscripting:import arcgisscriptinggp = arcgisscripting.create()gp.XSLTransform("c:/data/dataset.shp","c:/program files/arcgis/desktop9.4/metadata/stylesheets/gptools/exact copy of.xslt","c:/data/dataset_metadatacopy.xml","#")...instead of using arcpy:import arcpyarcpy.XSLTransform_conversion("c:/data/dataset.shp","c:/program files/arcgis/desktop9.4/metadata/stylesheets/gptools/exact copy of.xslt","c:/data/dataset_metadatacopy.xml","#")