Title: ImportError: cannot import name 'connection' in logs when deploying via App Engine · Issue #689 · GoogleCloudPlatform/python-docs-samples · GitHub
Open Graph Title: ImportError: cannot import name 'connection' in logs when deploying via App Engine · Issue #689 · GoogleCloudPlatform/python-docs-samples
X Title: ImportError: cannot import name 'connection' in logs when deploying via App Engine · Issue #689 · GoogleCloudPlatform/python-docs-samples
Description: In which file did you encounter the issue? python-docs-samples/appengine/flexible/pubsub/main.py Did you change the file? If so, how? No Describe the issue Error when deploying to App Engine: from google.cloud.pubsub.connection import Co...
Open Graph Description: In which file did you encounter the issue? python-docs-samples/appengine/flexible/pubsub/main.py Did you change the file? If so, how? No Describe the issue Error when deploying to App Engine: from ...
X Description: In which file did you encounter the issue? python-docs-samples/appengine/flexible/pubsub/main.py Did you change the file? If so, how? No Describe the issue Error when deploying to App Engine: from ...
Opengraph URL: https://github.com/GoogleCloudPlatform/python-docs-samples/issues/689
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ImportError: cannot import name 'connection' in logs when deploying via App Engine","articleBody":"## In which file did you encounter the issue?\r\n\r\npython-docs-samples/appengine/flexible/pubsub/main.py\r\n\r\n### Did you change the file? If so, how?\r\n\r\nNo\r\n\r\n## Describe the issue\r\n\r\nError when deploying to App Engine: \r\n`from google.cloud.pubsub.connection import Connection\r\nFile \"/env/lib/python3.4/site-packages/google/cloud/pubsub/connection.py\", line 19, in \u003cmodule\u003e\r\nfrom google.cloud import connection as base_connection\r\nImportError: cannot import name 'connection'` \r\n\r\nIn the CLI I eventually get the below error and the app simply is repeatedly relaunching.\r\n\r\n`ERROR: (gcloud.app.deploy) Error Response: [13] Timed out when starting VMs. It's possible that the application code is unhealthy.`\r\n","author":{"url":"https://github.com/jeremykeen","@type":"Person","name":"jeremykeen"},"datePublished":"2016-11-29T21:27:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/689/python-docs-samples/issues/689"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6c5334ae-da80-6ebe-729b-770da1d6dc57 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B346:331610:10685FD:167A756:6A4DD9D0 |
| html-safe-nonce | f7048d0f96ac787762135b42a662155573fa1faa22f7a64039e1d5b60a9d393f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzQ2OjMzMTYxMDoxMDY4NUZEOjE2N0E3NTY6NkE0REQ5RDAiLCJ2aXNpdG9yX2lkIjoiODkyMjU4MDY5MTMyNjk4MjYwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e1c0bf8f1b849ef9f5d06e2ce39da51de6864e640b3649e3d01ca4ad6ce08047 |
| hovercard-subject-tag | issue:192404484 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/GoogleCloudPlatform/python-docs-samples/689/issue_layout |
| twitter:image | https://opengraph.githubassets.com/595622ffde1eaadcdf08c272b60fce159423f6be2ef68ef3ac175fba5bf664b3/GoogleCloudPlatform/python-docs-samples/issues/689 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/595622ffde1eaadcdf08c272b60fce159423f6be2ef68ef3ac175fba5bf664b3/GoogleCloudPlatform/python-docs-samples/issues/689 |
| og:image:alt | In which file did you encounter the issue? python-docs-samples/appengine/flexible/pubsub/main.py Did you change the file? If so, how? No Describe the issue Error when deploying to App Engine: from ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jeremykeen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/GoogleCloudPlatform/python-docs-samples git https://github.com/GoogleCloudPlatform/python-docs-samples.git |
| octolytics-dimension-user_id | 2810941 |
| octolytics-dimension-user_login | GoogleCloudPlatform |
| octolytics-dimension-repository_id | 35065876 |
| octolytics-dimension-repository_nwo | GoogleCloudPlatform/python-docs-samples |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 35065876 |
| octolytics-dimension-repository_network_root_nwo | GoogleCloudPlatform/python-docs-samples |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width