Title: ImportError: No module named pwd · Issue #626 · GoogleCloudPlatform/python-docs-samples · GitHub
Open Graph Title: ImportError: No module named pwd · Issue #626 · GoogleCloudPlatform/python-docs-samples
X Title: ImportError: No module named pwd · Issue #626 · GoogleCloudPlatform/python-docs-samples
Description: Following the tutorial https://cloud.google.com/solutions/using-firebase-real-time-events-app-engine and example solution https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/appengine/standard/firebase/firetactoe we ar...
Open Graph Description: Following the tutorial https://cloud.google.com/solutions/using-firebase-real-time-events-app-engine and example solution https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/appe...
X Description: Following the tutorial https://cloud.google.com/solutions/using-firebase-real-time-events-app-engine and example solution https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/appe...
Opengraph URL: https://github.com/GoogleCloudPlatform/python-docs-samples/issues/626
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ImportError: No module named pwd","articleBody":"Following the tutorial \r\nhttps://cloud.google.com/solutions/using-firebase-real-time-events-app-engine \r\nand example solution \r\nhttps://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/appengine/standard/firebase/firetactoe \r\nwe are getting the following error when running \r\ndev_appserver.py .\r\non the example project. \r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"/home/developer/tmp/firebase/python-docs-samples/appengine/standard/firebase/firetactoe/lib/flask/app.py\", line 1988, in wsgi_app\r\n response = self.full_dispatch_request()\r\n File \"/home/developer/tmp/firebase/python-docs-samples/appengine/standard/firebase/firetactoe/lib/flask/app.py\", line 1641, in full_dispatch_request\r\n rv = self.handle_user_exception(e)\r\n File \"/home/developer/tmp/firebase/python-docs-samples/appengine/standard/firebase/firetactoe/lib/flask/app.py\", line 1544, in handle_user_exception\r\n reraise(exc_type, exc_value, tb)\r\n File \"/home/developer/tmp/firebase/python-docs-samples/appengine/standard/firebase/firetactoe/lib/flask/app.py\", line 1639, in full_dispatch_request\r\n rv = self.dispatch_request()\r\n File \"/home/developer/tmp/firebase/python-docs-samples/appengine/standard/firebase/firetactoe/lib/flask/app.py\", line 1625, in dispatch_request\r\n return self.view_functions[rule.endpoint](**req.view_args)\r\n File \"/home/developer/tmp/firebase/python-docs-samples/appengine/standard/firebase/firetactoe/firetactoe.py\", line 256, in main_page\r\n _send_firebase_message(channel_id, message=game.to_json())\r\n File \"/home/developer/tmp/firebase/python-docs-samples/appengine/standard/firebase/firetactoe/firetactoe.py\", line 98, in _send_firebase_message\r\n return _get_http().request(url, 'PATCH', body=message)\r\n File \"/home/developer/tmp/firebase/python-docs-samples/appengine/standard/firebase/firetactoe/lib/functools32/functools32.py\", line 400, in wrapper\r\n result = user_function(*args, **kwds)\r\n File \"/home/developer/tmp/firebase/python-docs-samples/appengine/standard/firebase/firetactoe/firetactoe.py\", line 83, in _get_http\r\n creds = GoogleCredentials.get_application_default().create_scoped(\r\n File \"/home/developer/tmp/firebase/python-docs-samples/appengine/standard/firebase/firetactoe/lib/oauth2client/client.py\", line 1264, in get_application_default\r\n return GoogleCredentials._get_implicit_credentials()\r\n File \"/home/developer/tmp/firebase/python-docs-samples/appengine/standard/firebase/firetactoe/lib/oauth2client/client.py\", line 1249, in _get_implicit_credentials\r\n credentials = checker()\r\n File \"/home/developer/tmp/firebase/python-docs-samples/appengine/standard/firebase/firetactoe/lib/oauth2client/client.py\", line 1202, in _implicit_credentials_from_files\r\n credentials_filename = _get_well_known_file()\r\n File \"/home/developer/tmp/firebase/python-docs-samples/appengine/standard/firebase/firetactoe/lib/oauth2client/client.py\", line 1368, in _get_well_known_file\r\n default_config_dir = os.path.join(os.path.expanduser('~'),\r\n File \"/usr/lib/python2.7/posixpath.py\", line 261, in expanduser\r\n import pwd\r\n File \"/opt/google_appengine/google/appengine/tools/devappserver2/python/sandbox.py\", line 963, in load_module\r\n raise ImportError('No module named %s' % fullname)\r\nImportError: No module named pwd\r\nINFO 2016-10-31 06:15:14,874 module.py:788] default: \"GET / HTTP/1.1\" 500 291\r\n```","author":{"url":"https://github.com/jkatrenic","@type":"Person","name":"jkatrenic"},"datePublished":"2016-10-31T06:16:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/626/python-docs-samples/issues/626"}
| 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:18a3bbeb-3c4d-164e-f594-9b8f95a9adc3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A6DE:29330:E53158:EA5C0D:6A4DC2E9 |
| html-safe-nonce | caf5d5752dfd8e92b8a3314308756e48f3d61446d400c97edce3e9d0abf04f7f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkRFOjI5MzMwOkU1MzE1ODpFQTVDMEQ6NkE0REMyRTkiLCJ2aXNpdG9yX2lkIjoiMjU2MzQwODA1OTM4OTgyMTY3MyIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9 |
| visitor-hmac | ce4fac5d031a97f6c0080d89f0a976b358496c9324f5f4ce8058ba7c75bc973e |
| hovercard-subject-tag | issue:186213441 |
| 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/626/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c6ab545230a08af8ab7743bcc7df3b78fa4810171d734e6e87e17fdb3471b599/GoogleCloudPlatform/python-docs-samples/issues/626 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c6ab545230a08af8ab7743bcc7df3b78fa4810171d734e6e87e17fdb3471b599/GoogleCloudPlatform/python-docs-samples/issues/626 |
| og:image:alt | Following the tutorial https://cloud.google.com/solutions/using-firebase-real-time-events-app-engine and example solution https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/appe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jkatrenic |
| 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