Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1318

In Python binding, get_children (and get and exists, and probably others) with expired session doesn't raise exception properly

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.3
    • 3.3.6, 3.4.4, 3.5.0
    • contrib-bindings
    • None
    • Mac OS X (at least)

    • Reviewed

    Description

      In Python binding, get_children (and get and exists, and probably others) with expired session doesn't raise exception properly.

      >>> zookeeper.state(h)
      -112
      >>> zookeeper.get_children(h, '/')
      Traceback (most recent call last):
      File "<console>", line 1, in <module>
      SystemError: error return without exception set

      Let me know if you'd like me to work on a patch.

      Attachments

        Activity

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

          People

            henryr Henry Robinson Assign to me
            j1m Jim Fulton
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment