Skip to main content

We have a workspace with a python caller that uses the office365-module. In FME-Desktop it always works fine, on FME-Server it works when the workbench is run directly. But when it's run within an automation, it sometimes fails with the following message:

Python Exception <ModuleNotFoundError>: No module named 'office365'

(The automation is running every night as on of many other automations, but we only run the workspace directly during the day, when not much else is running. Tthis may be a reason why it fails within the automation...?)

We compared the logfiles of a failed job with one of a successful job. Obviously, the office365-module is not the only one that's not beeing loaded...?

I attached the two logfiles in a zip-File.

We use FME 2019.2.1.0 and python-3.6.8 (own python interpreter)

Any help would be appreciated.

Thanks, Vera

Seems you havent set a custom python interpreter on FME Server? You have to select that also on server.

https://docs.safe.com/fme/html/FME_Server_Documentation/AdminGuide/Using-Python-with-FME_Server.htm 

 

On 1908:

2020-01-30 09:19:01|   0.9|  0.0|INFORM|The user-specified Python interpreter `D:\GDI\Administration\Tools\Python\WPy32-3680\python-3.6.8\python36.dll' is version 3.6 with PYTHONHOME `D:/GDI/Administration/Tools/Python/WPy32-3680/python-3.6.8'

 

 

 


We did set the custom python interpreter on FME-Server and most of the time it works fine. But just sometimes it doesn't... ?

 


Reply