E3V3A / TESTT

TEST -- This is only a test repo - nothing here
0 stars 0 forks source link

Sometime it seem that GA records it's own response... #34

Open E3V3A opened 6 years ago

E3V3A commented 6 years ago

I've noticed from the trnasciption logs that sometimes it seem that GA is recording it's own response. The response to the response is a "deep", or mans or slow, voice saying: "Sorry, I don't understand."

Very weird indeed!

[ASSTNT] GA Transcription:  { transcription: 'can you remember something for me',  done: true }
[ASSTNT] GA Response:  Sure! Just say something like 'Remember the door code is 4453' and then ask 'What is the door code'
...
[ASSTNT] GA Transcription:  { transcription: 'just say something like remember the door code is 4453 and then what is the door code',
  done: true }
[ASSTNT] GA Response:  Sorry, I don't understand.
E3V3A commented 6 years ago

Confirmed. Here is another one that will crash it:

[ASSTNT] GA Activated
[VOX] GA Transcription:  can you make an appointment for me
[VOX] GA RQC:  2
[VOX] GA Response:  What's the title of the event?
[VOX] GA Transcription:  What's the title of the event
[VOX] GA RQC:  3
[VOX] GA Response:  Sure, when is the event?
[VOX] GA Transcription:  sure when is the event
[VOX] GA RQC:  4
[VOX] GA Response:  Sorry, when is the event?
[VOX] GA Transcription:  sorry when is the event
[VOX] GA RQC:  5
[VOX] GA Response:  I'm still not sure when your event is. Try something like "Tomorrow at 2pm".
Whoops! There was an uncaught exception...
Error: write after end
    at writeAfterEnd (/home/pi/MagicMirror/modules/MMM-Assistant/node_modules/readable-stream/lib/_stream_writable.js:288:12)
    at Speaker.Writable.write (/home/pi/MagicMirror/modules/MMM-Assistant/node_modules/readable-stream/lib/_stream_writable.js:332:20)
    at Conversation.conversation.on (/home/pi/MagicMirror/modules/MMM-Assistant/node_helper.js:239:21)
    at emitOne (events.js:96:13)
    at Conversation.emit (events.js:188:7)
    at ClientDuplexStream.Conversation.conversation.on (/home/pi/MagicMirror/modules/MMM-Assistant/node_modules/google-assistant/components/conversation.js:118:12)
    at emitOne (events.js:96:13)
    at ClientDuplexStream.emit (events.js:188:7)
    at readableAddChunk (_stream_readable.js:176:18)
    at ClientDuplexStream.Readable.push (_stream_readable.js:134:10)
    at readCallback (/home/pi/MagicMirror/modules/MMM-Assistant/node_modules/google-assistant/node_modules/grpc/src/client.js:299:14)