Leonidas Raghav created NIFI-13540:
--------------------------------------

             Summary: TypeError in Python Processor Extension 'WriteHelloWorld' 
(example from docs) Due to Unexpected Argument 'jvm'
                 Key: NIFI-13540
                 URL: https://issues.apache.org/jira/browse/NIFI-13540
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
    Affects Versions: 2.0.0-M3
         Environment: M1 Max, Mac OS Sonoma
            Reporter: Leonidas Raghav
         Attachments: err.log

When trying the example Python extension from here
(https://nifi.apache.org/documentation/nifi-2.0.0-M3/html/python-developer-guide.html),
 copy-pasted directly into a file called WriteHelloWorld.py in the required 
directory I get the attached error stating:

TypeError: FlowFileTransform.__init__() got an unexpected keyword argument 'jvm'

The attached err.log file has more details of the error. 

The custom processor WriteHelloWorld does show up in the list and can be 
dragged onto the canvas, but fails to load due to the error above. 





--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to