Could not open sde workspace with ArcFMified Geodatabase - Python

420
1
10-18-2022 10:58 PM
junaidjawaid
New Contributor III

Hi everyone,

I have created a python script for the scheduled maintenance of ArcSDE geodatabase with Oracle RDBMS. We have ArcFM electric solution implemented in our ecosystem. My script is working fine with the non-ArcFM ArcSDE but not working with the ArcFM geodatabase from windows scheduler and Python IDLE or outside the ArcGIS environment. 

it is showing me "Could not open sde workspace" which I believe would be due to com objects.

I wonder if there is anything available in the python through which we can open the ArcFM geodatabase outside the ArcGIS via scripting.

Is there any lead? Grateful

 

 

 

0 Kudos
1 Reply
NanaDei
Esri Contributor

Hi @junaidjawaid , do you have ArcFM installed on the machine that  is running the arcpy script? It seems the script may be modifying data so the Object Reader wouldn't help in this case. You can also check with ArcFM support to determine whether there's a way to achieve the goal.