GithubHelp home page GithubHelp logo

Comments (8)

rcbyron avatar rcbyron commented on May 12, 2024

Hey again! The gmail module / api is still under work. We temporarily took out both the gmail module and gmail api file. Try downloading the latest version of the athena-voice-client repository. That should fix this error. As always, if this still doesn't work, let me know.

from hey-athena-client.

kuboosoft avatar kuboosoft commented on May 12, 2024

Thanks, I'm tired; but I am very happy because I have solved all the dependencies. pip3 isn't installed complety all the dependencies. I will try tomorrow cloning again the repository.

from hey-athena-client.

kuboosoft avatar kuboosoft commented on May 12, 2024

Well; now the next result:

[root@localhost athena]# python3 brain.py
~ Users: 'davidva'

~ Username: davidva

~ Logged in as: davidva
~ Looking for modules in: '/usr/lib/python3.4/site-packages/athena/modules/active'
~ Please properly configure the weather API
Traceback (most recent call last):
File "brain.py", line 160, in
start()
File "brain.py", line 155, in start
find_mods()
File "brain.py", line 35, in find_mods
modules.sort(key=lambda mod: mod.priority, reverse=True)
File "brain.py", line 35, in
modules.sort(key=lambda mod: mod.priority, reverse=True)
AttributeError: 'Weather' object has no attribute 'priority'

from hey-athena-client.

rcbyron avatar rcbyron commented on May 12, 2024

Ahh this is because the weather_api must be properly configured. It attempted to disable the Weather module because the location couldn't be found. I'm still working on the 'disable module' feature. Anyway, the user's .yml file must store a valid wunderground location. Try using a 5 digit zipcode or somewhere like Dallas, TX when configuring your user.

from hey-athena-client.

kuboosoft avatar kuboosoft commented on May 12, 2024

mmm, added 5 digit to zipcode using to test 73301 (I am from out USA); Well now I receive a message about "pocketsphinx"

full log:
[root@localhost athena]# python3 brain.py
~ Users: 'davidva'

~ Username: davidva

~ Logged in as: davidva
~ Looking for modules in: '/usr/lib/python3.4/site-packages/athena/modules/active'

~ Module Order: 'emotion', 'bitcoin', 'conversation', 'geo_info', 'music', 'spotify', 'weather', 'wolfram'

 _   _   _                      
/ \ | |_| |__   ___ _ __   __ _ 

/ _ | | '_ \ / _ \ '_ \ / ` |
/ ___ \ |
| | | | __/ | | | (| |
/
/ **|| ||
|| ||**,|
__ __ _
\ \ / /__ (
) ___ ___
\ \ / / _ | |/ / _ \
\ V / () | | (| __/
_/ _
/||_____|

~ Hey there, davidva!

Traceback (most recent call last):
File "brain.py", line 160, in
start()
File "brain.py", line 158, in start
stt.init()
File "/usr/lib/python3.4/site-packages/athena/stt.py", line 34, in init
decoder = Decoder(config)
File "/usr/lib64/python3.4/site-packages/pocketsphinx/pocketsphinx.py", line 326, in init
this = _pocketsphinx.new_Decoder(*args)
RuntimeError: new_Decoder returned -1

from hey-athena-client.

rcbyron avatar rcbyron commented on May 12, 2024

I'm looking into this issue... however my initial thoughts are: pocketsphinx is not properly installed OR your microphone isn't being detected by PyAudio (which is used by pocketsphinx). It might be helpful to try a different mic (I use one with a USB connector).

from hey-athena-client.

kuboosoft avatar kuboosoft commented on May 12, 2024

mmm, PyAudio. I made a rpm (0.2.9) Do you think affect it?. Also I used the current pocketsphinx https://github.com/cmusphinx/pocketsphinx. I will try downgrade PyAudio to 0.2.8 and test again.

from hey-athena-client.

sahilshahh avatar sahilshahh commented on May 12, 2024

Hi,

What version of PyAudio are you using? I believe that you need to use the 32 bit version of PyAudio for it to work. It could also be that the Python/PyAudio/Pocketsphinx versions must match (e.g. all 32 bit or all 64 bit)

from hey-athena-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.