Closed probonopd closed 5 years ago
root@snips:~# sam logout
✔ Logged out
root@snips:~# sam login
? Enter email used on the console: (...)
? Enter password used on the console: [hidden]
✔ Logged in
root@snips:~# sam status
✖ No credentials found
Workaround: Running root@snips:~# sam connect localhost
(again?). Why?
Hello @probonopd
sam login
is to login on the console
sam connect localhost
is to connect to your Pi via ssh
The missing credentials are for the ssh
connection.
Both are required when performing sam install assistant
. Thus the error.
It will fetch assistant list on the console, train your assistant, download it and then upload it to your Pi.
The error message could be clearer though.
Thanks @nebuto. I don't quite understand why ssh
is used to communicate with localhost, but ok.
What would be helpful, though, is to not just print ✖ Error: No credentials found
but also tell the user what to do.
Closing this one, Thanks for your feedbacks!
What's the issue?
Use Cases Impacted See above
How to reproduce See above
Expected behavior Can log in and install assistant
Version and Environment How do I find out the installed snips version?