ASF GitHub Bot commented on PROTON-1139:

Github user scholzj commented on the pull request:

    I have to say that I haven't tested it on Windows, but I guess the original 
example didn't worked there either. Is there some way how to make the example 
work on Windows as well? If not, this change is probably better than nothing.

> tx_recv_interactive.py example doesn't work
> -------------------------------------------
>                 Key: PROTON-1139
>                 URL: https://issues.apache.org/jira/browse/PROTON-1139
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: python-binding
>    Affects Versions: 0.12.0
>            Reporter: Jakub Scholz
>            Priority: Minor
> It looks like the tx_recv_interactive.py example doesn't work anymore, 
> because the get_event_trigger method no longer exists.
> $ ./tx_recv_interactive.py
> Traceback (most recent call last):
>   File "./tx_recv_interactive.py", line 70, in <module>
>     events = reactor.get_event_trigger()
>   File "/usr/lib64/python2.7/site-packages/proton/wrapper.py", line 69, in 
> __getattr__
>     raise AttributeError(name + " not in _attrs")
> AttributeError: get_event_trigger not in _attrs
> It looks like it should be replaced by the selectable method and 
> EventInjector object.

This message was sent by Atlassian JIRA

Reply via email to