Skip to main content

Hello,

I'm trying to use an external python library, Paramiko to perform some SFTP functionality. I am attempting to use a PythonCaller to run some python that I know works outside of FME. I have python 2.7x64bit installed. I'm running FME 2017.1x64 bit. My python interpreter is set as below:

Here is the PythonCaller configuration:

Here is the python script:

And here is the error:

I'm sure i'm goofing up something simple. Thank you for your help!

Hi @adamradel, because your Python Script doesn't contain a class named 'FeatureProcessor'. If you intend to call the function 'processFeature' here, change the 'Class or Function to Process Features' parameter to the function name to be called.


Hi @adamradel, because your Python Script doesn't contain a class named 'FeatureProcessor'. If you intend to call the function 'processFeature' here, change the 'Class or Function to Process Features' parameter to the function name to be called.

 

Thank you very much @takashi! That did the trick.

Reply