GitFive icon indicating copy to clipboard operation
GitFive copied to clipboard

Token seems invalid.

Open jetrylegitfivedemxrch opened this issue 10 months ago • 4 comments

└─$ 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.. )

jetrylegitfivedemxrch avatar Aug 09 '23 12:08 jetrylegitfivedemxrch

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

mxrch avatar Aug 23 '23 22:08 mxrch

Yea, i am getting the same error.

johnmartensmse avatar Mar 14 '24 15:03 johnmartensmse

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 avatar May 05 '24 11:05 C3n7ral051nt4g3ncy

@mxrch Feel free to close issue #37

C3n7ral051nt4g3ncy avatar May 05 '24 11:05 C3n7ral051nt4g3ncy