You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Christopher L. Shannon (JIRA)" <ji...@apache.org> on 2016/02/12 17:46:18 UTC

[jira] [Assigned] (AMQ-6165) Python stompest tests do not work with newer releases

     [ https://issues.apache.org/jira/browse/AMQ-6165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher L. Shannon reassigned AMQ-6165:
-------------------------------------------

    Assignee: Christopher L. Shannon

> 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
>            Assignee: Christopher L. Shannon
>            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)