Alexander Bezzubov created ZEPPELIN-1655: --------------------------------------------
Summary: Dynamic forms in Python interpreter do not work Key: ZEPPELIN-1655 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1655 Project: Zeppelin Issue Type: Bug Components: python-interpreter Affects Versions: 0.7.0 Reporter: Alexander Bezzubov Fix For: 0.7.0 ZEPPELIN-1345 updates [Python `PyZeppelinContext` | https://github.com/apache/zeppelin/blob/master/python/src/main/resources/bootstrap.py#L121] and [Pyspark `PyZeppelinContext ` |https://github.com/apache/zeppelin/blob/master/spark/src/main/resources/python/zeppelin_pyspark.py#L53] but does not touch [Python `Py4jZeppelinContext`|https://github.com/apache/zeppelin/blob/master/python/src/main/resources/bootstrap_input.py#L28] - wich is used for dynamic forms, in case `py4j` is installed on the system for things like ``` z.select("Choose a letter", ([a,"a"], [b,"b"], [c,"c"] ``` In latter case Python interpreter becomes not useable - any line results in ``` x = 1 Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'Py4jZeppelinContext' object has no attribute '_displayhook' ``` -- This message was sent by Atlassian JIRA (v6.3.4#6332)