Read the statement by Michael Teeuw here.
MMM-awesome-alexa
-
@cowboysdude thanks for the scripts! I’m trying to run auth_code.sh but I get the following errors, and no code to put in auth_code2.sh:
Can’t locate URI/Escape.pm in @INC (you may need to install the URI::Escape module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .).
BEGIN failed–compilation aborted.
Can’t locate URI/Escape.pm in @INC (you may need to install the URI::Escape module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .).
BEGIN failed–compilation aborted.
Can’t locate URI/Escape.pm in @INC (you may need to install the URI::Escape module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/arm-linux-gnueabihf/perl5/5.20 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .).
BEGIN failed–compilation aborted.
/usr/bin/xdg-open: 1: eval: www-browser: not found
/usr/bin/xdg-open: 1: eval: links2: not found
/usr/bin/xdg-open: 1: eval: elinks: not found
/usr/bin/xdg-open: 1: eval: links: not found
/usr/bin/xdg-open: 1: eval: lynx: not found
/usr/bin/xdg-open: 1: eval: w3m: not found
xdg-open: no method available for opening ‘https://www.amazon.com/ap/oa?client_id=[removed my client id]&scope=&scope_data=&response_type=code&redirect_uri=’Any ideas what could be wrong?
-
@jnstnr Yes I may have an idea…
open up both sh files and using your keyboard replace all the double quotes … for some reason they do not copy well. I did that and it ran great! :)
-
@cowboysdude just got home and tried it, replaced all " with ’
And now I get another error:
pi@raspberrypi:~ $ bash auth_code.sh
auth_code.sh: line 10: syntax error near unexpected token(' auth_code.sh: line 10:
perl -MURI::Escape -ne ‘chomp;print uri_escape($_),’\n’‘’Pretty sure there’s a simple fix for line 10, but haven’t figured it out yet!
-
Scratch that, finally managed to get a refresh token! Added it to the config and getting a black screen now though :/
-
-
@cowboysdude Thanks. I managed to get this up and running, now trying to tackle my USB mic :) this isn’t the easiest module to get working!
But thanks for all your help, you’re doing great work for the magic mirror community
-
@jnstnr Thanks. Did you see the Troubleshoot section here:
https://github.com/dolanmiu/MMM-awesome-alexa
Perhaps that will help! :)
-
@jnstnr Yeah, sorry for the complexity! I tried hard to make this as easy as possible
But due to the nature of this project, there are a lot of variables. Everyones machine and setup is different etc
-
@dolanmiu no worries, I totally understand that it’s quite complicated
-
@jnstnr said in MMM-awesome-alexa:
@cowboysdude just got home and tried it, replaced all " with ’
And now I get another error:
pi@raspberrypi:~ $ bash auth_code.sh
auth_code.sh: line 10: syntax error near unexpected token(' auth_code.sh: line 10:
perl -MURI::Escape -ne ‘chomp;print uri_escape($_),’\n’‘’Pretty sure there’s a simple fix for line 10, but haven’t figured it out yet!
Hi, what was you fix? Thanks