Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

verify credentials error #139

Open
originalnickname opened this issue Dec 20, 2019 · 3 comments
Open

verify credentials error #139

originalnickname opened this issue Dec 20, 2019 · 3 comments

Comments

@originalnickname
Copy link

originalnickname commented Dec 20, 2019

I installed with yay in AUR

I get this error on verify credentials:

[INFO] [nordnm.credentials]: Attempting to verify credentials... Traceback (most recent call last): File "/usr/bin/nordnm", line 11, in <module> load_entry_point('nordnm==0.6.1', 'console_scripts', 'nordnm')() File "/usr/lib/python3.8/site-packages/nordnm/__main__.py", line 26, in main nordnm.NordNM() File "/usr/lib/python3.8/site-packages/nordnm/nordnm.py", line 202, in __init__ self.setup() File "/usr/lib/python3.8/site-packages/nordnm/nordnm.py", line 315, in setup self.credentials = CredentialsHandler(paths.CREDENTIALS) File "/usr/lib/python3.8/site-packages/nordnm/credentials.py", line 21, in __init__ self.save_new_credentials() # Prompt for credentials File "/usr/lib/python3.8/site-packages/nordnm/credentials.py", line 68, in save_new_credentials if nordapi.verify_user_credentials(username, password): File "/usr/lib/python3.8/site-packages/nordnm/nordapi.py", line 99, in verify_user_credentials return validate_user_token(token_json, password) File "/usr/lib/python3.8/site-packages/nordnm/nordapi.py", line 80, in validate_user_token token = token_json['token'] TypeError: 'NoneType' object is not subscriptable

@zion2k
Copy link

zion2k commented Feb 6, 2020

Same here...
Manjaro (KDE) + AUR install of NordNM

@rojnwa
Copy link

rojnwa commented Mar 8, 2020

Same
installed on Arch (AUR)

EDIT:
I saw that the version on the AUR is pretty outdated (0.6.1-1). Getting the latest version via github directly fixed the problem.

@lsfxz
Copy link
Contributor

lsfxz commented Mar 15, 2020

There's also a nordnm-git package there: https://aur.archlinux.org/packages/nordnm-git

You could try that one, until a regular release is made again.

Disclaimer: I put that package there :)

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

No branches or pull requests

4 participants