Skip to content

Can't find service: SpeechRecognition #8

@BirkHintzeThisted

Description

@BirkHintzeThisted

From what I can tell this is an issue that is also present with the original contribution.

https://github.com/JBramauer/pepperspeechrecognition/issues

Considering this project obviously got it to work, maybe you have an idea?

Traceback (most recent call last):
  File "module_speechrecognition.py", line 90, in <module>
    main()
  File "module_speechrecognition.py", line 70, in main
    SpeechRecognition.start()
  File "C:\Users\user\pepperchat-master\pepperchat-master\pepperspeechrecognition\speechrecognition.py", line 125, in start
    audio.setClientPreferences( self.getName(),  SAMPLE_RATE, nNbrChannelFlag, nDeinterleave ) # setting same as default generate a bug !?!
  File "C:\Users\user\pepperchat-master\pynaoqi-python2.7-2.5.7.1-win32-vs2013\lib\naoqi.py", line 194, in __call__
    return self.__wrapped__.method_missing(self.__method__, *args, **kwargs)
  File "C:\Users\user\pepperchat-master\pynaoqi-python2.7-2.5.7.1-win32-vs2013\lib\naoqi.py", line 264, in method_missing
    raise e
RuntimeError:   ALAudioDevice::setClientPreferences
                ALProxy::ALProxy
        Can't find service: SpeechRecognition
INF: SpeechRecognitionModule.__del__: cleaning everything
INF: SpeechRecognitionModule.pause: stopping
INF: SpeechRecognitionModule: stopped!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions