[ 
https://issues.apache.org/jira/browse/NIFI-9596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17485804#comment-17485804
 ] 

ASF subversion and git services commented on NIFI-9596:
-------------------------------------------------------

Commit 9d8b39529ef5f877e5e8790973ca43ac049be85a in nifi's branch 
refs/heads/main from Matt Burgess
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=9d8b395 ]

NIFI-9596: Fix newline bug in JythonScriptRunner
NIFI-9596: Added comment to indicate why the Apache header is missing

This closes #5682

Signed-off-by: Mike Thomsen <[email protected]>


> ExecuteScript gives syntax error with Jython when Module Directory is set
> -------------------------------------------------------------------------
>
>                 Key: NIFI-9596
>                 URL: https://issues.apache.org/jira/browse/NIFI-9596
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Matt Burgess
>            Assignee: Matt Burgess
>            Priority: Major
>             Fix For: 1.16.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> If the Module Directory property is set for a Jython script, the first line 
> of the script is at the end of the last module (sys.path.append) line due to 
> a missing newline, which can cause a syntax error. The workaround is to add a 
> blank line as the first line of the script. NIFI-8625 introduced this 
> regression.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to