keep-it-markdown icon indicating copy to clipboard operation
keep-it-markdown copied to clipboard

FIX to -> Username or password is incorrect (LoginException('BadAuthentication'))

Open djsudduth opened this issue 9 months ago • 28 comments

AS OF JAN 2024 THIS METHOD BELOW DOES NOT WORK - THE ONLY METHOD THAT WORKS RIGHT NOW IS IN THE NEW VERSION 0.6.0 (RELEASED 1/28/2024) INSTRUCTIONS. ADDITIONAL INFORMATION IN THE MESSAGE BELOW:

https://github.com/djsudduth/keep-it-markdown/issues/72#issuecomment-1905274630

~~The easiest fix is to install a fresh version Python 3.9.1, run KIM and then upgrade to >= 3.10.x once the Google token is saved in your keyring.~~

~~To do this execute a fresh install of 3.9.1, run pip install urllib3==1.25.1 and pip install gpsoauth==1.0.2, and then run KIM. Once that is done, then upgrade to a higher version of Python.~~

But, if you've already installed 3.10.x or 3.11.x do this:

~~1) This assumes you already had default system install of Python 3.10.x or 3.11.x 2) For Windows, install pyenv-win and then install Python 3.9.1 using the command pyenv install 3.9.1 (if you have a Mac or Linux - see this page for installation instructions -> https://github.com/pyenv/pyenv ) 3) Set the Python version with pyenv global 3.9.1 4) Run the kim install -> pip install -r requirements.txt 5) Run pip install urllib3==1.25.1 and pip install gpsoauth==1.0.2 (or, pip3 if that is your Python 3 standard) 6) Generate a new Google app password 7) Run python kim.py and login so you can save the Google Keep token to the keyring 8) Uninstall pyenv by deleting the .pyenv directory in your Users/User/folder (see online instructions on how to delete) 9) Run the kim install -> pip install -r requirements.txt for your default Python >3.10.x install from step 1 if you haven't already~~

~~Now kim.py will work in Python 3.10.x and 3.11.x when it loads and gets the Google token from keyring~~

djsudduth avatar Oct 03 '23 01:10 djsudduth