Skip to main content
Question

modules sometimes not loaded on FME-Server

  • January 30, 2020
  • 2 replies
  • 33 views

vki
Contributor
Forum|alt.badge.img+7

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

sigtill
Supporter
Forum|alt.badge.img+25
  • 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... ?