alexa-pi/AlexaPi

Further Input doesn't work

Open

#419 opened on Sep 29, 2018

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (1,324 stars) (402 forks)batch import
help wantedskills

Description

Thank you for reporting an issue with AlexaPi.

Make sure you are running the latest version of AlexaPi, and look through issues before submitting.

Check out our Wiki, and make sure to look at Debugging, and Audio debugging in particular before filing an issue.

In order to help troubleshooting, be sure to include the following information:

Output of the audio debugging script.

Your OS (including version) where you are running AlexaPi:

Windows10

Your hardware platform and model you are running on:

Python release (python2 --version):

python3.6

Description of problem:

I'm trying to test the favourite colour sample skill, but after I started the skill, the second question never worked.
After Alexa response "what is your favourite colour?" I can hear the beep, and in debug log I can see Further Input Expected, timeout in: 8000ms, but after I answer "My favourite colour is red" Alexa answers "I don't know that", I think for some reason the further Input didn't work and the session closed.

Expected:

Problem-relevant config.yaml entries:

Steps to reproduce:

Traceback (if applicable):

Type "a" to trigger Alexa: 2018-09-30 00:36:02
 DEBUG: Stopping audio play
2018-09-30 00:36:02 DEBUG: Player State: State.Stopped
2018-09-30 00:36:02 DEBUG: Stopped play.
2018-09-30 00:36:02 INFO: indicate_playback False
2018-09-30 00:36:02 DEBUG: Recording: Setting up
2018-09-30 00:36:02 INFO: setup_complete
2018-09-30 00:36:02 INFO: indicate_recording_on True
2018-09-30 00:36:02 DEBUG: Recording: Start
2018-09-30 00:36:02 DEBUG: Starting new HTTPS connection (1): access-alexa-na.amazon.com
2018-09-30 00:36:03 DEBUG: Start sending speech to Alexa Voice Service
2018-09-30 00:36:06 DEBUG: Recording: End
2018-09-30 00:36:06 INFO: indicate_recording_on False
2018-09-30 00:36:06 DEBUG: Finished sending speech to Alexa Voice Service
2018-09-30 00:36:06 INFO: indicate_processing True
2018-09-30 00:36:08 INFO: indicate_processing False
2018-09-30 00:36:08 DEBUG: Processing Request Response...
2018-09-30 00:36:08 DEBUG: JSON String Returned: {
  "messageHeader": {},
  "messageBody": {
    "directives": [
      {
        "namespace": "Speaker",
        "name": "SetMute",
        "payload": {
          "mute": false
        }
      },
      {
        "namespace": "SpeechSynthesizer",
        "name": "speak",
        "payload": {
          "contentIdentifier": "amzn1.as-ct.v1.ThirdPartySdkSpeechlet#ACRI#ValidatedSpeakDirective_amzn1.ask.skill.a54869c4-c920-4319-a593-45243a8add81_7211a97c-aa01-4551-a5d3-ef1e878b61b7",
          "audioContent": "cid:ValidatedSpeakDirective_amzn1.ask.skill.a54869c4-c920-4319-a593-45243a8add81_7211a97c-aa01-4551-a5d3-ef1e878b61b7_1652922866"
        }
      },
      {
        "namespace": "SpeechRecognizer",
        "name": "listen",
        "payload": {
          "timeoutIntervalInMillis": 8000
        }
      }
    ]
  }
}
2018-09-30 00:36:08 DEBUG: Stopping audio play
2018-09-30 00:36:08 DEBUG: Playing audio: file://C:\Users\water\AppData\Local\Temp\AlexaPi-runtime-68tmleik\63048fdbf3150481e0747e1ca476b0fd.mp3
2018-09-30 00:36:08 DEBUG: Player State: State.Opening
2018-09-30 00:36:08 DEBUG: Player State: State.Playing
2018-09-30 00:36:08 DEBUG: Started play.
2018-09-30 00:36:08 INFO: indicate_playback True
2018-09-30 00:36:17 DEBUG: Player State: State.Ended
2018-09-30 00:36:17 DEBUG: Finished play.
2018-09-30 00:36:17 INFO: indicate_playback False
2018-09-30 00:36:17 DEBUG: Further Input Expected, timeout in: 8000ms
2018-09-30 00:36:17 DEBUG: Stopping audio play
2018-09-30 00:36:17 DEBUG: Playing audio: D:\Alexa\AlexaPi-master\src\resources\beep.wav
2018-09-30 00:36:17 DEBUG: Player State: State.Opening
2018-09-30 00:36:18 DEBUG: Player State: State.Playing
2018-09-30 00:36:18 DEBUG: Started play.
2018-09-30 00:36:18 INFO: indicate_playback True
2018-09-30 00:36:18 DEBUG: Player State: State.Ended
2018-09-30 00:36:18 DEBUG: Finished play.
2018-09-30 00:36:18 INFO: indicate_playback False
2018-09-30 00:36:18 DEBUG: Recording: Setting up
2018-09-30 00:36:18 INFO: indicate_recording_on True
2018-09-30 00:36:18 DEBUG: Recording: Start
2018-09-30 00:36:18 DEBUG: Starting new HTTPS connection (1): access-alexa-na.amazon.com
2018-09-30 00:36:19 DEBUG: Start sending speech to Alexa Voice Service
2018-09-30 00:36:22 DEBUG: Recording: End
2018-09-30 00:36:22 INFO: indicate_recording_on False
2018-09-30 00:36:22 DEBUG: Finished sending speech to Alexa Voice Service
2018-09-30 00:36:22 INFO: indicate_processing True
2018-09-30 00:36:24 INFO: indicate_processing False
2018-09-30 00:36:24 DEBUG: Processing Request Response...
2018-09-30 00:36:24 DEBUG: JSON String Returned: {
  "messageHeader": {},
  "messageBody": {
    "directives": [
      {
        "namespace": "Speaker",
        "name": "SetMute",
        "payload": {
          "mute": false
        }
      },
      {
        "namespace": "SpeechSynthesizer",
        "name": "speak",
        "payload": {
          "contentIdentifier": "amzn1.as-ct.v1.Domain:Application:Knowledge#ACRI#788a4eb5-6c8c-43e7-9933-18dc797b7209",
          "audioContent": "cid:788a4eb5-6c8c-43e7-9933-18dc797b7209_698112356"
        }
      }
    ]
  }
}
2018-09-30 00:36:24 DEBUG: Stopping audio play
2018-09-30 00:36:24 DEBUG: Playing audio: file://C:\Users\water\AppData\Local\Temp\AlexaPi-runtime-68tmleik\67272cfd90e2b70547ba910632146905.mp3
2018-09-30 00:36:24 DEBUG: Player State: State.Opening
2018-09-30 00:36:24 DEBUG: Player State: State.Playing
2018-09-30 00:36:24 DEBUG: Started play.
2018-09-30 00:36:24 INFO: indicate_playback True
2018-09-30 00:36:36 DEBUG: Player State: State.Ended
2018-09-30 00:36:36 DEBUG: Finished play.
2018-09-30 00:36:36 INFO: indicate_playback False

Additional info:

Contributor guide