Skip to main content
Solved

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

  • September 8, 2022
  • 3 replies
  • 121 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.

View original
Did this help you find an answer to your question?

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
caracadrian wrote:

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.


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