You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (Jira)" <ji...@apache.org> on 2022/01/19 17:02:00 UTC
[jira] [Assigned] (NIFI-9596) ExecuteScript gives syntax error with Jython when Module Directory is set
[ https://issues.apache.org/jira/browse/NIFI-9596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Burgess reassigned NIFI-9596:
----------------------------------
Assignee: Matt Burgess
> 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
>
>
> 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)