You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Otto Fowler (JIRA)" <ji...@apache.org> on 2019/05/15 22:04:00 UTC
[jira] [Commented] (NIFI-6109) Execute Stream Command for python
script- issue with JSON as command line argument
[ https://issues.apache.org/jira/browse/NIFI-6109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840815#comment-16840815 ]
Otto Fowler commented on NIFI-6109:
-----------------------------------
This is fixed and marked for 1.10
> Execute Stream Command for python script- issue with JSON as command line argument
> ----------------------------------------------------------------------------------
>
> Key: NIFI-6109
> URL: https://issues.apache.org/jira/browse/NIFI-6109
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.5.0
> Environment: python 2.7
> Reporter: Vineet Jain
> Assignee: Otto Fowler
> Priority: Major
> Attachments: pythonTest.xml, test.py
>
>
> When using ExecuteStreamCommand to execute a python script which takes JSON as command line argument, the python script execution fails at line where JSON is being read using json.loads(sys.argv[1]) with unable to decode error. Same works from command line.
>
> sample template and python script is attached.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)