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

Dynamic forms in Python interpreter do not work

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.7.0
    • python-interpreter
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment