Hello,

Regarding not seeing the processor in the user interface, have you
enabled Python in nifi.properties?

# Uncomment in order to enable Python Extensions.
#nifi.python.command=python3

Thanks,

Bryan

On Tue, Jul 9, 2024 at 7:31 AM Cyrine ANENE <cyrine.an...@supcom.tn> wrote:
>
> Dear NiFi dev team,
>
> I hope this email finds you well. I am writing to seek your assistance 
> regarding an issue I am experiencing with the NiFiAPI in Python.
>
> Despite having verified that all the requirements are met and installing all 
> the required dependencies, I am encountering a problem where my VS Code does 
> not recognise the importation of NiFi api, it was installed with "pip install 
> nifi-api" and I used all the possible syntaxes possibles:
> - from nifi_api.flowfiletransform import FlowFileTransform, 
> FlowFileTransformResult
> - from nifiapi.flowfiletransform import FlowFileTransform, 
> FlowFileTransformResult
> -from nifi-api.flowfiletransform import FlowFileTransform, 
> FlowFileTransformResult
>
> I also another problem with my custom processors. I have packaged my NiFi 
> custom processor in a NAR folder and added it to the lib/ directory, and 
> tried another method as adding it to the python/extensions and neither of 
> them worked as i still does not see my processor when i search for it in the 
> user interface.
>
> I am currently working with the nifi-2.0.0-M4 version.
>
> I would greatly appreciate any guidance or insights you can provide to help 
> resolve this issue.
>
> Thank you in advance for your support. I look forward to your response.
>
> Best regards,
> Cyrine Anene.

Reply via email to