Skip to main content
Question

modules sometimes not loaded on FME-Server


vki
Contributor
Forum|alt.badge.img+7
  • Contributor

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

2 replies

sigtill
Supporter
Forum|alt.badge.img+24
  • Supporter
  • January 30, 2020

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'

 

 

 


vki
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • February 4, 2020

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

 


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