Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConnectionLostException() #16

Open
xamox opened this issue Jan 5, 2015 · 5 comments
Open

ConnectionLostException() #16

xamox opened this issue Jan 5, 2015 · 5 comments

Comments

@xamox
Copy link

xamox commented Jan 5, 2015

I'm on ubuntu 12.04 with latest updates. Ran apt-get install packages as recommended as well as pip install for requirements.

Ideas?

xamox@xamox-laptop:~/Software/Jarvis$ python jarvis.py 
Loading brain from data/jarvis.brn... done (96945 categories in 1.61 seconds)
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
Jarvis is listening...
Processing...
Error in processing loop:
Traceback (most recent call last):
  File "jarvis.py", line 54, in wakeup
    stt_response = stt_engine.get_text()
  File "/home/xamox/Software/Jarvis/src/google_stt.py", line 36, in get_text
    raise ConnectionLostException()
ConnectionLostException
^CAssertion 'pthread_mutex_destroy(&m->mutex) == 0' failed at pulsecore/mutex-posix.c:81, function pa_mutex_free(). Aborting.
Aborted
@wallacesilva
Copy link

try change your audio card, if using on notebook try using hdmi or verify if your card is ok. Can be only this. Try restart your pc/notebook. good luck.

@DanielAndreasen
Copy link

I get some of the same errors, and I start to think it is a problem with the API key in src/google_stt.py line 29. It records fine, but unable to process it.

@debugger22
Copy link
Owner

Google deprecated tts and stt and hence Jarvis can't communicate anymore.
We'll have to make some mobile client for it.

Regards
Sudhanshu Mishra
www.sudhanshumishra.in

On Wed, Jan 7, 2015 at 12:55 AM, Daniel Thaagaard Andreasen <
notifications@github.com> wrote:

I get some of the same errors, and I start to think it is a problem with
the API key in src/google_stt.py line 29. It records fine, but unable to
process it.


Reply to this email directly or view it on GitHub
#16 (comment).

@DanielAndreasen
Copy link

Hi Sudhanshu,

What is the timeline for fixing this? It's a very nice program.

@debugger22
Copy link
Owner

What is the timeline for fixing this?

I haven't decided about this but I'll try to talk to someone to make it. I'm busy these days on some other project.

It's a very nice program.

Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants