Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-13540

TypeError in Python Processor Extension 'WriteHelloWorld' (example from docs) Due to Unexpected Argument 'jvm'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-M3
    • None
    • Extensions
    • None
    • M1 Max, Mac OS Sonoma
    • Important

    Description

      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.

      Attachments

        1. err.log
          3 kB
          Leonidas Raghav

        Activity

          People

            Unassigned Unassigned
            leonidasraghav Leonidas Raghav
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: