AnsweredAssumed Answered

ArcPro crash calling arcpy.mp.Table

Question asked by don.morrison on Jan 9, 2020
Latest reply on Jan 10, 2020 by MBDriscoll

ArcPro crashes every time I try to run the very trivial program below. I've tried it in the ArcPro python pane (both 2.4.2 and 2.4.3) and under Spyder IDE - and using many variations to the code below.  It does throw an error (as expected) if I feed it a bogus table datasource. The table doesn't appear corrupt since I can open it from the catalog pane. Is anybody else using this API call? 

 

import arcpy
arcpy.env.workspace = r'C:\Users\dmorri28\Documents\ArcGIS\Projects\MyProject\CC-SQL2k16-ERC-SDE.sde'
arcpy.mp.Table('FieldShareLevel')

 

I'm running this with arcpy that got installed with ArcPro (currently at 2.4.3 but also failed on 2.4.2)  and Python 3.6.8 and Advanced license.

Outcomes