laptop and a wrench

Bug

Metadata geoprocessing tools fail to run using arcpy in the Python window.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM048885
SubmittedSeptember 28, 2009
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found10.0
Version Fixed10.0
StatusFixed

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","#")

Steps to Reproduce

Bug ID: NIM048885

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options