runki
runki copied to clipboard
Cannot authenticate
Hi,
When I run runki given the correct username, password and deck, I get the following error:
2016/08/06 09:32:11 can't login to ankiweb%!(EXTRA string=failed to get mid authentification value from anki web)
Thanks, Samim
@psamim: Try to remove ~/.config/runki/creds
. Auth works for me, so check auth params.
The file does not exist and I give the auth params in the command line (--user and --pass).
@psamim: Are you using latest version of runki? I've double checked it and it worked fine. Try to put your auth params into config file: ~/.config/runki/runkirc
.
I tried the one in AUR and also using go get
, same results.
Runki --version
says 2.0.
I also checked and I am able to login to ankiweb.net with the same user and pass.
@psamim: That's definitely strange. Can you add some debug prints into the source code, so we can debug it?
have the same error with --user --pass and with runkirc you can download failed session dump from http://flex.oganer.net/runki.pcapng
The same problem seems to persist.
I don’t know if it has to do anything with this problem, but https://ankiuser.net/edit/save
gives a 404 error.
@rwmpelstilzchen: Hi. This repo is no longer maintained by me.
Can you check successor, maybe it will fit your needs: https://github.com/kovetskiy/ankictl
@seletskiy: Thanks, but it doesn’t seem to work either (https://github.com/kovetskiy/ankictl/issues/2).