{"action":"created","issue":{"url":"https://api.github.com/repos/alexylem/jarvis/issues/93","repository_url":"https://api.github.com/repos/alexylem/jarvis","labels_url":"https://api.github.com/repos/alexylem/jarvis/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/alexylem/jarvis/issues/93/comments","events_url":"https://api.github.com/repos/alexylem/jarvis/issues/93/events","html_url":"https://github.com/alexylem/jarvis/issues/93","id":169417720,"number":93,"title":"Obligation de reconfigurer le micro a chaque reboot","user":{"login":"francoismartin","id":20554135,"avatar_url":"https://avatars.githubusercontent.com/u/20554135?v=3","gravatar_id":"","url":"https://api.github.com/users/francoismartin","html_url":"https://github.com/francoismartin","followers_url":"https://api.github.com/users/francoismartin/followers","following_url":"https://api.github.com/users/francoismartin/following{/other_user}","gists_url":"https://api.github.com/users/francoismartin/gists{/gist_id}","starred_url":"https://api.github.com/users/francoismartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francoismartin/subscriptions","organizations_url":"https://api.github.com/users/francoismartin/orgs","repos_url":"https://api.github.com/users/francoismartin/repos","events_url":"https://api.github.com/users/francoismartin/events{/privacy}","received_events_url":"https://api.github.com/users/francoismartin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"alexylem","id":11017174,"avatar_url":"https://avatars.githubusercontent.com/u/11017174?v=3","gravatar_id":"","url":"https://api.github.com/users/alexylem","html_url":"https://github.com/alexylem","followers_url":"https://api.github.com/users/alexylem/followers","following_url":"https://api.github.com/users/alexylem/following{/other_user}","gists_url":"https://api.github.com/users/alexylem/gists{/gist_id}","starred_url":"https://api.github.com/users/alexylem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexylem/subscriptions","organizations_url":"https://api.github.com/users/alexylem/orgs","repos_url":"https://api.github.com/users/alexylem/repos","events_url":"https://api.github.com/users/alexylem/events{/privacy}","received_events_url":"https://api.github.com/users/alexylem/received_events","type":"User","site_admin":false},"assignees":[{"login":"alexylem","id":11017174,"avatar_url":"https://avatars.githubusercontent.com/u/11017174?v=3","gravatar_id":"","url":"https://api.github.com/users/alexylem","html_url":"https://github.com/alexylem","followers_url":"https://api.github.com/users/alexylem/followers","following_url":"https://api.github.com/users/alexylem/following{/other_user}","gists_url":"https://api.github.com/users/alexylem/gists{/gist_id}","starred_url":"https://api.github.com/users/alexylem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexylem/subscriptions","organizations_url":"https://api.github.com/users/alexylem/orgs","repos_url":"https://api.github.com/users/alexylem/repos","events_url":"https://api.github.com/users/alexylem/events{/privacy}","received_events_url":"https://api.github.com/users/alexylem/received_events","type":"User","site_admin":false}],"milestone":null,"comments":27,"created_at":"2016-08-04T16:31:56Z","updated_at":"2016-09-11T16:33:33Z","closed_at":null,"body":"Impossible de savoir pourquoi.\r\n\r\n`ERROR: snowboy recognition failed`\r\n\r\nTout marché, je n'ai pourtant (normalement) rient touché au config de mon micro et enceinte (j'ai fait les mises à jours).\r\n\r\nJ'ai beau reconfigurer comme il fallait ça ne marche pas. J'ai se problème quand je start jarvis.\r\n\r\nEn mode debug ça donne :\r\n\r\n\tChecking for updates...[Up-to-date]\r\n\r\n\t------------ Config ------------\r\n\tsystem               Linux 4.4.13-v7+ armv7l \r\n\tos                   \"Raspbian GNU/Linux 8 (jessie)\" \r\n\tlanguage             fr_FR \r\n\tplay_hw              hw:1,0 \r\n\trec_hw               hw:0,0 \r\n\tspeaker              TerraTec Electronic GmbH Aureon Dual USB \r\n\tmicrophone           C-Media Electronics, Inc. CM108 Audio Controller \r\n\ttrigger_stt          snowboy \r\n\tcommand_stt          bing \r\n\ttts_engine           google \r\n\tconversation_mode    true \r\n\t--------------------------------\r\n\r\n\tDEBUG: program_startup hook\r\n\tjarvis: Bonjour\r\n\tjarvis: Waiting to hear 'jarvis'\r\n\tBenjamin: (listening...)\r\n\tDEBUG: models=jarvis,snowboy\r\n\tALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave\r\n\tALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear\r\n\tALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe\r\n\tALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side\r\n\tALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi\r\n\tALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi\r\n\tALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem\r\n\tALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem\r\n\tALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline\r\n\tALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline\r\n\tALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused\r\n\r\n\tALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused\r\n\r\n\tALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave\r\n\tCannot connect to server socket err = No such file or directory\r\n\tCannot connect to server request channel\r\n\tjack server is not running or cannot be started\r\n\tExpression 'paInvalidSampleRate' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2048\r\n\tExpression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2719\r\n\tExpression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2843\r\n\tTraceback (most recent call last):\r\n\t  File \"stt_engines/snowboy/main.py\", line 39, in <module>\r\n\t    detector = snowboydecoder.HotwordDetector(models, sensitivity=sensitivities)\r\n\t  File \"/home/pi/jarvis/stt_engines/snowboy/snowboydecoder.py\", line 115, in __init__\r\n\t    stream_callback=audio_callback)\r\n\t  File \"/usr/lib/python2.7/dist-packages/pyaudio.py\", line 747, in open\r\n\t    stream = Stream(self, *args, **kwargs)\r\n\t  File \"/usr/lib/python2.7/dist-packages/pyaudio.py\", line 442, in __init__\r\n\t    self._stream = pa.open(**arguments)\r\n\tIOError: [Errno Invalid sample rate] -9997\r\n\tDEBUG: modelid=-10\r\n\tERROR: snowboy recognition failed\r\n"},"comment":{"url":"https://api.github.com/repos/alexylem/jarvis/issues/comments/246189441","html_url":"https://github.com/alexylem/jarvis/issues/93#issuecomment-246189441","issue_url":"https://api.github.com/repos/alexylem/jarvis/issues/93","id":246189441,"user":{"login":"alexylem","id":11017174,"avatar_url":"https://avatars.githubusercontent.com/u/11017174?v=3","gravatar_id":"","url":"https://api.github.com/users/alexylem","html_url":"https://github.com/alexylem","followers_url":"https://api.github.com/users/alexylem/followers","following_url":"https://api.github.com/users/alexylem/following{/other_user}","gists_url":"https://api.github.com/users/alexylem/gists{/gist_id}","starred_url":"https://api.github.com/users/alexylem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexylem/subscriptions","organizations_url":"https://api.github.com/users/alexylem/orgs","repos_url":"https://api.github.com/users/alexylem/repos","events_url":"https://api.github.com/users/alexylem/events{/privacy}","received_events_url":"https://api.github.com/users/alexylem/received_events","type":"User","site_admin":false},"created_at":"2016-09-11T16:33:33Z","updated_at":"2016-09-11T16:33:33Z","body":"Justement c'est le problème on ne sait pas. \r\n```\r\n/etc/init.d/alsa-utils restart\r\n```\r\nVa simplement reloader `alsa` et prendre en compte de quelconques modifications apportées au `~/.asoundrc`. C'est mon idée de re-générer ce fichier à chaque lancement de Jarvis suivi de cette commande. Mais c'est vraiment pourri... Et ca ne résous le problème de perte du réglage de la sensibilité..."}}
{"actor":{"display_login":"alexylem"}}