question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GAX API hangs during (second) 'publish'

See original GitHub issue

/cc @bjwatson

======================================================================
ERROR: test_message_pull_mode_e2e (pubsub.TestPubsub)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tseaver/projects/agendaless/Google/src/gcloud-python/system_tests/pubsub.py", line 157, in test_message_pull_mode_e2e
    topic.publish(MESSAGE_1, extra=EXTRA_1)
  File "/home/tseaver/projects/agendaless/Google/src/gcloud-python/gcloud/pubsub/topic.py", line 246, in publish
    message_ids = api.topic_publish(self.full_name, [message_data])
  File "/home/tseaver/projects/agendaless/Google/src/gcloud-python/gcloud/pubsub/_gax.py", line 171, in topic_publish
    event.wait()
AttributeError: 'exceptions.AttributeError' object has no attribute 'message_ids'

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:19 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
bjwatsoncommented, Jun 22, 2016

@tseaver No problem. I have a fix in code review now: https://github.com/googleapis/gax-python/pull/111

Once this is merged, I will publish new versions of gax-python, pubsub, and logging. And then I will verify that this issue is closed. This should be finished tomorrow.

0reactions
tseavercommented, Jun 26, 2016

@geigerj Thanks for the pointer! #1910 disables bundling as you suggest. We can think about re-enabling it after a fix for https://github.com/googleapis/gax-python/issues/113 is released.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Google Sign-In API Hang with uncaught error Failed to get ...
In my electron app, I have 2 webviews , one for the main content and another one for google popup dialogs. So when...
Read more >
Publish messages to topics | Cloud Pub/Sub - Google Cloud
This document provides information about publishing messages. A publisher application creates and sends messages to a topic. Pub/Sub offers at-least-once ...
Read more >
Barely – Advance on Freeze-Off Threats, Soaring Spot Prices
Natural gas futures eked out a gain Wednesday amid worries that a fierce and widespread winter freeze could force production interruptions, ...
Read more >
336734 - page load hangs with "Waiting for cache..." message
It effects Chrome for about 30-60 seconds while it appears to do something to the cache. Some notes about my system which may...
Read more >
Quotas for Google Services | Apps Script
Script invoked too many times per second for this Google user account. This indicates that the script began executing too many times in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found