Skip to main content

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.

 

 

 

 

 

Can you share a print screen of your PythonCreator, and perhaps also the code.


Below is the python script.

 

 


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>

 


Hey ​@ebygomm Got that!!

I was not using class in python script.

 

Thankyou so much.


Reply