djsudduth / keep-it-markdown

Convert Google Keep notes dynamically to markdown for Obsidian, Logseq, Joplin and Notion using the unofficial Keep API. Also, import simple markdown notes back into Google Keep.
Apache License 2.0
494 stars 32 forks source link

Cannot sign in, keep-test.py -> working, kim.py -> cannot sign in #34

Closed markoinether closed 2 years ago

markoinether commented 3 years ago

Hi Great work!!! would love to use the tool :). As I have described above, keep-test.py -> working:

$python3 keep-test.py
Enter your Google account username: *****
Enter your Google Password: 
Test worked!! You've succesfully logged into Google Keep! Please try running Keep-it-Markdown or KIM!

kim.py -> cannot sign in, will ask me to put in username, but not ask for password, will throw error right after username is put in

 python3 kim.py

Welcome to Keep it Markdown or KIM!

Enter your Google account username: ******

Username or password is incorrect (NoKeyringError('No recommended backend was available. Install a recommended 3rd party backend package; or, install the keyrings.alt package if you want to use the non-recommended backends. See https://pypi.org/project/keyring for details.'))
Could not excute KIM

I am using Sign in with App Passwords https://support.google.com/accounts/answer/185833 for sign in.

running Python 3.8.10

djsudduth commented 3 years ago

@4MarkusMarkus - thx! Somehow you are missing a keyring secure storage module for the Keep token. I think you can still use kim with the -r parameter and it won’t try to save your Keep token. try python3 kim.py -r which requires you to enter your pw every time.

what operating system are you using?

djsudduth commented 3 years ago

@4MarkusMarkus did you try the kim.py -r option yet?

ichmoimeyo commented 3 years ago

@djsudduth @4MarkusMarkus

I also used to have sign in problems ... I was able to solve it with ...

pip3 install --upgrade keyrings.alt

[... from stackoverflow ]

This way I just enter the pin# I chose and haven't had any problems since.

///////////////////// Enter your Google account username: xdxdxd Please enter password for encrypted keyring: zzzz You've succesfully logged into Google Keep using local keyring access token!

Enter a keyword search, label search or '--all' to convert Keep notes to md or '--x' to exit: /////////////////////

... hope that helps.

nveeser commented 2 years ago

FWIW I am having the same issue... Ubuntu 20.04 Python3 3.8.10

djsudduth commented 2 years ago

@nveeser - see the previous comment for the fix for keyring (I assume you're having the keyring issue)

djsudduth commented 2 years ago

This is addressed in #37 - closing for now