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:01:00 UTC

[jira] [Created] (NIFI-9596) ExecuteScript gives syntax error with Jython when Module Directory is set

Matt Burgess created NIFI-9596:
----------------------------------

             Summary: 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


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)