Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
5.13.0
-
None
-
Python 2.7
-
Patch Available
-
Patch
Description
The listener.py from the stompest API Python example doesn't work with this error message:
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'