GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Problem running endpoints oauth client · Issue #310 · GoogleCloudPlatform/python-docs-samples

Problem running endpoints oauth client #310

New issue
Copy link
New issue
Copy link
Closed
Closed
Problem running endpoints oauth client#310
Copy link
Labels
🚨This issue needs some love.triage meI really want to be triaged.

Description

@broady
broady
opened on Apr 29, 2016
Issue body actions
$ 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 (most recent call last):
    File "/usr/lib/python2.7/site.py", line 158, in addpackage
      exec line
    File "<string>", line 1, in <module>
  KeyError: 'google'

Remainder of file ignored
Traceback (most recent call last):
  File "clients/google-jwt-client.py", line 92, in <module>
    main(args.host, args.api_key, args.service_account_file)
  File "clients/google-jwt-client.py", line 73, in main
    signed_jwt = generate_jwt(service_account_file)
  File "clients/google-jwt-client.py", line 32, in generate_jwt
    service_account_file)
  File "/usr/local/lib/python2.7/dist-packages/oauth2client/service_account.py", line 195, in from_json_keyfile_name
    return cls._from_parsed_json_keyfile(client_credentials, scopes)
  File "/usr/local/lib/python2.7/dist-packages/oauth2client/service_account.py", line 161, in _from_parsed_json_keyfile
    'Expected', SERVICE_ACCOUNT)
ValueError: ('Unexpected credentials type', None, 'Expected', 'service_account')

Activity

Next
  1. broady
    changed the title [-]Endpoints client missing dep[/-] [+]Problem running endpoints oauth client[/+] on Apr 29, 2016
  2. broady commented on Apr 29, 2016

    @broady
    broady
    on Apr 29, 2016
    ContributorAuthor
    More actions

    I was running the wrong client. D'oh.

  3. broady
    closed this as completedon Apr 29, 2016
  4. yoshi-automation
    added
    triage meI really want to be triaged.
    🚨This issue needs some love.
    on Apr 7, 2020
  5. nicain
    added a commit that references this issue on Nov 2, 2022

    chore(deps): update dependency google-cloud-storage to v2.3.0 (#310)

    89db439
  6. donmccasland
    added a commit that references this issue on Nov 2, 2022

    chore(deps): update dependency pytest to v7.2.0 (#310)

    857a2ad
  7. dandhlee
    added a commit that references this issue on Nov 7, 2022

    chore(deps): update dependency pytest to v7.2.0 (#310)

    d74adc8
  8. m-strzelczyk
    added a commit that references this issue on Nov 9, 2022

    chore(deps): update all dependencies (#310)

    ab5e257
  9. dandhlee
    added a commit that references this issue on Nov 16, 2022

    chore(deps): update all dependencies (#310)

    d37c394
  10. msampathkumar
    added a commit that references this issue on Nov 18, 2022

    chore(deps): update dependency google-cloud-recaptcha-enterprise to v…

    5579259
  11. m-strzelczyk
    added a commit that references this issue on Nov 18, 2022

    chore(deps): update dependency pytest to v7.1.2 (#310)

    3debf00
  12. telpirion
    added a commit that references this issue on Dec 2, 2022

    chore(deps): update all dependencies (#310)

    e98a3a4
  13. dandhlee
    added a commit that references this issue on Dec 2, 2022

    chore(deps): update all dependencies (#310)

    db391dc
  14. 3 remaining items

  15. rsamborski
    added a commit that references this issue on Jan 20, 2023

    chore(deps): update dependency google-auth to v2.14.0 (#310)

    c78daf2
  16. gcf-merge-on-green
    added a commit that references this issue on Jan 25, 2023

    migrate code from googleapis/python-security-private-ca (#9028)

    58c69d0
  17. m-strzelczyk
    added a commit that references this issue on Jan 25, 2023

    chore(deps): update dependency google-auth to v2.14.0 (#310)

    d621d1b
  18. dandhlee
    added a commit that references this issue on Feb 28, 2023

    migrate code from googleapis/python-recaptcha-enterprise (#8532)

    8254802
  19. telpirion
    added 3 commits that reference this issue on Mar 13, 2023

    migrate code from googleapis/python-security-private-ca (#9028)

    7116d06

    chore(deps): update dependency google-auth to v2.14.0 (#310)

    73ff824

    migrate code from googleapis/python-recaptcha-enterprise (#8532)

    2266c0e
  20. MiaCY
    added a commit that references this issue on Apr 11, 2023

    chore(deps): update dependency pytest to v7.2.1 (#310)

    c781e8f
  21. dandhlee
    added a commit that references this issue on Apr 22, 2023

    chore(deps): update dependency pytest to v7.2.1 (#310)

    7ff6397
  22. dizcology
    added a commit that references this issue on Jun 15, 2023

    chore(deps): update dependency pytest to v7.3.1 (#310)

    4c171b0
  23. leahecole
    added a commit that references this issue on Jun 16, 2023

    chore(deps): update dependency pytest to v7.3.1 (#310)

    300779c
  24. dizcology
    added a commit that references this issue on Jun 16, 2023

    chore(python): use black==22.3.0 (#310)

    b9eef6d
  25. Avani-Thakker-Crest
    added a commit that references this issue on Jun 21, 2023

    chore(deps): update dependency pytest to v7.3.1 (GoogleCloudPlatform#310

    c55b510
  26. dizcology
    added a commit that references this issue on Jul 10, 2023

    chore(python): use black==22.3.0 (#310)

    891be72
  27. leahecole
    added a commit that references this issue on Jul 11, 2023

    chore(python): use black==22.3.0 (#310)

    bfeb7f1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🚨This issue needs some love.triage meI really want to be triaged.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.