Coder Social home page Coder Social logo

Comments (4)

Melvin-Abraham avatar Melvin-Abraham commented on July 18, 2024

@niksingh710 The reason behind this error is that the assistant was triggered (via text or microphone) before the token file was created during which the assistant's ready event wasn't called.

In short, when you are in the "Get Tokens" screen, avoid pressing the microphone button or typing in the "Ask me anything..." bar which would trigger the assistant. I'll probably make a commit that will prevent this error from happening.

after Setting the credential location I am getting this if I ignore this then paste my code then clicking submit does nothing

You can request tokens only once per day as per my testing (that should explain this issue). So, maybe you can try fetching the tokens another day.

If this doesn't work, let me know... :)

from google-assistant-unofficial-desktop-client.

niksingh710 avatar niksingh710 commented on July 18, 2024

@Melvin-Abraham I get what u r saying, I tried today too and got the same issue.

so the whole process that I followed

  1. Opened assistant from my application launcher and it automatically opens firefox and takes me to get the token link (btw my default browser is chrome and assistant is only showing on the tray)
  2. clicking on the assistant icon in the tray and launching it shows assistant UI and a new tab opens in firefox with the same to get token
    Screenshot_20201026_224305
  3. I click on ignore then it ask for me to paste the token when I do paste the token and click Submit nothing happens.
    Screenshot_20201027_095907

I hope you can help me to resolve this. is there any step I am doing wrong.

from google-assistant-unofficial-desktop-client.

Melvin-Abraham avatar Melvin-Abraham commented on July 18, 2024

@niksingh710 The issue is pretty much still the same, assistant is triggered somehow before token is created. In your case this seems to be at the beginning, which could mean that it is being triggered right after the assistant is launched via the hotkey.

Typically, in Settings > Application > Configure Hotkey Behavior, the default hotkey behavior is "Launch app / Toggle Microphone". Generally, it does not cause any issue but in your case I can suggest the following: You can either set the value of Configure Hotkey Behavior setting to any other option than the default one and launch assistant again or try launching via "Launch Assistant" option in the tray context menu.

Let me know if the issue still persists...

from google-assistant-unofficial-desktop-client.

niksingh710 avatar niksingh710 commented on July 18, 2024

@Melvin-Abraham Nothing from your side it was all that I messed up. when I first launched assistant it was showing the microphone is not accessible so without setting assistant token I executed this command sudo snap connect g-assist:audio-record

This was executing a microphone.

now I uninstalled it and reset up everything now it is working

I have one question it is saying the microphone is not accessible so should I execute this command sudo snap connect g-assist:audio-record

Thanks for the help :)

from google-assistant-unofficial-desktop-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.