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

Performing recognition loop problem #73

Open
ghost opened this issue Jun 19, 2013 · 21 comments
Open

Performing recognition loop problem #73

ghost opened this issue Jun 19, 2013 · 21 comments

Comments

@ghost
Copy link

ghost commented Jun 19, 2013

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 :(

@Nico-92
Copy link

Nico-92 commented Sep 10, 2013

I have the same problem, someone could answer?

@mavant
Copy link

mavant commented Sep 16, 2013

I have this issue as well.

@JamezQ
Copy link
Owner

JamezQ commented Sep 16, 2013

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//issues/73#issuecomment-24525391
.

@mavant
Copy link

mavant commented Sep 16, 2013

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

@JamezQ
Copy link
Owner

JamezQ commented Sep 16, 2013

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//issues/73#issuecomment-24527345
.

@Elmapul
Copy link

Elmapul commented Oct 17, 2013

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"

@pquery
Copy link

pquery commented Dec 16, 2013

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

@JamezQ
Copy link
Owner

JamezQ commented Dec 16, 2013

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 #21 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//issues/73#issuecomment-30631463
.

@pquery
Copy link

pquery commented Dec 16, 2013

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
Copy link

pquery commented Dec 16, 2013

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.

@DragonDon
Copy link

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?

@lukebriggs5
Copy link

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.

@hhypnos
Copy link

hhypnos commented Apr 6, 2016

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

@JamezQ
Copy link
Owner

JamezQ commented Apr 6, 2016

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

@hhypnos
Copy link

hhypnos commented Apr 6, 2016

JamezQ what about google2ubuntu?
same problem?

@JamezQ
Copy link
Owner

JamezQ commented Apr 6, 2016

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

@hhypnos
Copy link

hhypnos commented Apr 6, 2016

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

@JamezQ
Copy link
Owner

JamezQ commented Apr 6, 2016

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
#73 (comment)

@hhypnos
Copy link

hhypnos commented Apr 6, 2016

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

@JamezQ
Copy link
Owner

JamezQ commented Apr 6, 2016

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
#73 (comment)

@hhypnos
Copy link

hhypnos commented Apr 6, 2016

okay thx for everything ;) :)

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

8 participants