I don't know if it is a bug or my lack of python skills, but I keep getting 'ERROR 000816 The tool is not valid' in my python script when I call ExportMetadata_conversion
Initially, I was attempting this on an sde database, but then I tried to take a step back just match the example in the documentation and use a file geodb:
import arcpy
from arcpy import env
env.workspace = "C:/data"
#set local variables
dir = arcpy.GetInstallInfo("desktop")["InstallDir"]
translator = dir + "Metadata/Translator/ESRI_ISO2ISO19139.xml"
arcpy.ExportMetadata_conversion ("data.gdb/roads", translator,
"roads_19139.xml")
But I received the same error.
Is anyone successfully calling this method? If so, does your code match the documentation?
