Palaver icon indicating copy to clipboard operation
Palaver copied to clipboard

Performing recognition loop problem

Open ghost opened this issue 11 years ago • 21 comments

I can't get the latest version to work, when i press the hotkey i can see the traybar icon but nothing happens (i talk and nothing), but sometimes i can see the traybar icon and the green HUD icon so i talk and press the hotkey again and it says Performing recognition but it stuck there forever idk why. I have an old version (before the update file was added) and it works good. Idk how fix it :(

ghost avatar Jun 19 '13 05:06 ghost

I have the same problem, someone could answer?

Nico-92 avatar Sep 10 '13 15:09 Nico-92

I have this issue as well.

mavant avatar Sep 16 '13 16:09 mavant

I will try to look at this a bit tonight.

On Mon, Sep 16, 2013 at 9:50 AM, mavant [email protected] wrote:

I have this issue as well.

— Reply to this email directly or view it on GitHubhttps://github.com/JamezQ/Palaver/issues/73#issuecomment-24525391 .

JamezQ avatar Sep 16 '13 17:09 JamezQ

Please let me know if you need any further information/help reproducing/etc, I'll be around.

mavant avatar Sep 16 '13 17:09 mavant

Alright, it would help if you could find out the last working version.

On Mon, Sep 16, 2013 at 10:18 AM, mavant [email protected] wrote:

Please let me know if you need any further information/help reproducing/etc, I'll be around.

— Reply to this email directly or view it on GitHubhttps://github.com/JamezQ/Palaver/issues/73#issuecomment-24527345 .

JamezQ avatar Sep 16 '13 17:09 JamezQ

same problem here

" but sometimes i can see the traybar icon and the green HUD icon" except for this. i dont try enough to get those "some times"

Elmapul avatar Oct 17 '13 16:10 Elmapul

I installed Palaver tonight and when I first installed and set up the hotkey I was able after a few attempts to open a browser, make a successful web search and locate somewhere using google maps.

I installed with after watching 2 of the posted YouTube videos, including the older install video, and the video about the innerworkings of the script and it's directories / scripting structure.

After a little bit of time however all of the audio requests were coming back with "Speech unable to be transcribed" after 5-10 mins of the notification popup of the bottom of the screen (using gnome-3) saying "Peforming recognition".

So it's hitting Recognition/bin/Microphone/result

When it first started to do this I even rebooted my machine, but it has never worked this evening since.

I had read in your documentation that there was fast word recognition and even fuzzy recognition, but it is not seeming to log anywhere nor is it failing fast or picking up any of the words anymore.

With no logging I'm not sure exactly where it is failing, I do see it sending out about 400-450 kbs trying to reach something but I haven't yet dug in deep enough to see where it's making it's calls and returns yet.

Here a the specs of my system, this is one of my development machines so it should have more then ample the power to do the voice processing / sending to the api for the processing. -Computer- Processor : 4x Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz Memory : 16343MB (2418MB used) Operating System : Ubuntu 13.10 -Multimedia- Audio Adapter : HDA-Intel - HDA Intel PCH -Version- Kernel : Linux 3.11.0-14-generic (x86_64) Compiled : #21-Ubuntu SMP Tue Nov 12 17:04:55 UTC 2013 C Library : Unknown Default C Compiler : GNU C Compiler version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu9) Distribution : Ubuntu 13.10

I looked in a few of the different files including Microphone and checked the api url that it is using for google but I do not yet see where it is saving the recordings so I couldn't completed a valid request, all I got back from the google url was a 400 - bad request

pquery avatar Dec 16 '13 03:12 pquery

I am sure the request has nothing to do with your system. I believe a bug got introduced since I open sourced palaver, I have not been checking pull requests like I should and basically letting anything in. I will have to do a full code review of the new parts to really find it.

The saved speech should be a .flac file. So try playing that.

On Sun, Dec 15, 2013 at 7:21 PM, pquery [email protected] wrote:

I installed Palaver tonight and when I first installed and set up the hotkey I was able after a few attempts to open a browser, make a successful web search and locate somewhere using google maps.

I installed with after watching 2 of the posted YouTube videos, including the older install video, and the video about the innerworkings of the script and it's directories / scripting structure.

After a little bit of time however all of the audio requests were coming back with "Speech unable to be transcribed" after 5-10 mins of the notification popup of the bottom of the screen (using gnome-3) saying "Peforming recognition".

So it's hitting Recognition/bin/Microphone/result

When it first started to do this I even rebooted my machine, but it has never worked this evening since.

I had read in your documentation that there was fast word recognition and even fuzzy recognition, but it is not seeming to log anywhere nor is it failing fast or picking up any of the words anymore.

With no logging I'm not sure exactly where it is failing, I do see it sending out about 400-450 kbs trying to reach something but I haven't yet dug in deep enough to see where it's making it's calls and returns yet.

Here a the specs of my system, this is one of my development machines so it should have more then ample the power to do the voice processing / sending to the api for the processing. -Computer- Processor : 4x Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz Memory : 16343MB (2418MB used) Operating System : Ubuntu 13.10 -Multimedia- Audio Adapter : HDA-Intel - HDA Intel PCH -Version- Kernel : Linux 3.11.0-14-generic (x86_64) Compiled : #21 https://github.com/JamezQ/Palaver/pull/21-Ubuntu SMP Tue Nov 12 17:04:55 UTC 2013 C Library : Unknown Default C Compiler : GNU C Compiler version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu9) Distribution : Ubuntu 13.10

I looked in a few of the different files including Microphone and checked the api url that it is using for google but I do not yet see where it is saving the recordings so I couldn't completed a valid request, all I got back from the google url was a 400 - bad request

— Reply to this email directly or view it on GitHubhttps://github.com/JamezQ/Palaver/issues/73#issuecomment-30631463 .

JamezQ avatar Dec 16 '13 03:12 JamezQ

To follow up on last night, when I looked at my computer this morning I saw a crash report and here are some of the details:

Executable Path: /opt/Palaver/pm

ProblemType Crash

Title pm crashed with URLError in do_open():<urlopen error [Erro -2] Name or service not known>

HookError_mediunuto Traceback (most recent call last): File "usr/lib/python3/lib/python-dist/packages/apport/report.py", line 197, in _run_hook symb'add_info' TypeError: add_info() takes 1 positional argument but 2 were given

During the handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport/report.py", line 202, in run_hook symb'add_info' File"/usr/share/apport/general-hooks/mediubutu.py", line 15, in add_info if report['Package'.split()[1]find('medibuntu') != -1: File "/usr/lib/python3.3/collections/init.py", line 881, in getitem_ raise KeyError(key) KeyError:'Package'

pquery avatar Dec 16 '13 13:12 pquery

Something else I've found this morning, is that something is spawning off mutiple wget processes for calling to the google api, and this is probablly the reason for why it's hanging.

... user 10300 0.2 0.0 22864 2920 ? S 09:08 0:05 wget -qO- --post-file speech.flac --header Content-type: audio/x-flac; rate=16000 https://www.google.com/speech-api/v1/recognize?lang=en&client=chromium user 10327 0.2 0.0 22864 2924 ? S 09:08 0:05 wget -qO- --post-file speech.flac --header Content-type: audio/x-flac; rate=16000 https://www.google.com/speech-api/v1/recognize?lang=en&client=chromium user 10355 0.2 0.0 22864 2924 ? S 09:08 0:05 wget -qO- --post-file speech.flac --header Content-type: audio/x-flac; rate=16000 https://www.google.com/speech-api/v1/recognize?lang=en&client=chromium user 10362 0.2 0.0 22864 2928 ? S 09:08 0:05 wget -qO- --post-file speech.flac --header Content-type: audio/x-flac; rate=16000 https://www.google.com/speech-api/v1/recognize?lang=en&client=chromium user 10377 0.2 0.0 22864 2924 ? S 09:08 0:05 wget -qO- --post-file speech.flac --header Content-type: audio/x-flac; rate=16000 https://www.google.com/speech-api/v1/recognize?lang=en&client=chromium user 10394 0.2 0.0 22864 2924 ? S 09:08 0:05 wget -qO- --post-file speech.flac --header Content-type: audio/x-flac; rate=16000 https://www.google.com/speech-api/v1/recognize?lang=en&client=chromium user 10409 0.2 0.0 22864 2924 ? S 09:08 0:05 wget -qO- --post-file speech.flac --header Content-type: audio/x-flac; rate=16000 https://www.google.com/speech-api/v1/recognize?lang=en&client=chromium user 10426 0.2 0.0 22864 2924 ? S 09:08 0:05 wget -qO- --post-file speech.flac --header Content-type: audio/x-flac; rate=16000 https://www.google.com/speech-api/v1/recognize?lang=en&client=chromium user 10447 0.2 0.0 22864 2924 ? S 09:08 0:05 wget -qO- --post-file speech.flac --header Content-type: audio/x-flac; rate=16000 https://www.google.com/speech-api/v1/recognize?lang=en&client=chromium user 10461 0.2 0.0 22864 2924 ? S 09:08 0:05 wget -qO- --post-file speech.flac --header Content-type: audio/x-flac; rate=16000 https://www.google.com/speech-api/v1/recognize?lang=en&client=chromium user 10646 0.2 0.0 22864 2924 ? S 09:08 0:05 wget -qO- --post-file speech.flac --header Content-type: audio/x-flac; rate=16000 https://www.google.com/speech-api/v1/recognize?lang=en&client=chromium user 10735 0.2 0.0 22864 2924 ? S 09:08 0:05 wget -qO- --post-file speech.flac --header Content-type: audio/x-flac; rate=16000 https://www.google.com/speech-api/v1/recognize?lang=en&client=chromium user 10765 0.2 0.0 22864 2924 ? S 09:08 0:05 wget -qO- --post-file speech.flac --header Content-type: audio/x-flac; rate=16000 https://www.google.com/speech-api/v1/recognize?lang=en&client=chromium user 10803 0.2 0.0 22864 2924 ? S 09:08 0:05 wget -qO- --post-file speech.flac --header Content-type: audio/x-flac; rate=16000 https://www.google.com/speech-api/v1/recognize?lang=en&client=chromium user 26747 0.0 0.0 9460 948 pts/9 S+ 09:46 0:00 grep --color=auto wget ...

This was after I killed 20+ instances, I'll probablly need to reboot at some time because I never rebooted after the crash report.

pquery avatar Dec 16 '13 15:12 pquery

While fiddling with getting Palaver to work for me, I found that when I only had 'open browser' with NO action after it, the Palaver-browser would open and the "Performing recognition" would stay there till I closed the browser (had to rt-click/close as the text bubble blocked the 'x' to close). Maybe that might help with some indication of the problem?

DragonDon avatar Dec 28 '13 04:12 DragonDon

I have the same "performing recognition" loop problem, but the pop-up goes away eventually (the tray icon stays) Although it does not do anything.

lukebriggs5 avatar Oct 23 '15 05:10 lukebriggs5

i have the same problem ... not working ...

hhypnos avatar Apr 06 '16 20:04 hhypnos

giorga8, palaver is no longer being maintained and no longer works. I suggest moving to other alternatives for now.

JamezQ avatar Apr 06 '16 20:04 JamezQ

JamezQ what about google2ubuntu? same problem?

hhypnos avatar Apr 06 '16 20:04 hhypnos

I'm not in control of any of the other projects, google2ubuntu might still be working though.

JamezQ avatar Apr 06 '16 20:04 JamezQ

ah okay thx, and can i ask one more question ?

hhypnos avatar Apr 06 '16 20:04 hhypnos

Sure On Apr 6, 2016 1:55 PM, "Giorgi" [email protected] wrote:

ah okay thx, and can i ask one more question ?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/JamezQ/Palaver/issues/73#issuecomment-206563666

JamezQ avatar Apr 06 '16 21:04 JamezQ

if i will change my nickname "giorga8" , all other "sign up acc with github" will be delete?

hhypnos avatar Apr 06 '16 21:04 hhypnos

I have no idea, I don't work or do technical troubleshooting for github l. On Apr 6, 2016 2:05 PM, "Giorgi" [email protected] wrote:

if i will change my nickname "giorga8" , all other "sign up acc with github" will be delete?

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/JamezQ/Palaver/issues/73#issuecomment-206567170

JamezQ avatar Apr 06 '16 21:04 JamezQ

okay thx for everything ;) :)

hhypnos avatar Apr 06 '16 21:04 hhypnos