I'm getting this error in the logs:

2024-09-28 15:50:30,496 INFO [Initialize TransformOpenskyStates] 
org.apache.nifi.py4j.PythonProcess Creating Python Virtual Environment 
./work/python/extensions/TransformOpenskyStates/0.0.1-SNAPSHOT
        at 
org.apache.nifi.python.processor.PythonProcessorProxy.lambda$new$0(PythonProcessorProxy.java:78)
Caused by: java.io.IOException: Failed to create Python Environment 
./work/python/extensions/TransformOpenskyStates/0.0.1-SNAPSHOT: process existed 
with code 1

I can what appears to be a full environment in the work folder, though, so I 
don't know what's wrong.
________________________________
From: Joe Witt <joe.w...@gmail.com>
Sent: Saturday, September 28, 2024 2:01 PM
To: users@nifi.apache.org <users@nifi.apache.org>
Subject: Re: Nifi 2.0.0-M4: Python Processor relationships

Dave Check out this tutorial. I just followed it as well and got that component 
working and then built another example off of it. 
https://devcenter.datavolo.io/tutorials/build-python-transform/#0 Than
External (joe.w...@gmail.com<mailto:joe.w...@gmail.com>)
  Report This 
Email<https://protection.inkyphishfence.com/report?id=c2tvdXQtY2xldmVyLWRldmljZXMvZGdhbGxhZ2hlckBjbGV2ZXJkZXZpY2VzLmNvbS8zNGY5NTk0YmRmNjBjNDg3MWE2NjU4YWUxNzFmN2QyMi8xNzI3NTQ2NTI5LjYz#key=78ecd931166f1492bd3756c3f4025235>
  FAQ<https://getskout.com/emailprotectionfaq/>  Skout Email 
Protection<https://getskout.com/emailprotection/>

Dave

Check out this tutorial.  I just followed it as well and got that component 
working and then built another example off of it.

https://devcenter.datavolo.io/tutorials/build-python-transform/#0<https://shared.outlook.inky.com/link?domain=devcenter.datavolo.io&t=h.eJwtzUFuwjAQQNGrIHfb2CQkNmHFVQZ7krhMMsgep0Kody9Wu37S_y9VEqnLQS0ij3wxJuDucRNMOoDAzsQ6spEinCJQNrcSKTSPpyy8NZJgyxOn1Xwc1edB3Wsp37lI4wl3TM07Fz1mE2YggnnBdP2Tf9CeV3Pqp3EY-1uY7NH3Z9eCtcMZsHXt5ELXmdZ1bujt0I3anuoI6-iLUX9Hkeu8QqRaqhTetBWin1-MykfJ.MEUCIHS975J_4AxsMvzH4KZR8uKcszsYTP-wLybGs0kPHEm6AiEA8Bm_MYV2a-3jV9ierZgeI2Y4h4O6HLZeJozl17I2xKo>

Thanks
Joe

On Sat, Sep 28, 2024 at 10:22 AM David Gallagher 
<dgallag...@cleverdevices.com<mailto:dgallag...@cleverdevices.com>> wrote:
Hi - I'm playing around with creating a native Python processor in M4. I've 
been able to get them to show up as new Processor options, but they don't have 
any Output relationships. /python/extensions is empty in M4, but I moved one of 
the extensions from M2 into the directory and same problem. I don't see 
anything obvious in the Python development docs. Is this a known issue?

Thanks,

Dave

Reply via email to