Skip to main content
Question

FME 2025.1 + PythonCaller + arcpy + Emailer fails


nielsgerrits
VIP
Forum|alt.badge.img+56

We are migrating to FME 2025.1 and I have a question about arcpy and the Emailer.

I have a workbench with a Creator and a PythonCaller. In the PythonCaller I added import arcpy. Python Compatibility is set to Esri ArcGIS Python 3.11. This works.

Now I want to add the Emailer transformer and I get the following screen:

If I Choose Cancel, I get no Emailer.

If I Choose Change Python Compatibility, I can add the Emailer. But now I the PythonCaller fails.

To solve that, I need to Change the Python Compatibility back to Esri ArcGIS Python 3.11. But if I do this, I get the following screen:

How can I configure my workbench to have both a working PythonCaller using arcpy and the Emailer transformer?

I need this on desktop (combined with ArcGIS Pro 3.5) and on server (combined with ArcGIS Enterprise 11.5).

The following transformers are problematic as well:

  • SharePointOnlineConnector
  • HTMLReportGenerator
  • AutodeskDocsConnector

19 replies

jkr_wrk
Influencer
Forum|alt.badge.img+29
  • July 24, 2025

 

Here are some mentions about compatibility but I don’t understand why so many components seem to be build with 3.13 while esri still is at 3.11

https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Form/Workbench/Python-Compatibility.htm

 

 

 


nielsgerrits
VIP
Forum|alt.badge.img+56

@birgit created support ticket #56873 for this issue.


ebygomm
Influencer
Forum|alt.badge.img+40
  • Influencer
  • July 25, 2025

For info

I am able to run a workspace in 2025.1 with

  • Python Compatibility set to Esri ArcGIS Python 3.11
  • A pythoncaller using ArcPy
  • SharePointOnlineConnector

To get the python caller on the canvas I have to go through the steps you described yesterday, or copy and paste from 2024.1, the same with the SharePointOnlineConnector. I haven’t however, upgraded the package (latest is 1.4, I have 1.2.2 installed)

 

Possibly downgrading the emailer package would work? 

 

 


birgit
Influencer
Forum|alt.badge.img+16
  • Influencer
  • July 25, 2025

Weird, I have the sharepoint online connector 1.1.7 and I have problems with that version too.


nielsgerrits
VIP
Forum|alt.badge.img+56
ebygomm wrote:

For info

I am able to run a workspace in 2025.1 with

  • Python Compatibility set to Esri ArcGIS Python 3.11
  • A pythoncaller using ArcPy
  • SharePointOnlineConnector

To get the python caller on the canvas I have to go through the steps you described yesterday, or copy and paste from 2024.1, the same with the SharePointOnlineConnector. I haven’t however, upgraded the package (latest is 1.4, I have 1.2.2 installed)

 

Possibly downgrading the emailer package would work? 

Thanks for sharing! Tried downgrading to 1.2.2 but this did not work for me, same behaviour as described in the initial post. I tested on a VM with only FME desktop 2025.1 and ArcGIS Pro 3.5.0 installed. Did not have FME nor Pro installed prior to this.

Also, my concern is, as the HTMLReportGenerator is not an item from the FME hub, that Safe started upgrading the default transformers to 3.13 where Esri is limited to 3.11. So now I wonder which other default transformers won’t work anymore.


ebygomm
Influencer
Forum|alt.badge.img+40
  • Influencer
  • July 25, 2025

I was mistaken, I can’t add either an email or a sharepointconnector and then switch the python compatibility, but I can copy paste them into a workspace with the python compatibility already set without issue (and they appear to run with no warnings/errors)

 


nielsgerrits
VIP
Forum|alt.badge.img+56
ebygomm wrote:

I was mistaken, I can’t add either an email or a sharepointconnector and then switch the python compatibility, but I can copy paste them into a workspace with the python compatibility already set without issue (and they appear to run with no warnings/errors)

 

Copy pasting these transformers from an older version of fme desktop works for me. Thanks, this is a big relief!


nielsgerrits
VIP
Forum|alt.badge.img+56
nielsgerrits wrote:
ebygomm wrote:

I was mistaken, I can’t add either an email or a sharepointconnector and then switch the python compatibility, but I can copy paste them into a workspace with the python compatibility already set without issue (and they appear to run with no warnings/errors)

 

Copy pasting these transformers from an older version of fme desktop works for me. Thanks, this is a big relief!

Cheered too soon, when I try to save the workspace it still fails...


nielsgerrits
VIP
Forum|alt.badge.img+56
nielsgerrits wrote:

@birgit created support ticket #56873 for this issue.

The internal ticket for this is FMEENGINE-87331, which is scheduled to be fixed in 2025.1.1


ebygomm
Influencer
Forum|alt.badge.img+40
  • Influencer
  • July 28, 2025

Do we know the exact details of when this occurs?

 

I was able to save my workspace in 2025.1 without issue.


nielsgerrits
VIP
Forum|alt.badge.img+56

This is all we know. We continue to test / migrate our non arcpy workspaces and hope the version with the fix is released soon. In previous years xxxx.1.1 was released a month after the release of xxxx.1 which was 2025-07-08 so beginning of august would be nice.


jkr_wrk
Influencer
Forum|alt.badge.img+29
  • July 28, 2025

Today unable to reproduce. Currently able to copy and paste transformers from 2021/2024 into the workbench and save.

But probably the workbench we tested on friday had something in it that switched it to 3.13 in the background on save.

I’m not able to add a PythonCaller (without copying from another workbench) without switching from Esri 3.11 to 3.13. And as soon as I switch to 3.13 unable to go back without removing the HTMLReportGenerator etc. Till now I added the pythoncaller first and then switch so I did not notice.

It seems that we need to write all workbenches in 2024 and run them in 2025 untill 2025.1.1 is released?

 

 

 

What i did not understand, but now do is that setting the workbench to 3.9+ will still run all python code with 3.13 because that is shipped with FME. And Esri 3.9+ will still run the code with 3.11 because that is installed with Esri. Guess it is only used to signal that the python code should be compatible with 3.9 and later. But nothing else.

 

From the documentation of the packages:

Emailer: Supported Python Versions: 3.5+
Geocoder: Supported Python Versions: 3.6+
Sharepoint: Supported Python Versions: 3.8+
AutodeskDocs: no info
Agol: Supported Python Versions: 3.8+

So I hope the packages will all return to supporting 3.9+ as intended.

 

 

 

 

 

 

 


ebygomm
Influencer
Forum|alt.badge.img+40
  • Influencer
  • July 28, 2025

Watching closely as upgrade of flow environments to 2025.1 is imminent


crystalatsafe
Safer
Forum|alt.badge.img+21

I'm sorry for any inconvenience this may have caused! We have an internal ticket with development for this issue (FMEENGINE-87331), which is scheduled to be fixed in version 2025.1.1.
I will update this thread once the issue has been fixed.


jkr_wrk
Influencer
Forum|alt.badge.img+29
  • July 30, 2025

@crystalatsafe 

Safe is aware the list of Transformers with this issue is longer than the current 3 identified?

You probably don’t need to know all the Transformers to fix the issue but at least these also have the problem:

attributepivoter
chartgenerator
emailer
geocoder
htmlreportgenerator
htmllayouter
htmlextractor
projectwisewgsconnector
powerpointstyler

Could you also add Python compatibility info to the Autodesk package?

In the past there was an issue when installing Autodesk package when a custom interpreter was set. It can only be installed with the default python interpreter.

 


crystalatsafe
Safer
Forum|alt.badge.img+21

Hi ​@jkr_wrk 

Thanks for providing a list of the transformers impacted. I have let the development team know. 

We previously included supported Python versions, especially when we still supported Python 2.7, as there were actual restrictions on the transformer/format. Now, packages are generally built to work on all Python versions supported by the minimum build of FME specified in requirements under the package details on FME hub. 

If it's not documented on the FME hub, then as long as the transformer is being used on that minimum FME build or newer, there shouldn't be any issues with Python compatibility. If it is documented, it's either documentation from the past, or there is a reason to consider the Python version in the version of FME the package is being run on.

If you do see any issues when using a custom interpreter please let us know.


crystalatsafe
Safer
Forum|alt.badge.img+21

This issue has been fixed in version 2025.1.1 (Build 25615), released yesterday. You can download the latest version at: https://fme.safe.com/downloads/ 


nielsgerrits
VIP
Forum|alt.badge.img+56

Thanks for your work!


crystalatsafe
Safer
Forum|alt.badge.img+21

You're welcome! Happy to help! 🙂


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings