Skip to main content
Solved

PythonFactory failed to load python symbol `FeatureProcessor'

  • February 20, 2018
  • 2 replies
  • 1763 views

kartemann

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!

Best answer by takashi

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.

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.

2 replies

takashi
Celebrity
  • Best Answer
  • February 21, 2018

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.


kartemann
  • Author
  • February 21, 2018

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.