Title: Problem running endpoints oauth client · Issue #310 · GoogleCloudPlatform/python-docs-samples · GitHub
Open Graph Title: Problem running endpoints oauth client · Issue #310 · GoogleCloudPlatform/python-docs-samples
X Title: Problem running endpoints oauth client · Issue #310 · GoogleCloudPlatform/python-docs-samples
Description: $ python clients/google-jwt-client.py https://ep-dot-cbro-scratch.appspot.com $KEY ~/endpoints-client/oauth-secret.json Error processing line 2 of /usr/local/lib/python2.7/dist-packages/googleapis_common_protos-1.1.0-nspkg.pth: Traceback...
Open Graph Description: $ python clients/google-jwt-client.py https://ep-dot-cbro-scratch.appspot.com $KEY ~/endpoints-client/oauth-secret.json Error processing line 2 of /usr/local/lib/python2.7/dist-packages/googleapis_...
X Description: $ python clients/google-jwt-client.py https://ep-dot-cbro-scratch.appspot.com $KEY ~/endpoints-client/oauth-secret.json Error processing line 2 of /usr/local/lib/python2.7/dist-packages/googleapis_...
Opengraph URL: https://github.com/GoogleCloudPlatform/python-docs-samples/issues/310
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Problem running endpoints oauth client","articleBody":"```\n$ python clients/google-jwt-client.py https://ep-dot-cbro-scratch.appspot.com $KEY ~/endpoints-client/oauth-secret.json\nError processing line 2 of /usr/local/lib/python2.7/dist-packages/googleapis_common_protos-1.1.0-nspkg.pth:\n\n Traceback (most recent call last):\n File \"/usr/lib/python2.7/site.py\", line 158, in addpackage\n exec line\n File \"\u003cstring\u003e\", line 1, in \u003cmodule\u003e\n KeyError: 'google'\n\nRemainder of file ignored\nTraceback (most recent call last):\n File \"clients/google-jwt-client.py\", line 92, in \u003cmodule\u003e\n main(args.host, args.api_key, args.service_account_file)\n File \"clients/google-jwt-client.py\", line 73, in main\n signed_jwt = generate_jwt(service_account_file)\n File \"clients/google-jwt-client.py\", line 32, in generate_jwt\n service_account_file)\n File \"/usr/local/lib/python2.7/dist-packages/oauth2client/service_account.py\", line 195, in from_json_keyfile_name\n return cls._from_parsed_json_keyfile(client_credentials, scopes)\n File \"/usr/local/lib/python2.7/dist-packages/oauth2client/service_account.py\", line 161, in _from_parsed_json_keyfile\n 'Expected', SERVICE_ACCOUNT)\nValueError: ('Unexpected credentials type', None, 'Expected', 'service_account')\n```\n","author":{"url":"https://github.com/broady","@type":"Person","name":"broady"},"datePublished":"2016-04-29T02:48:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/310/python-docs-samples/issues/310"}
| 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:5c97c54f-743f-f6b5-7ed6-5b4392aca93c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D7B2:39DBD7:572517:770D8A:6A4D3ED0 |
| html-safe-nonce | 804b775c27ecf4c8c3716342f5b8429fbe7e16ce18ce0e57b9bdaf568908effd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0IyOjM5REJENzo1NzI1MTc6NzcwRDhBOjZBNEQzRUQwIiwidmlzaXRvcl9pZCI6IjEyMTU3Nzc4NzE3MzA5MTcwNzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9569a0a0327f65aa854717a64759d0057117c0ffbda19e320664005b0368644b |
| hovercard-subject-tag | issue:151783561 |
| 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/310/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7af5aceb41f3626fbfe44a2e226ea356a44eb560578bb2a56fd32b1f031d72d4/GoogleCloudPlatform/python-docs-samples/issues/310 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7af5aceb41f3626fbfe44a2e226ea356a44eb560578bb2a56fd32b1f031d72d4/GoogleCloudPlatform/python-docs-samples/issues/310 |
| og:image:alt | $ python clients/google-jwt-client.py https://ep-dot-cbro-scratch.appspot.com $KEY ~/endpoints-client/oauth-secret.json Error processing line 2 of /usr/local/lib/python2.7/dist-packages/googleapis_... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | broady |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| 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 | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width