Hi,
My code below fails with a KeyError coming from the library:
sub=Subscription(SUBSCRIPTION_NAME, Topic(INCOMING_TOPIC_NAME))
whileTrue:
try:
msgs=sub.pull()
...
except:
msg='poll %s: %s'% (SUBSCRIPTION_NAME, traceback.format_exc())
printmsg
Fails with the message:
poll extractors: Traceback (most recent call last):
File "main.py", line 46, in main
msgs = sub.pull()
File "/usr/local/lib/python2.7/dist-packages/gcloud/pubsub/subscription.py", line 176, in pull
for info in response['receivedMessages']]
KeyError: 'receivedMessages'
This seems like a bug on the pubsub library code.
Hi,
My code below fails with a KeyError coming from the library:
Fails with the message:
This seems like a bug on the pubsub library code.