[ 
https://issues.apache.org/jira/browse/PROTON-2020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16802229#comment-16802229
 ] 

Chuck Rolke commented on PROTON-2020:
-------------------------------------

[~astitcher] A qpid-dispatch self test has been running fine (for me) with 
Python 2 for about a year. 
[https://github.com/apache/qpid-dispatch/blob/master/tests/authservice.py.in]

Whatever signal is being emitted by select it is "not iterable" and referring 
to it with 'e[0]' generates a new exception that hides the original exception. 
With that repaired by this issue the fundamental issue is exposed at PROTON-2022

 

> _io.py error path syntax error in python3
> -----------------------------------------
>
>                 Key: PROTON-2020
>                 URL: https://issues.apache.org/jira/browse/PROTON-2020
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: python-binding
>    Affects Versions: proton-c-0.27.0
>         Environment: python 3
> Fedora 29
> Proton master
> qpid-dispatch master @88e25
> self test system_tests_authz_service_plugin
>            Reporter: Chuck Rolke
>            Priority: Major
>             Fix For: proton-c-0.28.0
>
>
> * 
> 39:   File "/opt/local/lib64/proton/bindings/python/proton/_io.py", line 138, 
> in select
>  * 
> 39:     if e[0] != errno.EINTR:
>  * 
> 39: TypeError: 'OSError' object is not subscriptable
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to