{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/1672","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/1672/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/1672/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/1672/events","html_url":"https://github.com/GoogleCloudPlatform/gcloud-python/issues/1672","id":144290445,"number":1672,"title":"Generic GCloudError thrown by psqworker","user":{"login":"dreid93","id":1885328,"avatar_url":"https://avatars.githubusercontent.com/u/1885328?v=3","gravatar_id":"","url":"https://api.github.com/users/dreid93","html_url":"https://github.com/dreid93","followers_url":"https://api.github.com/users/dreid93/followers","following_url":"https://api.github.com/users/dreid93/following{/other_user}","gists_url":"https://api.github.com/users/dreid93/gists{/gist_id}","starred_url":"https://api.github.com/users/dreid93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreid93/subscriptions","organizations_url":"https://api.github.com/users/dreid93/orgs","repos_url":"https://api.github.com/users/dreid93/repos","events_url":"https://api.github.com/users/dreid93/events{/privacy}","received_events_url":"https://api.github.com/users/dreid93/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/labels/pubsub","name":"pubsub","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"jonparrott","id":250995,"avatar_url":"https://avatars.githubusercontent.com/u/250995?v=3","gravatar_id":"","url":"https://api.github.com/users/jonparrott","html_url":"https://github.com/jonparrott","followers_url":"https://api.github.com/users/jonparrott/followers","following_url":"https://api.github.com/users/jonparrott/following{/other_user}","gists_url":"https://api.github.com/users/jonparrott/gists{/gist_id}","starred_url":"https://api.github.com/users/jonparrott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonparrott/subscriptions","organizations_url":"https://api.github.com/users/jonparrott/orgs","repos_url":"https://api.github.com/users/jonparrott/repos","events_url":"https://api.github.com/users/jonparrott/events{/privacy}","received_events_url":"https://api.github.com/users/jonparrott/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2016-03-29T14:55:52Z","updated_at":"2016-04-18T18:09:49Z","closed_at":null,"body":"I am unsure if this is a problem with `gcloud-python` or with `psq` though I am receiving an error when attempting occasionally when running the `psqworker`. \r\n\r\nThe error thrown : \r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/home/dawsonreid/.envs/fb_utm_sync/bin/psqworker\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/home/dawsonreid/.envs/fb_utm_sync/local/lib/python2.7/site-packages/click/core.py\", line 716, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/home/dawsonreid/.envs/fb_utm_sync/local/lib/python2.7/site-packages/click/core.py\", line 696, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/home/dawsonreid/.envs/fb_utm_sync/local/lib/python2.7/site-packages/click/core.py\", line 889, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/home/dawsonreid/.envs/fb_utm_sync/local/lib/python2.7/site-packages/click/core.py\", line 534, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/home/dawsonreid/.envs/fb_utm_sync/local/lib/python2.7/site-packages/psq/psqworker.py\", line 92, in main\r\n    worker.listen()\r\n  File \"/home/dawsonreid/.envs/fb_utm_sync/local/lib/python2.7/site-packages/psq/worker.py\", line 79, in listen\r\n    super(MultiprocessWorker, self).listen()\r\n  File \"/home/dawsonreid/.envs/fb_utm_sync/local/lib/python2.7/site-packages/psq/worker.py\", line 38, in listen\r\n    block=True)\r\n  File \"/home/dawsonreid/.envs/fb_utm_sync/local/lib/python2.7/site-packages/psq/queue.py\", line 94, in dequeue\r\n    return_immediately=not block, max_messages=max)\r\n  File \"/home/dawsonreid/.envs/fb_utm_sync/local/lib/python2.7/site-packages/gcloud/pubsub/subscription.py\", line 210, in pull\r\n    method='POST', path='%s:pull' % (self.path,), data=data)\r\n  File \"/home/dawsonreid/.envs/fb_utm_sync/local/lib/python2.7/site-packages/gcloud/connection.py\", line 343, in api_request\r\n    error_info=method + ' ' + url)\r\ngcloud.exceptions.GCloudError\r\n```\r\n\r\npsqworker will run properly for sometime before erroring out. "},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/comments/211507176","html_url":"https://github.com/GoogleCloudPlatform/gcloud-python/issues/1672#issuecomment-211507176","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/1672","id":211507176,"user":{"login":"jonparrott","id":250995,"avatar_url":"https://avatars.githubusercontent.com/u/250995?v=3","gravatar_id":"","url":"https://api.github.com/users/jonparrott","html_url":"https://github.com/jonparrott","followers_url":"https://api.github.com/users/jonparrott/followers","following_url":"https://api.github.com/users/jonparrott/following{/other_user}","gists_url":"https://api.github.com/users/jonparrott/gists{/gist_id}","starred_url":"https://api.github.com/users/jonparrott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonparrott/subscriptions","organizations_url":"https://api.github.com/users/jonparrott/orgs","repos_url":"https://api.github.com/users/jonparrott/repos","events_url":"https://api.github.com/users/jonparrott/events{/privacy}","received_events_url":"https://api.github.com/users/jonparrott/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T18:09:49Z","updated_at":"2016-04-18T18:09:49Z","body":"PSQ version 0.3.0 has been released which should fix this. Please report and further issues over there. Thank you! :)"}}