Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-1655

Dynamic forms in Python interpreter do not work

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.7.0
    • Component/s: python-interpreter
    • Labels:
      None

      Description

      ZEPPELIN-1345 updates Python `PyZeppelinContext` and Pyspark `PyZeppelinContext ` but does not touch Python `Py4jZeppelinContext` - 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'
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                agoodman Alex Goodman
                Reporter:
                bzz Alexander Bezzubov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: