Skip to main content
Solved

Error: The workspace contains a linked custom transformer with an incompatable Python Compatibility

  • September 8, 2022
  • 3 replies
  • 171 views

aegman
Contributor
Forum|alt.badge.img+3

Hi,

I created a custom transformer which includes a PythonCaller to run a little script, worked fine while the transformer was embedded.

 

I exported the custom transformer and added it to another workspace as a linked transformer, and now get the error:

"The workspace is set to use `Python 3.9+', but the workspace contains a linked custom transformer with an incompatible Python Compatibility of `Python 2.7'. Please update the Python Compatibility of the workspace or the linked custom transformer"

 

Both the workspace and the custom transformer are set to Python3.9+FME_Python_ErrorIt works fine if I embed the transformer again. Any idea how I can resolve this?

Best answer by aegman

This issue only appears to affect linked custom transformers that are still on version 1. Making the tiniest change (e.g. moving an annotation) and saving as a new version resolves the issue.

 

Should also have said this is on FME 2022.1 Windows.

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.

3 replies

caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • September 8, 2022

This happens when you have multiple custom transformers with different Python compatibility settings.

Look around in your workspace and find the culprit.


aegman
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • September 8, 2022

This happens when you have multiple custom transformers with different Python compatibility settings.

Look around in your workspace and find the culprit.

I don't think that's the problem, it's a workspace built to test the custom transformer which only contains a reader and the custom transformer itself. There are no custom transformers within the custom transformer.


aegman
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • Best Answer
  • September 9, 2022

This issue only appears to affect linked custom transformers that are still on version 1. Making the tiniest change (e.g. moving an annotation) and saving as a new version resolves the issue.

 

Should also have said this is on FME 2022.1 Windows.