Hi folks,
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>
Can you share a print screen of your PythonCreator, and perhaps also the code.
Below is the python script.
Hey @ebygomm Got that!!
I was not using class in python script.
Thankyou so much.
22 votes
15 votes
13 votes
12 votes
11 votes
8 votes
7 votes
6 votes
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.
We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.