I have a script tool that takes a workspace as a parameter, then loops through the tables in that workspace and prints their catalog path.import arcpy
from arcpy import env
workspace = arcpy.GetParameterAsText(0)
env.workspace = workspace
for fc in sorted(arcpy.ListTables()):
arcpy.AddMessage(arcpy.Describe(fc).catalogPath)
I have a file geodatabase with a schema imported from an SDE via XML. When I run my script tool against this file gdb I get strange results. The catalog path prints correctly for most of the tables, but a few will show having different catalog paths. Is this a python thing, an environment thing, or an XML schema document thing?