[
https://issues.apache.org/jira/browse/ZOOKEEPER-732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrei Savu updated ZOOKEEPER-732:
----------------------------------
Attachment: ZOOKEEPER-732.patch
I've fixed the patch to also include {{ZCLOSING}} and {{ZNOTHING}}. It seems
like all the error codes listed in {{zookeeper.h}} {{ZOO_ERRORS}} enum are now
handled by {{err_to_exception}}.
> Improper translation of error into Python exception
> ---------------------------------------------------
>
> Key: ZOOKEEPER-732
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-732
> Project: Zookeeper
> Issue Type: Bug
> Components: contrib-bindings
> Affects Versions: 3.2.2
> Reporter: Gustavo Niemeyer
> Assignee: Lei Zhang
> Priority: Minor
> Attachments: ZOOKEEPER-732.patch, ZOOKEEPER-732.patch
>
>
> Apparently errors returned by the C library are not being correctly converted
> into a Python exception in some cases:
> >>> zookeeper.get_children(0, "/", None)
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> SystemError: error return without exception set
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.