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

ASF GitHub Bot commented on AMQ-6165:
-------------------------------------

GitHub user iweiss opened a pull request:

    https://github.com/apache/activemq/pull/168

    [AMQ-6165] Python stompest tests do not work with newer releases

    

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

    $ git pull https://github.com/iweiss/activemq-1 master

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

    https://github.com/apache/activemq/pull/168.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 #168
    
----
commit dcaf7cc0425c614e8e205a94dbf5e491efda05de
Author: Ingo Weiss <i...@redhat.com>
Date:   2016-02-11T09:03:47Z

    Clarified and updated instructions

commit 009080fde8830ac832e34583b818d2600475f789
Author: Ingo Weiss <i...@redhat.com>
Date:   2016-02-11T09:50:30Z

    Updated the example to match stompest API changes

----


> Python stompest tests do not work with newer releases
> -----------------------------------------------------
>
>                 Key: AMQ-6165
>                 URL: https://issues.apache.org/jira/browse/AMQ-6165
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Test Cases
>    Affects Versions: 5.13.0
>         Environment: Python 2.7
>            Reporter: Ingo Weiss
>            Priority: Minor
>
> The {{listener.py}} from the {{stompest}} API Python example doesn't work 
> with this error message:
> {noformat}
> Unhandled error in Deferred:
> Traceback (most recent call last):
>   File 
> "/Users/iweiss/homebrew/lib/python2.7/site-packages/twisted/internet/defer.py",
>  line 393, in callback
>     self._startRunCallbacks(result)
>   File 
> "/Users/iweiss/homebrew/lib/python2.7/site-packages/twisted/internet/defer.py",
>  line 501, in _startRunCallbacks
>     self._runCallbacks()
>   File 
> "/Users/iweiss/homebrew/lib/python2.7/site-packages/twisted/internet/defer.py",
>  line 588, in _runCallbacks
>     current.result = callback(current.result, *args, **kw)
>   File 
> "/Users/iweiss/homebrew/lib/python2.7/site-packages/twisted/internet/defer.py",
>  line 1184, in gotResult
>     _inlineCallbacks(r, g, deferred)
> --- <exception caught here> ---
>   File 
> "/Users/iweiss/homebrew/lib/python2.7/site-packages/twisted/internet/defer.py",
>  line 1128, in _inlineCallbacks
>     result = g.send(result)
>   File "listener.py", line 45, in run
>     client.subscribe(destination, self.handleFrame, headers={'ack': 'auto', 
> 'id': 'required-for-STOMP-1.1'}, ack=False)
>   File 
> "/Users/iweiss/homebrew/lib/python2.7/site-packages/stompest/util/__init__.py",
>  line 16, in __checkattr
>     return f(self, *args, **kwargs)
>   File 
> "/Users/iweiss/homebrew/lib/python2.7/site-packages/twisted/internet/defer.py",
>  line 1265, in unwindGenerator
>     gen = f(*args, **kwargs)
> exceptions.TypeError: subscribe() got an unexpected keyword argument 'ack'
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to