googlesamples / assistant-sdk-python

Samples and bindings for the Google Assistant API
http://developer.google.com/assistant/sdk
Apache License 2.0
916 stars 320 forks source link

GActions CLI Login Issue #376

Open LorenzoZappa opened 5 years ago

LorenzoZappa commented 5 years ago

I had recently tried the Google Assistant SDK (https://developers.google.com/assistant ... ice/python) on my raspberry pi, but when I tried to add my custom actions It prompted my to download the gaction packet (https://developers.google.com/assistant ... ctions-cli) and, in order to make it work, I now have to login:

./gactions login

Visit the URL to authorize access:
https://accounts.google.com/o/oauth2/v2/auth?(more and more...)

If I try to visit this address and I try to login with the account I created the project with: https://i.stack.imgur.com/hw0bY.png

I get this error massage: https://i.stack.imgur.com/QjjAz.png

Any idea how to fix this problem?

In addition to this whenever I try the default command "Turn On" the assistant answers: "sorry, power control is not yet supported" How can I fix this?

Thank you

mattcarrollcode commented 5 years ago

What version of the CLI are you using? Have you run gactions selfupdate to make sure you're on the latest version?

LorenzoZappa commented 5 years ago

What version of the CLI are you using? Have you run gactions selfupdate to make sure you're on the latest version?

I just checked and gactions is up to date.

LorenzoZappa commented 5 years ago

Please help :(

eron93br commented 5 years ago

Same problem here...

mattcarrollcode commented 5 years ago

@LorenzoZappa @eron93br Can you run gactions --version? The latest version should be 2.2.4. If you're not on 2.2.4 please download the latest version here: https://developers.google.com/assistant/tools/gactions-cli

eron93br commented 5 years ago

Hi @matthewayne , thanks for you answer.

I've just checked an I'm using v 2.2.2. I did the download today directly from https://dl.google.com/gactions/updates/bin/linux/arm/gactions and got v 2.2.2.

I've already tried to do ./gactions update but I need to execute the login, but I also got an error.

mattcarrollcode commented 5 years ago

Can you run gactions with no command?

eron93br commented 5 years ago

Yes, I have set as environment variable.

LorenzoZappa commented 5 years ago

Same here, I have 2.2.2 but if I run gactions selfupdate it says gactions is up to date. and if I try gactions update I get Error: Not logged in. Please run gactions login to login.

eron93br commented 5 years ago

I've tried this on a PC running Ubuntu and it worked.

The command gactions --version shows 2.2.4 and the whole process of register a custom action works.

The problem is specific for the RPi.

LorenzoZappa commented 5 years ago

Maybe it's the ARM version that is outdated...

LorenzoZappa commented 5 years ago

I've tried this on a PC running Ubuntu and it worked.

The command gactions --version shows 2.2.4 and the whole process of register a custom action works.

The problem is specific for the RPi.

Same here, with ubuntu it works, but it's a bit annoying this way because every time I have to transfer my actions file from my raspberry Pi to Ubuntu...

iyotee commented 5 years ago

Arf same here. need the 2.2.4 for arm version

LorenzoZappa commented 5 years ago

Any idea how much time it will take?

Floplosion05 commented 4 years ago

hello guys, any updates, got the same problem

robertalexa commented 4 years ago

Hi guys,

Any updates on releasing 2.2.4 on ARM?

Thanks

pascaldornfeld commented 4 years ago

same issue here. newest version of gactions for arm is 2.2.2. Getting 'no login' in the program and 'login disabled for this app' when trying to login

lemena86 commented 4 years ago

Hi guys, i have gactions on my mac, recently this error shows up when i try to update my actions.json

Error 401: disabled_client The OAuth client was disabled.

please help

thomasw commented 4 years ago

There was a gactions outage starting at 2020-06-10 17:57:20 UTC that lasted for just about 22 hours. All gactions auth flows should be working now. Thanks again, @lemena86.

harvski1026 commented 4 years ago

Hey guys, I just found out a simple solution, It worked to me, I hope it will to you. I just downloaded the i386 version instead of arm version and it's working on my RPi. It does need selfupdate and you can go. The i386 version did manage to update itself from 2.2.2 to 2.2.4 and its parameters are working in RPi. It doesn't have a login parameter.

lavos-3rd commented 4 years ago

Hey guys, I just found out a simple solution, It worked to me, I hope it will to you. I just downloaded the i386 version instead of arm version and it's working on my RPi. It does need selfupdate and you can go. The i386 version did manage to update itself from 2.2.2 to 2.2.4 and its parameters are working in RPi. It doesn't have a login parameter.

how did you make it work on the RPi? when I did a self update, it shows an error: "cannot execute binary file: Exec format error"

b-rad15 commented 2 years ago

Using the version on NPM solved the issue for me npm i -g @assistant/gactions