thomasweng15 / E.V.E.

a talking Jarvis program written in Python.
221 stars 27 forks source link

Issue starting recording #2

Closed thomasweng15 closed 11 years ago

thomasweng15 commented 11 years ago

Users on Linux Mint and Fedora 16 have encountered an error related to the pyaudio module in tts/google.py. The log of can be found here:

https://gist.github.com/olanmatt/5699088

Next step: reproducing the issue.

olanmatt commented 11 years ago

I pulled this fix, and it seems to have stopped the code from terminating. However, I am still getting the following errors: https://gist.github.com/olanmatt/5721863

Is there any further setup required outside of installing the dependancies?

Thanks, Matt

thomasweng15 commented 11 years ago

Hey Matt, These ALSA errors also appear when I run the program, with the exception of these lines:

Home directory /home/jarvis not ours. ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused Home directory /home/jarvis not ours. ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

I am able to run and use the program even with these messages -- is that true for you as well?

I have been looking into ways to suppress the messages or fix them, but the core functionality has been a higher priority since the messages do not affect how the program runs.

Thomas

thomasweng15 commented 11 years ago

That being said, I do find the messages extremely annoying and really want to get rid of them!

alduhoo commented 11 years ago

the issue was fixed, but still getting the errors on issue 1. I cannot give orders but perhaps it's my mic setup, ill try doing this on ubuntu and report. Thanks!

thomasweng15 commented 11 years ago

When you say you cannot give orders, do you mean that you can't give an activation command like 'Okay computer'?

olanmatt commented 11 years ago

Hi Thomas, When I try to run the code it does not crash, but it doesn't seem to recognize any audio input from either one of my test devices (Linux Mint and Fedora). I simply get a nice greeting from EVE and then try as I might... nothing more.

thomasweng15 commented 11 years ago

Hey Matt, In Ubuntu the 'Sounds' window allows you to see the status and volume of your microphone, which you can then tweak if the input volume is too low or too high. I am not sure what the equivalent might be in mint or fedora.

I'll work on making some checks for the microphone when the program starts up and other related things.

alduhoo commented 11 years ago

yeah, give commands like Okay computer

thomasweng15 commented 11 years ago

I am closing this issue as the original problem was fixed. A new one will be opened for Matt and aduhoo's new issue.