You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Andrii Shyshkalov (Commented) (JIRA)" <ji...@apache.org> on 2012/04/18 10:13:42 UTC
[jira] [Commented] (ZOOKEEPER-732) Improper translation of error
into Python exception
[ https://issues.apache.org/jira/browse/ZOOKEEPER-732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13256286#comment-13256286 ]
Andrii Shyshkalov commented on ZOOKEEPER-732:
---------------------------------------------
This issue isn't closed, and indeed 3.3.3-3.3.5, 3.4.* releases do not contain this fix. What has to be done for it to be committed?
> 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.3.0
> Reporter: Gustavo Niemeyer
> Assignee: Lei Zhang
> Priority: Minor
> Fix For: 3.3.2
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira