I started with PiCroft today, and am running into multiple issues via ssh:
running say_to_mycroft results in an error message that shows that it is written using Python 2 syntax while the interpreter is v3.4.2:
(mycroft-core) pi@picroft:~ $ say_to_mycroft configuration update
File “/home/pi/say_command.py”, line 12
print filename
^
SyntaxError: Missing parentheses in call to ‘print’
running mycroft-cli-client results in an error message:
Locale not supported, please try starting the command and setting LANG=“en_US.UTF-8”
Not sure which locale it is trying to use, but via raspi-config I created the UTF-8 locales for en_GB, en_US, and de_DE.
I downloaded the stable image, on the home.mycroft.ai site it shows my device installed with these version numbers:
CORE VERSION INSTALLED
18.2.11
ENCLOSURE VERSION INSTALLED
1.4.0
Thanks @maik for reporting this. Can I confirm a couple things first;
are you using any Skills that have a foreign language component? From what I’ve seen, the LANG locale error tends to occur primarily when there are one or two Skills that use some form of unicode
also try EXPORT LANG="en_US.UTF-8" then try running mycroft-cli-client - this will set the LOCALE without having to specify it each time.
On the say_to_mycroft side, I suspect we’ve just missed bringing it over to Python 3. I am going to flag that with my colleague @forslund.
So far, I‘m running the stock Picroft without any additional skills. Also, I tried exporting LANG before the command as you suggest (as it is also suggested by the error message), it makes no difference.
Thank you for your support! After booting up Picroft this week, without changing anything on my side, it just works. Did you change anything in the server side?