Skip to main content

I am still facing this error. My Email Transformer is up to date, but the issue persists. When I run the workflow through FME Desktop (Form), it works fine. However, when I run it from the command prompt, the email is not sent and I receive the error log shown below. Could you please clarify why FME uses different Python environments for Desktop (Form) and fme.exe? This inconsistency is causing problems.

 

2025-08-21 06:23:59|1853.9|  0.0|INFORM|Successfully closed POSTGRES database reader
2025-08-21 06:23:59|1853.9|  0.0|STATS |SQLExecutor_5 INITIATOR Splitter (TeeFactory): Cloned 1 input feature(s) into 2 output feature(s)
2025-08-21 06:24:02|1854.3|  0.4|ERROR |Message Type: fme::internal::_v0:🇵🇾:Exception
2025-08-21 06:24:02|1854.3|  0.0|ERROR |Python Exception <ModuleNotFoundError>: No module named 'fmepy_emailer'
2025-08-21 06:24:02|1854.3|  0.0|FATAL |PythonFactory failed to load python symbol `fmepy_emailer.Emailer'. An outdated FME packaged transformer may be in use. Please check Tools > FME Options > FME Packages to confirm that all FME Packages are up to date
2025-08-21 06:24:02|1854.3|  0.0|FATAL |Factory proxy not initialized
2025-08-21 06:24:02|1854.3|  0.0|FATAL |Emailer_CALLER (PythonFactory): PythonFactory failed to process feature

Have a more detailled look at the FME logfiles from both the run started from Workbench and console:

2025-08-22 08:16:57|   0.1|  0.0|INFORM|Using Python interpreter from `C:\bin\FME251\fmepython313\python313.dll' with PYTHONHOME `C:\bin\FME251\fmepython313'
2025-08-22 08:16:57| 0.1| 0.0|INFORM|Python version 3.13 loaded successfully
2025-08-22 08:16:57| 0.1| 0.0|INFORM|Adding folder `C:\Users\username\AppData\Local\Temp\wb-xlate-1755843416058_21716' to the python path

This should give you some details which Python interpreter is used.

And do you have multiple FME Form versions installed? Check the PATH environment variable...