Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Token seems invalid. #37

Open
jetrylegitfivedemxrch opened this issue Aug 9, 2023 · 4 comments
Open

Token seems invalid. #37

jetrylegitfivedemxrch opened this issue Aug 9, 2023 · 4 comments

Comments

@jetrylegitfivedemxrch
Copy link

└─$ gitfive login

               %%                   %%
             (%%%%%,             (%%%%%,
             %%%%%@@@@@@@@@@@@@@@@@%%%%%
             %%%@@@@@@@@@(((@@@@@@@@@%%%
             @@@@@@((@@@(((@@@((@@@@@@%
             @@@@@@@((((@@@@@((((@@@@@@@
            @@@@((((@@&(@@@@@(@@@((((@@@@
           @@@@@(((((@@@@@@@@@@@((((%@@@@@
           @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
           @@@@@@@@@@@@@.....@@@@@@@@@@@@@
           @@@@@@@@@@@@@@@.@@@@@@@@@@@@@@@
             @@@@@@@@@@@@,,,@@@@@@@@@@@@
       (((      @@@@@@@@@@@@@@@@@@@
          *((          @@@@@@@
            *((       @@@@@@@@@
              (((((. @@@@@@@@@@@
                (((((@@@@@@@@@@@&
                    @@@@@@@@@@@@@
                    @@@@@@@@@@@@@
                    .@@@@@@@@@@@#

              By: mxrch (🐦 @mxrchreborn)
        Support my work on GitHub Sponsors ! 💖

[-] Creds aren't active anymore. Relogin...
[-] No saved credentials found

Username => Lztolspepa
🔒 Password => ***********

The API token requires the "repo" and "delete_repo" scopes.
See : https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
🔒 API Token => xHmVy*****

Checking API token validity...
[-] Token seems invalid.

the api token is good and has the good permission !

i managed to use it on my old pc but on my new pc it doesn't work it's the same thing on ghunt, on my old pc i can do it but on this one i can't


( vraiment besoin d'aide.. )

@mxrch
Copy link
Owner

mxrch commented Aug 23, 2023

Sympa ton pseudo ptdrr
Malheureusement je peux pas reproduire ton bug, je le fixerais si je l'ai une fois

@johnmartensmse
Copy link

Yea, i am getting the same error.

@C3n7ral051nt4g3ncy
Copy link

This can be fixed by doing:

  • pipx uninstall gitfive

  • Make sure you search for any left overs with: find ~/ -name "*gitfive*"

  • Examples of what you could have:

  • /.malfrats/gitfive

  • /.local/bin/gitfive

  • /.local/pipx/venvs/gitfive

  • /.local/pipx/venvs/gitfive/bin/gitfive

  • /.local/pipx/venvs/gitfive/lib/python3.10/site-packages/gitfive-1.1.8.dist-info

  • /.local/pipx/venvs/gitfive/lib/python3.10/site-packages/gitfive

  • /.local/pipx/venvs/gitfive/lib/python3.10/site-packages/gitfive/gitfive.py

  • /.local/pipx/venvs/gitfive/lib/python3.10/site-packages/gitfive/__pycache__/gitfive.cpython-310.pyc

Verify deletion:

ls -la /Users/-------/.local/bin/gitfive
ls -la /Users/-------/.local/pipx/venvs/gitfive
ls -la /Users/-----/.malfrats/gitfive

Then:

  • pipx install gitfive
  • gitfive login
  • provide username, password, and API token

@C3n7ral051nt4g3ncy
Copy link

@mxrch Feel free to close issue #37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants