-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 6.1.0
-
Component/s: Pipeline Plugins
-
Labels:
-
Rank:1|i00kfz:
The attached pipeline has some bad python syntax. When you try deploying the pipeline, all that comes back is an unhelpful error message that says:
Error configuring stage 'Python': null
I've attached a screenshot of the error.
The root cause is a bad exception thrown by jython:
Caused by: org.python.core.PySyntaxError: null at org.python.core.ParserFacade.fixParseError(ParserFacade.java:92) ~[na:na] at org.python.core.ParserFacade.parseExpressionOrModule(ParserFacade.java:130) ~[na:na] at org.python.util.PythonInterpreter.compile(PythonInterpreter.java:259) ~[na:na] at org.python.util.PythonInterpreter.compile(PythonInterpreter.java:256) ~[na:na] at org.python.util.PythonInterpreter.compile(PythonInterpreter.java:250) ~[na:na] at co.cask.hydrator.plugin.transform.PythonEvaluator.init(PythonEvaluator.java:413) ~[na:na] at co.cask.hydrator.plugin.transform.PythonEvaluator.configurePipeline(PythonEvaluator.java:175) ~[na:na] at co.cask.cdap.etl.spec.PipelineSpecGenerator.configurePlugin(PipelineSpecGenerator.java:337) ~[na:na] ... 37 common frames omitted
But the plugin should at least be catching the PySyntaxError and telling the user that there is a syntax error, though what the error is can't be determined if jython isn't saying what it is.
- mentioned in
-
Page Loading...