assistant-sdk-python icon indicating copy to clipboard operation
assistant-sdk-python copied to clipboard

GActions CLI Login Issue

Open LorenzoZappa opened this issue 6 years ago • 22 comments

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

LorenzoZappa avatar Oct 24 '19 21:10 LorenzoZappa

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

mattcarrollcode avatar Oct 25 '19 15:10 mattcarrollcode

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 avatar Oct 25 '19 16:10 LorenzoZappa

Please help :(

LorenzoZappa avatar Oct 27 '19 09:10 LorenzoZappa

Same problem here...

eron93br avatar Oct 28 '19 16:10 eron93br

@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

mattcarrollcode avatar Oct 28 '19 19:10 mattcarrollcode

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.

eron93br avatar Oct 28 '19 19:10 eron93br

Can you run gactions with no command?

mattcarrollcode avatar Oct 28 '19 19:10 mattcarrollcode

Yes, I have set as environment variable.

eron93br avatar Oct 28 '19 19:10 eron93br

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.

LorenzoZappa avatar Oct 28 '19 19:10 LorenzoZappa

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.

eron93br avatar Oct 28 '19 19:10 eron93br

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

LorenzoZappa avatar Oct 28 '19 19:10 LorenzoZappa

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...

LorenzoZappa avatar Oct 28 '19 20:10 LorenzoZappa

Arf same here. need the 2.2.4 for arm version

iyotee avatar Oct 30 '19 14:10 iyotee

Any idea how much time it will take?

LorenzoZappa avatar Nov 05 '19 19:11 LorenzoZappa

hello guys, any updates, got the same problem

Floplosion05 avatar Dec 13 '19 17:12 Floplosion05

Hi guys,

Any updates on releasing 2.2.4 on ARM?

Thanks

robertalexa avatar May 28 '20 20:05 robertalexa

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

pascaldornfeld avatar Jun 06 '20 22:06 pascaldornfeld

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

lemena86 avatar Jun 11 '20 00:06 lemena86

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.

thomasw avatar Jun 11 '20 18:06 thomasw

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.

harvski1026 avatar Jun 27 '20 07:06 harvski1026

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"

lavos-3rd avatar Jul 01 '20 18:07 lavos-3rd

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

b-rad15 avatar Mar 27 '22 08:03 b-rad15