[ 
https://issues.apache.org/jira/browse/NIFI-13540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17865215#comment-17865215
 ] 

Bryan Bende commented on NIFI-13540:
------------------------------------

[~leonidasraghav] please see the example from the latest documentation, there 
was an issue with the example code that has been fixed now:

[https://nifi.apache.org/documentation/nifi-2.0.0-M4/html/python-developer-guide.html]

 

> 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
>            Priority: Major
>         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