You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "James Medel (Jira)" <ji...@apache.org> on 2020/04/17 18:56:00 UTC

[jira] [Created] (MINIFICPP-1196) MiNiFiCPP-BUG: Failed to initialize and start ExampleProcessor.py

James Medel created MINIFICPP-1196:
--------------------------------------

             Summary: MiNiFiCPP-BUG: Failed to initialize and start ExampleProcessor.py
                 Key: MINIFICPP-1196
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1196
             Project: Apache NiFi MiNiFi C++
          Issue Type: Documentation
    Affects Versions: 0.7.0
            Reporter: James Medel
             Fix For: 0.7.0
         Attachments: config.yml

I am working on creating custom MiNiFiCPP Python Processors, my processors were failing to start, so I tried the ExampleProcessor.py from the repo and dropped it into my flow. When I run my flow, I receive the error message: 

{color:#0747a6}[2020-04-17 18:29:10.807] [org::apache::nifi::minifi::core::ProcessGroup] [error] Failed to start processor 54d61268-80d9-11ea-a76f-022edbf4da95 (ExampleProcessor): Could not correctly in initialize ExampleProcessor{color}

I also receive warning message:

{color:#0747a6}[2020-04-17 18:29:10.779] [org::apache::nifi::minifi::core::ConfigurableComponent] [warning] Could not find property Script File{color}

I placed the ExampleProcessor.py into the minifi-python/ directory, then specified the Script File path for ExecutePythonProcessor in my config.yml file. 

I followed the instructions at *Apache NiFi - MiNiFi - Python Processors Readme*: [https://github.com/apache/nifi-minifi-cpp/tree/master/extensions/script]

I used *ExampleProcessor.py*: [https://github.com/apache/nifi-minifi-cpp/blob/master/extensions/script/ExampleProcessor.py]

 

Any help with getting this Python Processor to work would be greatly appreciated.

[^config.yml]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)