Solved

FME server 2022.1.1 (22623) & Arc Pro 3.0.0 & ESRI python 3.9 compatibility error

  • 19 January 2023
  • 4 replies
  • 24 views

I'm trying to run a python shutdown script and get this error -

"The workspace has Python Compatibility set to 'Esri ArcGIS Python 3.9', which requires an appropriate version of ArcGIS Pro or ArcGIS Server"

 

I've also tried calling the script from cmd line and get this in the engine log -

"Thu-19-Jan-2023 10:02:35.348 AM  INFORM  Thread-1100  WP301_Engine6   File "createaprx.py", line 9, in <module>

Thu-19-Jan-2023 10:02:35.348 AM  INFORM  Thread-1100  WP301_Engine6    import arcpy

Thu-19-Jan-2023 10:02:35.348 AM  INFORM  Thread-1100  WP301_Engine6   File "C:\\Program Files\\ArcGIS\\Pro\\Resources\\ArcPy\\arcpy\\__init__.py", line 77, in <module>

Thu-19-Jan-2023 10:02:35.348 AM  INFORM  Thread-1100  WP301_Engine6    from arcpy.geoprocessing import gp

Thu-19-Jan-2023 10:02:35.348 AM  INFORM  Thread-1100  WP301_Engine6   File "C:\\Program Files\\ArcGIS\\Pro\\Resources\\ArcPy\\arcpy\\geoprocessing\\__init__.py", line 14, in <module>

Thu-19-Jan-2023 10:02:35.348 AM  INFORM  Thread-1100  WP301_Engine6    from ._base import *

Thu-19-Jan-2023 10:02:35.348 AM  INFORM  Thread-1100  WP301_Engine6   File "C:\\Program Files\\ArcGIS\\Pro\\Resources\\ArcPy\\arcpy\\geoprocessing\\_base.py", line 14, in <module>

Thu-19-Jan-2023 10:02:35.348 AM  INFORM  Thread-1100  WP301_Engine6    import arcgisscripting

Thu-19-Jan-2023 10:02:35.348 AM  INFORM  Thread-1100  WP301_Engine6   File "C:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\arcgispro-py3\\lib\\site-packages\\arcgisscripting\\__init__.py", line 131, in <module>

Thu-19-Jan-2023 10:02:35.348 AM  INFORM  Thread-1100  WP301_Engine6    from ._arcgisscripting import *

Thu-19-Jan-2023 10:02:35.348 AM  INFORM  Thread-1100  WP301_Engine6  RuntimeError: The Product License has not been initialized."

 

Arc Pro is setup and licensed, I'm able to run the script within it and also from cmd line. It just fails with FME server.

icon

Best answer by tslack 19 January 2023, 18:50

View original

4 replies

Badge +7

Using FME Server with ArcGIS Pro licensing is difficult because FME Server needs a type of license it can check out without the possibility of being prompted with a login screen for ArcGIS Pro, or a ArcGIS Server installation on the same machine. What ESRI usually provides is a named user license which FME cannot use . Also there are legal ramifications of using FME Server with ArcGIS Pro which is I think not allowed by ESRI in their Terms Of Service. What this might mean for your problem is you need to buy ArcGIS Enterprise or ArcGIS Server because that is the official solution and everything else is illegal.

 

I an not sure if this is the root of your problem but if it is then you won't be able to find a workaround here as this is a official forum.

Badge

I was told by support:

To meet ESRI's license terms and for us to offer support, ArcGIS Server must be installed and licensed on the same machine as FME Server. ArcGIS Server Basic Edition is sufficient for FME Server. If you have an enterprise license, you should be able to install another instance of ArcGIS Server on the FME Server machine. This documentation from ESRI may help: https://enterprise.arcgis.com/en/server/latest/install/windows/installing-arcgis-for-server-on-multiple-machines.htm

I was told by support:

To meet ESRI's license terms and for us to offer support, ArcGIS Server must be installed and licensed on the same machine as FME Server. ArcGIS Server Basic Edition is sufficient for FME Server. If you have an enterprise license, you should be able to install another instance of ArcGIS Server on the FME Server machine. This documentation from ESRI may help: https://enterprise.arcgis.com/en/server/latest/install/windows/installing-arcgis-for-server-on-multiple-machines.htm

Thanks :) that would explain why it works with desktop and not server

I've been facing the same issue on both FME desktop and our new FME Server build.

 

I've found that FME doesn't like using portal authenticated licence server using named licences. Once I changed back to the integrated login in ArcGIS pro the license would load in FME Desktop.

 

The issue is I can't use this with my FME Engines. So I'm going to check a license out to test my theory.

 

Is this a bug or a limitation?

Reply