I’m trying to execute a python script using Python Creator. The flow is running as expected also with expected outcome, but its giving this error -
I have checked the updates is FME package but still not working.
Not getting why this error is occuring.
If anyone has any idea about it, kindly help.
Thanks in advance.
Best answer by ebygomm
I’ve seen that message where the Class to Process Features entry doesn’t match what’s in the code window.
It doesn’t look like the code you are using is set up correctly for a pythoncreator, you would need something like this
import shutil import os from datetime import datetime
def FeatureCreator(feature): <code here>
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.