You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/19 16:43:19 UTC

[jira] [Commented] (PROTON-1139) tx_recv_interactive.py example doesn't work

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

ASF GitHub Bot commented on PROTON-1139:
----------------------------------------

GitHub user scholzj opened a pull request:

    https://github.com/apache/qpid-proton/pull/67

    PROTON-1139 tx_recv_interactive.py example doesn't work

    This pull request should fix the tx_recv_interactive.py example.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/scholzj/qpid-proton PROTON-1139

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/qpid-proton/pull/67.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #67
    
----
commit 55d9f82fea5e55ce986d5eeee70f50258a0dc41e
Author: Jakub Scholz <ww...@scholzj.com>
Date:   2016-02-19T15:40:32Z

    PROTON-1139 using selectable() instead of get_event_trigger()

----


> 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
(v6.3.4#6332)