Problem getting response and TTS error

Hello,
I’m developing an application for a Motorola G6, since this morning Snips doesn’t answer me and sends me a time out error of the TTS component (it seems as if it was not active for some reason). This is weird because until this morning I was working correctly and I haven’t modified any of the wizard. Does anyone know why it could be?

Many thanks in advance

Hello again,
After two days I tried to add the app to other mobiles, even higher and lower versions, and the rare thing is that other mobiles are working well. The Android version of Motorola is 8.0 and I’ve even tried some with 9.0.

Does anyone know why it could be?

Hi @caguilary !

Did you register a custom TTS handler using setOnTtsSayListener or setTtsEngine ?

Hi fredszaq,
I don’t have any custom TTS in my project, in fact I don’t use them in my project. Should I use them to define some TTS (I don’t need any custom TTS for my project, I can use the one that comes integrated by default)?

Hi @caguilary !

Using the defaults should be good, if you have a TTS engine installed on your phone (you most probably have the google on installed on the Motorola)

Could you share some logs of both the youAppId and youAppId:snipsProcessingService processes ? hopelly we’ll find want is wrong in them

Hi fredszaq,

Of course, I’ll send you the logs of a complete execution, until in the first command the TTS error comes out. (in two posts because i have more than 32000 character, srry).

SnipsProcessingService logs:

2019-11-04 16:16:37.615 15322-15322/? I/zygote: Late-enabling -Xcheck:jni
2019-11-04 16:16:37.681 15322-15332/? E/zygote: Failed sending reply to debugger: Broken pipe
2019-11-04 16:16:37.682 15322-15332/? I/zygote: Debugger is no longer active
2019-11-04 16:16:37.721 15322-15322/? I/Aplicación: en el proceso principal
2019-11-04 16:16:37.755 15322-15322/? I/SnipsPlatform: registering client 8716dd1c-ee76-48b1-8cf9-e3782bd22a15
2019-11-04 16:16:37.774 15322-15322/? I/System.out: Looking for library ‘snips_megazord’
2019-11-04 16:16:37.774 15322-15322/? I/System.out: Adding paths from jna.library.path: null
2019-11-04 16:16:37.774 15322-15322/? I/System.out: Trying libsnips_megazord.so
2019-11-04 16:16:37.777 15322-15322/? W/linker: “/data/app/ai.snips.snipsdemo-gpXM0AZns5gVCzW2vdmU8w==/lib/arm/libsnips_kaldi.so” unused DT entry: type 0x7ffffffd arg 0x1f6a1e
2019-11-04 16:16:37.855 15322-15322/? I/System.out: Found library ‘snips_megazord’ at libsnips_megazord.so
2019-11-04 16:16:37.930 15322-15348/? I/snips-platform: snips_megazord: Starting components
2019-11-04 16:16:37.930 15322-15348/? I/snips-platform: snips_megazord: Starting manual Audio-Server
2019-11-04 16:16:37.934 15322-15348/? I/snips-platform: snips_hotword_lib::universal: Loading model “/data/user/0/ai.snips.snipsdemo/files/snips/assistant/custom_hotword”, hotword_key: Some(“hey_snips”), model_id: Some(“workflow-hey_snips_subww_feedback_10seeds-2018_12_04T12_13_05_evaluated_model_0002”)
2019-11-04 16:16:40.051 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_megazord: Starting Hotword
2019-11-04 16:16:40.052 15322-15379/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_hotword_lib::audio: Audio thread for default started
2019-11-04 16:16:40.052 15322-15380/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_hotword_lib::audio: Net and VAD thread for site default started (vad inhibitor: false, vad messages: false
2019-11-04 16:16:40.063 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_hotword_lib: Detector “detector.hey_snips.default”, sensitivity: 0.5, threshold 0.787
2019-11-04 16:16:40.064 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_megazord: Starting ASR
2019-11-04 16:16:40.064 15322-15381/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_hotword_lib: detector.hey_snips.default thread started
2019-11-04 16:16:40.064 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_hermes::handler: Using model from “/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151626194404411/asr”
2019-11-04 16:16:40.132 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_kaldi::decode::model: Loading model v2
2019-11-04 16:16:41.685 15322-15330/ai.snips.snipsdemo:snipsProcessingService I/zygote: Do partial code cache collection, code=31KB, data=27KB
2019-11-04 16:16:41.686 15322-15330/ai.snips.snipsdemo:snipsProcessingService I/zygote: After code cache collection, code=31KB, data=27KB
2019-11-04 16:16:41.686 15322-15330/ai.snips.snipsdemo:snipsProcessingService I/zygote: Increasing code cache capacity to 128KB
2019-11-04 16:16:43.015 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_megazord: Starting NLU
2019-11-04 16:16:43.015 15322-15382/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_hermes::handler: Preparing decoder
2019-11-04 16:16:43.016 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_hermes: loading nlu engine “/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151626194404411/nlu_engine”
2019-11-04 16:16:43.041 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::resources::loading: Loading stemmer ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151626194404411/nlu_engine/resources/es/stemming/stems.txt") …
2019-11-04 16:16:43.142 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::resources::loading: Stemmer loaded
2019-11-04 16:16:43.142 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::resources::loading: Loading gazetteer ‘top_10000_words_stemmed’ ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151626194404411/nlu_engine/resources/es/gazetteers/top_10000_words_stemmed.txt") …
2019-11-04 16:16:43.147 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::resources::loading: Gazetteer ‘top_10000_words_stemmed’ loaded
2019-11-04 16:16:43.147 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::resources::loading: Loading stop words ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151626194404411/nlu_engine/resources/es/stop_words.txt") …
2019-11-04 16:16:43.147 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::resources::loading: Stop words loaded
2019-11-04 16:16:43.147 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::entity_parser::builtin_entity_parser: Loading builtin entity parser ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151626194404411/nlu_engine/builtin_entity_parser") …
2019-11-04 16:16:43.320 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::entity_parser::builtin_entity_parser: Builtin entity parser loaded
2019-11-04 16:16:43.320 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::entity_parser::custom_entity_parser: Loading custom entity parser ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151626194404411/nlu_engine/custom_entity_parser") …
2019-11-04 16:16:43.328 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::entity_parser::custom_entity_parser: Custom entity parser loaded
2019-11-04 16:16:43.344 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::intent_classifier::log_reg_intent_classifier: Loading log reg intent classifier ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151626194404411/nlu_engine/probabilistic_intent_parser/intent_classifier") …
2019-11-04 16:16:43.376 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::intent_classifier::log_reg_intent_classifier: Log reg intent classifier loaded
2019-11-04 16:16:43.376 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: Loading CRF slot filler ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151626194404411/nlu_engine/probabilistic_intent_parser/slot_filler_0") …
2019-11-04 16:16:43.383 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: CRF slot filler loaded
2019-11-04 16:16:43.383 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: Loading CRF slot filler ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151626194404411/nlu_engine/probabilistic_intent_parser/slot_filler_1") …
2019-11-04 16:16:43.389 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: CRF slot filler loaded
2019-11-04 16:16:43.390 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: Loading CRF slot filler ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151626194404411/nlu_engine/probabilistic_intent_parser/slot_filler_2") …
2019-11-04 16:16:43.396 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: CRF slot filler loaded
2019-11-04 16:16:43.397 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: Loading CRF slot filler ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151626194404411/nlu_engine/probabilistic_intent_parser/slot_filler_3") …
2019-11-04 16:16:43.403 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: CRF slot filler loaded
2019-11-04 16:16:43.403 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: Loading CRF slot filler ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151626194404411/nlu_engine/probabilistic_intent_parser/slot_filler_4") …
2019-11-04 16:16:43.409 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: CRF slot filler loaded
2019-11-04 16:16:43.409 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: Loading CRF slot filler ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151626194404411/nlu_engine/probabilistic_intent_parser/slot_filler_5") …
2019-11-04 16:16:43.414 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: CRF slot filler loaded
2019-11-04 16:16:43.414 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: Loading CRF slot filler ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151626194404411/nlu_engine/probabilistic_intent_parser/slot_filler_6") …
2019-11-04 16:16:43.419 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: CRF slot filler loaded
2019-11-04 16:16:43.419 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_hermes: model loaded in 403 ms
2019-11-04 16:16:43.420 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_megazord: Starting Dialogue
2019-11-04 16:16:43.420 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_dialogue_hermes: Loading the configuration file
2019-11-04 16:16:43.428 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_dialogue_lib::config: Loading language es
2019-11-04 16:16:43.429 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_dialogue_hermes: Starting…
2019-11-04 16:16:43.430 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_megazord: Starting TTS
2019-11-04 16:16:43.430 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_megazord: Starting Audio-Server
2019-11-04 16:16:43.431 15322-15389/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_audio_server_hermes::player: started hermes audio player thread
2019-11-04 16:16:43.431 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_audio::remote: Started from API
2019-11-04 16:16:43.432 15322-15390/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_broadcast_mqtt_server: Starting broadcasting audio on hermes for site “default”
2019-11-04 16:16:43.434 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_megazord: Starting injection
2019-11-04 16:16:43.434 15322-15348/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_injection_hermes: Launch with assistant “/data/user/0/ai.snips.snipsdemo/files/snips/assistant” and user dir “/data/user/0/ai.snips.snipsdemo/files/_snips”
2019-11-04 16:16:43.484 15322-15386/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_dialogue_lib::coordinator::coordinator: Site [default]: reset site -> turn off ASR and turn off Hotword
2019-11-04 16:16:43.484 15322-15386/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_dialogue_lib::coordinator::coordinator: Session [6e329ec0-48a2-4f1b-99e8-fea7a81a25da]: The session has been created because the site “default” is free
2019-11-04 16:16:43.485 15322-15382/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_hermes::handler: Listening at site id default
2019-11-04 16:16:43.485 15322-15382/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_hermes::handler: Listening
2019-11-04 16:16:43.485 15322-15382/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_lib::asr: T0 entered AsrRunner::run
2019-11-04 16:16:43.485 15322-15382/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_lib::asr: T0+0.000 capture started
2019-11-04 16:16:43.488 15322-15379/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_hotword_lib::audio: Audio thread for site default stopped.
2019-11-04 16:16:44.239 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_injection: ASR Injections started
2019-11-04 16:16:44.246 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_injection::core: Number of new words: 0
2019-11-04 16:16:44.246 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_injection: prepare_injections done in 0.007s.
2019-11-04 16:16:44.246 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_injection: Generating missing words pronunciations
2019-11-04 16:16:44.326 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_injection: g2p done in 0.080s.
2019-11-04 16:16:44.326 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_injection::model_version_2: Updating pronunciations’ graph
2019-11-04 16:16:44.326 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_injection::model_version_2: pronunciations’ graph done in 0.000s.
2019-11-04 16:16:44.326 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_injection::model_version_2: Updating entities’ graph
2019-11-04 16:16:44.336 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_injection::model_version_2: Entity medicamento done in 0.008s.
2019-11-04 16:16:44.336 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_injection::model_version_2: entities’ graph done in 0.009s.
2019-11-04 16:16:44.336 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_injection::core: Injections performed with success
2019-11-04 16:16:44.336 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_injection: ASR injections done
2019-11-04 16:16:44.336 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::injection::injection: Starting injection…
2019-11-04 16:16:44.336 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::injection::injection: Retrieving parsers paths…
2019-11-04 16:16:44.362 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::resources::loading: Loading stemmer ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151643957334618.kwhKSjy1UJST/nlu_engine/resources/es/stemming/stems.txt") …
2019-11-04 16:16:44.407 15322-15330/ai.snips.snipsdemo:snipsProcessingService I/zygote: Do partial code cache collection, code=62KB, data=46KB
2019-11-04 16:16:44.408 15322-15330/ai.snips.snipsdemo:snipsProcessingService I/zygote: After code cache collection, code=62KB, data=46KB
2019-11-04 16:16:44.408 15322-15330/ai.snips.snipsdemo:snipsProcessingService I/zygote: Increasing code cache capacity to 256KB
2019-11-04 16:16:44.461 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::resources::loading: Stemmer loaded
2019-11-04 16:16:44.461 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::resources::loading: Loading gazetteer ‘top_10000_words_stemmed’ ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151643957334618.kwhKSjy1UJST/nlu_engine/resources/es/gazetteers/top_10000_words_stemmed.txt") …
2019-11-04 16:16:44.466 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::resources::loading: Gazetteer ‘top_10000_words_stemmed’ loaded
2019-11-04 16:16:44.466 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::resources::loading: Loading stop words ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151643957334618.kwhKSjy1UJST/nlu_engine/resources/es/stop_words.txt") …
2019-11-04 16:16:44.466 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::resources::loading: Stop words loaded
2019-11-04 16:16:44.466 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::entity_parser::builtin_entity_parser: Loading builtin entity parser ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151643957334618.kwhKSjy1UJST/nlu_engine/builtin_entity_parser") …
2019-11-04 16:16:44.639 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::entity_parser::builtin_entity_parser: Builtin entity parser loaded
2019-11-04 16:16:44.639 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::entity_parser::custom_entity_parser: Loading custom entity parser ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151643957334618.kwhKSjy1UJST/nlu_engine/custom_entity_parser") …
2019-11-04 16:16:44.647 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::entity_parser::custom_entity_parser: Custom entity parser loaded
2019-11-04 16:16:44.647 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::injection::injection: Normalizing injected values…
2019-11-04 16:16:44.651 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::injection::injection: Injecting values for entity ‘medicamento’
2019-11-04 16:16:44.669 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::injection::injection: Injection performed with success !
2019-11-04 16:16:44.710 15322-15393/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_injection_lib::prepare: injection succeeded
2019-11-04 16:16:44.723 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_hermes: reload nlu engine event received
2019-11-04 16:16:44.724 15322-15383/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_hermes::handler: Using model from “/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151643957334618/asr”
2019-11-04 16:16:44.724 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_hermes: loading nlu engine “/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151643957334618/nlu_engine”
2019-11-04 16:16:44.751 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::resources::loading: Loading stemmer ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151643957334618/nlu_engine/resources/es/stemming/stems.txt") …
2019-11-04 16:16:44.796 15322-15383/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_kaldi::decode::model: Loading model v2
2019-11-04 16:16:44.848 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::resources::loading: Stemmer loaded
2019-11-04 16:16:44.848 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::resources::loading: Loading gazetteer ‘top_10000_words_stemmed’ ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151643957334618/nlu_engine/resources/es/gazetteers/top_10000_words_stemmed.txt") …
2019-11-04 16:16:44.853 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::resources::loading: Gazetteer ‘top_10000_words_stemmed’ loaded
2019-11-04 16:16:44.853 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::resources::loading: Loading stop words ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151643957334618/nlu_engine/resources/es/stop_words.txt") …
2019-11-04 16:16:44.853 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::resources::loading: Stop words loaded
2019-11-04 16:16:44.853 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::entity_parser::builtin_entity_parser: Loading builtin entity parser ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151643957334618/nlu_engine/builtin_entity_parser") …
2019-11-04 16:16:45.027 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::entity_parser::builtin_entity_parser: Builtin entity parser loaded
2019-11-04 16:16:45.027 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::entity_parser::custom_entity_parser: Loading custom entity parser ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151643957334618/nlu_engine/custom_entity_parser") …
2019-11-04 16:16:45.035 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::entity_parser::custom_entity_parser: Custom entity parser loaded
2019-11-04 16:16:45.052 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::intent_classifier::log_reg_intent_classifier: Loading log reg intent classifier ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151643957334618/nlu_engine/probabilistic_intent_parser/intent_classifier") …
2019-11-04 16:16:45.084 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::intent_classifier::log_reg_intent_classifier: Log reg intent classifier loaded
2019-11-04 16:16:45.084 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: Loading CRF slot filler ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151643957334618/nlu_engine/probabilistic_intent_parser/slot_filler_0") …
2019-11-04 16:16:45.091 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: CRF slot filler loaded
2019-11-04 16:16:45.091 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: Loading CRF slot filler ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151643957334618/nlu_engine/probabilistic_intent_parser/slot_filler_1") …
2019-11-04 16:16:45.098 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: CRF slot filler loaded
2019-11-04 16:16:45.098 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: Loading CRF slot filler ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151643957334618/nlu_engine/probabilistic_intent_parser/slot_filler_2") …
2019-11-04 16:16:45.105 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: CRF slot filler loaded
2019-11-04 16:16:45.105 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: Loading CRF slot filler ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151643957334618/nlu_engine/probabilistic_intent_parser/slot_filler_3") …
2019-11-04 16:16:45.111 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: CRF slot filler loaded
2019-11-04 16:16:45.112 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: Loading CRF slot filler ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151643957334618/nlu_engine/probabilistic_intent_parser/slot_filler_4") …
2019-11-04 16:16:45.117 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: CRF slot filler loaded
2019-11-04 16:16:45.117 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: Loading CRF slot filler ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151643957334618/nlu_engine/probabilistic_intent_parser/slot_filler_5") …
2019-11-04 16:16:45.122 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: CRF slot filler loaded
2019-11-04 16:16:45.123 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: Loading CRF slot filler ("/data/user/0/ai.snips.snipsdemo/files/_snips/injections/20191104T150114351763262/inj_20191104T151643957334618/nlu_engine/probabilistic_intent_parser/slot_filler_6") …
2019-11-04 16:16:45.128 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_lib::slot_filler::crf_slot_filler: CRF slot filler loaded
2019-11-04 16:16:45.128 15322-15384/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_nlu_hermes: model loaded in 404 ms
2019-11-04 16:16:47.931 15322-15382/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_lib::asr: T0+4.446 endpoint detected (rule:4) frame:110 samples:70400 signal_time:4.4 rtf:0.425
2019-11-04 16:16:47.939 15322-15382/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_lib::asr: T0+4.454 capture ended
2019-11-04 16:16:47.957 15322-15382/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_lib::asr: T0+4.472 decoder finalized
2019-11-04 16:16:47.970 15322-15382/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_lib::asr: T0+4.485 lookup and post-processing done
2019-11-04 16:16:47.970 15322-15382/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_lib::asr: decoded: [Recognition { decoded_string: “hoy a las seis añadir adiro”, likelihood: 0.96737736, tokens: Some([Token { value: “hoy”, confidence: 1.0, time: (0.0, 2.22), range: 0…3 }, Token { value: “a”, confidence: 0.81955016, time: (2.22, 2.3365152), range: 4…5 }, Token { value: “las”, confidence: 1.0, time: (2.3365152, 2.4781692), range: 6…9 }, Token { value: “seis”, confidence: 1.0, time: (2.4781692, 2.7645423), range: 10…14 }, Token { value: “añadir”, confidence: 1.0, time: (2.7645423, 3.21), range: 15…21 }, Token { value: “adiro”, confidence: 1.0, time: (3.21, 4.2), range: 22…27 }]) }]
2019-11-04 16:16:47.972 15322-15382/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_hermes::handler: Publishing the recognition
2019-11-04 16:16:47.988 15322-15382/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_hermes::handler: Preparing decoder
2019-11-04 16:16:48.273 15322-15351/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_megazord: calling tts_handler callback
2019-11-04 16:16:48.281 15322-15351/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_megazord: tts_handler done
2019-11-04 16:16:48.372 15322-15382/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_asr_hermes::handler: Preparing decoder
2019-11-04 16:17:03.436 15322-15386/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_dialogue_lib::coordinator::coordinator: Session [6e329ec0-48a2-4f1b-99e8-fea7a81a25da]: closing session which was active: Timeout { component: Some(Tts) }
2019-11-04 16:17:03.436 15322-15386/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_dialogue_lib::coordinator::coordinator: Site [default]: reset site -> turn off ASR and turn on Hotword
2019-11-04 16:17:03.439 15322-15379/ai.snips.snipsdemo:snipsProcessingService I/snips-platform: snips_hotword_lib::audio: Audio thread for site default started

My app’s logs():

2019-11-04 16:16:35.239 15261-15261/? I/zygote: Late-enabling -Xcheck:jni
2019-11-04 16:16:35.300 15261-15268/? E/zygote: Failed sending reply to debugger: Broken pipe
2019-11-04 16:16:35.300 15261-15268/? I/zygote: Debugger is no longer active
2019-11-04 16:16:35.354 15261-15261/? I/Aplicación: en el proceso principal
2019-11-04 16:16:35.721 15261-15284/? I/Adreno: QUALCOMM build : 368094a, I26dffed9a4
Build Date : 12/03/17
OpenGL ES Shader Compiler Version: EV031.22.00.01
Local Branch :
Remote Branch : quic/gfx-adreno.lnx.1.9.r3-rel
Remote Branch : NONE
Reconstruct Branch : NOTHING
2019-11-04 16:16:35.730 15261-15284/? I/Adreno: PFP: 0x005ff087, ME: 0x005ff063
2019-11-04 16:16:35.733 15261-15284/? I/OpenGLRenderer: Initialized EGL, version 1.4
2019-11-04 16:16:37.598 15261-15261/ai.snips.snipsdemo I/TextToSpeech: Sucessfully bound to com.google.android.tts
2019-11-04 16:16:37.599 15261-15261/ai.snips.snipsdemo I/SnipsPlatform: Connecting to remote Snips processing service
2019-11-04 16:16:37.631 15261-15261/ai.snips.snipsdemo I/TextToSpeech: Connected to ComponentInfo{com.google.android.tts/com.google.android.tts.service.GoogleTTSService}
2019-11-04 16:16:37.636 15261-15328/ai.snips.snipsdemo I/Usuario: No estoy en Wifi-Snips
2019-11-04 16:16:37.640 15261-15327/ai.snips.snipsdemo I/TextToSpeech: Set up connection to ComponentInfo{com.google.android.tts/com.google.android.tts.service.GoogleTTSService}
2019-11-04 16:16:37.642 15261-15266/ai.snips.snipsdemo I/zygote: Do partial code cache collection, code=31KB, data=30KB
2019-11-04 16:16:37.643 15261-15266/ai.snips.snipsdemo I/zygote: After code cache collection, code=31KB, data=30KB
2019-11-04 16:16:37.643 15261-15266/ai.snips.snipsdemo I/zygote: Increasing code cache capacity to 128KB
2019-11-04 16:16:37.664 15261-15328/ai.snips.snipsdemo I/ServicioSnips: Hay 0 eventos
2019-11-04 16:16:37.727 15261-15261/ai.snips.snipsdemo I/SnipsPlatform: Snips processing service connected, starting the platform
2019-11-04 16:16:42.691 15261-15266/ai.snips.snipsdemo I/zygote: Do partial code cache collection, code=57KB, data=60KB
2019-11-04 16:16:42.692 15261-15266/ai.snips.snipsdemo I/zygote: After code cache collection, code=57KB, data=60KB
2019-11-04 16:16:42.692 15261-15266/ai.snips.snipsdemo I/zygote: Increasing code cache capacity to 256KB
2019-11-04 16:16:43.917 15261-15261/ai.snips.snipsdemo I/Inyecciones: Añadiendo valores
2019-11-04 16:16:43.947 15261-15266/ai.snips.snipsdemo I/zygote: Do full code cache collection, code=74KB, data=74KB
2019-11-04 16:16:43.948 15261-15266/ai.snips.snipsdemo I/zygote: After code cache collection, code=41KB, data=24KB
2019-11-04 16:16:43.954 15261-15266/ai.snips.snipsdemo I/zygote: Do partial code cache collection, code=41KB, data=25KB
2019-11-04 16:16:43.955 15261-15266/ai.snips.snipsdemo I/zygote: After code cache collection, code=41KB, data=25KB
2019-11-04 16:16:43.956 15261-15266/ai.snips.snipsdemo I/zygote: Increasing code cache capacity to 512KB
2019-11-04 16:16:43.964 15261-15266/ai.snips.snipsdemo I/zygote: Method exceeds compiler instruction limit: 25337 in void org.ccil.cowan.tagsoup.HTMLSchema.()
2019-11-04 16:16:47.637 15261-15328/ai.snips.snipsdemo I/Usuario: No estoy en Wifi-Snips
2019-11-04 16:16:47.645 15261-15328/ai.snips.snipsdemo I/ServicioSnips: Hay 0 eventos
2019-11-04 16:16:48.263 15261-15261/ai.snips.snipsdemo I/Salida: Fecha introducida ya ha pasado
2019-11-04 16:16:57.638 15261-15328/ai.snips.snipsdemo I/Usuario: No estoy en Wifi-Snips
2019-11-04 16:16:57.658 15261-15328/ai.snips.snipsdemo I/ServicioSnips: Hay 0 eventos
2019-11-04 16:16:59.722 15261-15266/ai.snips.snipsdemo I/zygote: Do full code cache collection, code=232KB, data=250KB
2019-11-04 16:16:59.725 15261-15266/ai.snips.snipsdemo I/zygote: After code cache collection, code=223KB, data=151KB

hum, this is weird. could you register a custom tts engine like this one: (in kotlin)

class CustomTtsHandler(private val snipsPlatformClient: SnipsPlatformClient) : TtsEngine {

    private var tts: TextToSpeech? = null

    override fun setup(context: Context) {
        tts = TextToSpeech(context) {}.apply {
            setOnUtteranceProgressListener(object : UtteranceProgressListener() {
                override fun onDone(p0: String?) {
                    println("tts done $p0")
                    ids.remove(p0)?.let { snipsPlatformClient.notifySayFinished(it) }
                }

                override fun onError(p0: String?) {
                    println("tts error $p0")
                }

                override fun onStart(p0: String?) {
                    println("tts start $p0")
                }
            })
        }
    }

    override fun tearDown() {
        tts?.let {
            it.setOnUtteranceProgressListener(null)
            it.shutdown()
        }
        tts = null
        ids.clear()
    }

    private val ids = HashMap<String, SayFinishedMessage>()

    override fun say(message: SayMessage) {
        tts?.let { tts ->
            message.lang?.let { tts.language = Locale.forLanguageTag(it) }
            val id = UUID.randomUUID().toString()
            ids[id] = SayFinishedMessage(message.id, message.sessionId)
            println("tts say ${message.text} ${message.id}")
            tts.speak(message.text, TextToSpeech.QUEUE_ADD, null, id)
        }
    }
}

This is the same as the default one except there are some logs in it. Register it on the client like this:

client.ttsEngine = CustomTtsHandler(client)

And send back the logs of the app (no need for the snips processing service this time)

Note that if you really don’t need TTS, you can easily make a no-op version of this handler (simply call snipsPlatformClient.notifySayFinished in the say method and leave the other TtsHandler methods empty)

Thank you for that code, but my project is written in Java, not in Kotlin. Could you send me that code in Java?
I’m sorry but I’ve never worked on Kotlin and I don’t know how to convert it to Java.
I said it because I tried to copy that code in a kotlin class and call it from my java class using the client.setTTSEngine method and it tells me that class is not defined.

here you go (much more verbose)

import android.content.Context;
import android.speech.tts.TextToSpeech;
import android.speech.tts.UtteranceProgressListener;

import org.jetbrains.annotations.NotNull;

import java.util.HashMap;
import java.util.Locale;
import java.util.UUID;

import ai.snips.hermes.SayFinishedMessage;
import ai.snips.hermes.SayMessage;
import ai.snips.platform.SnipsPlatformClient;
import ai.snips.platform.TtsEngine;

public class CustomTtsHandler implements TtsEngine {

    TextToSpeech tts;

    SnipsPlatformClient snipsPlatformClient;

    HashMap<String, SayFinishedMessage> ids = new HashMap<>();

    public CustomTtsHandler(@NotNull SnipsPlatformClient snipsPlatformClient) {
        this.snipsPlatformClient = snipsPlatformClient;
    }


    @Override
    public void say(@NotNull SayMessage sayMessage) {
        TextToSpeech tts = this.tts;
        if (sayMessage.getLang() != null) {
            tts.setLanguage(Locale.forLanguageTag(sayMessage.getLang()));
            String id = UUID.randomUUID().toString();
            ids.put(id, new SayFinishedMessage(sayMessage.getId(), sayMessage.getSessionId()));
            System.out.println("TTS saying '" + sayMessage.getText() + "' id " + sayMessage.getId());
            tts.speak(sayMessage.getText(), TextToSpeech.QUEUE_ADD, null, id);
        }
    }

    @Override
    public void setup(@NotNull Context context) {
        TextToSpeech tts = new TextToSpeech(context, new TextToSpeech.OnInitListener() {
            @Override
            public void onInit(int status) {
                System.out.println("TTS was initialized with status " + status);
            }
        });
        tts.setOnUtteranceProgressListener(new UtteranceProgressListener() {
            @Override
            public void onStart(String utteranceId) {
                System.out.println("TTS start for utterance " + utteranceId);
            }

            @Override
            public void onDone(String utteranceId) {
                System.out.println("TTS done for utterance " + utteranceId);
                SayFinishedMessage message = ids.remove(utteranceId);
                if (message != null) {
                    snipsPlatformClient.notifySayFinished(message);
                }
            }

            @Override
            public void onError(String utteranceId) {
                System.out.println("TTS error for utterance " + utteranceId);

            }
        });
        this.tts = tts;
    }

    @Override
    public void tearDown() {
        TextToSpeech tts = this.tts;
        tts.setOnUtteranceProgressListener(null);
        tts.shutdown();
        this.tts = null;
        ids.clear();
    }
}

Thank you for the Java code. I tried it and it gave me the same error again. Now I will give you again the logs of my application as you had requested.

2019-11-05 12:05:57.682 20344-20407/ai.snips.snipsdemo I/Adreno: QUALCOMM build : 368094a, I26dffed9a4
Build Date : 12/03/17
OpenGL ES Shader Compiler Version: EV031.22.00.01
Local Branch :
Remote Branch : quic/gfx-adreno.lnx.1.9.r3-rel
Remote Branch : NONE
Reconstruct Branch : NOTHING
2019-11-05 12:05:57.691 20344-20407/ai.snips.snipsdemo I/Adreno: PFP: 0x005ff087, ME: 0x005ff063
2019-11-05 12:05:57.695 20344-20407/ai.snips.snipsdemo I/OpenGLRenderer: Initialized EGL, version 1.4
2019-11-05 12:05:59.161 20344-20344/ai.snips.snipsdemo I/TextToSpeech: Sucessfully bound to com.google.android.tts
2019-11-05 12:05:59.161 20344-20344/ai.snips.snipsdemo I/SnipsPlatform: Connecting to remote Snips processing service
2019-11-05 12:05:59.193 20344-20344/ai.snips.snipsdemo I/TextToSpeech: Connected to ComponentInfo{com.google.android.tts/com.google.android.tts.service.GoogleTTSService}
2019-11-05 12:05:59.198 20344-20430/ai.snips.snipsdemo I/Usuario: No estoy en Wifi-Snips
2019-11-05 12:05:59.201 20344-20429/ai.snips.snipsdemo I/TextToSpeech: Set up connection to ComponentInfo{com.google.android.tts/com.google.android.tts.service.GoogleTTSService}
2019-11-05 12:05:59.202 20344-20344/ai.snips.snipsdemo I/System.out: TTS was initialized with status 0
2019-11-05 12:05:59.224 20344-20430/ai.snips.snipsdemo I/ServicioSnips: Hay 0 eventos
2019-11-05 12:05:59.287 20344-20344/ai.snips.snipsdemo I/SnipsPlatform: Snips processing service connected, starting the platform
2019-11-05 12:05:59.971 20344-20349/ai.snips.snipsdemo I/zygote: Do partial code cache collection, code=30KB, data=30KB
2019-11-05 12:05:59.973 20344-20349/ai.snips.snipsdemo I/zygote: After code cache collection, code=30KB, data=30KB
2019-11-05 12:05:59.973 20344-20349/ai.snips.snipsdemo I/zygote: Increasing code cache capacity to 128KB
2019-11-05 12:06:05.012 20344-20349/ai.snips.snipsdemo I/zygote: Do partial code cache collection, code=57KB, data=62KB
2019-11-05 12:06:05.015 20344-20349/ai.snips.snipsdemo I/zygote: After code cache collection, code=57KB, data=62KB
2019-11-05 12:06:05.015 20344-20349/ai.snips.snipsdemo I/zygote: Increasing code cache capacity to 256KB
2019-11-05 12:06:05.499 20344-20344/ai.snips.snipsdemo I/Inyecciones: Añadiendo valores
2019-11-05 12:06:05.551 20344-20349/ai.snips.snipsdemo I/zygote: Do full code cache collection, code=72KB, data=72KB
2019-11-05 12:06:05.552 20344-20349/ai.snips.snipsdemo I/zygote: After code cache collection, code=36KB, data=19KB
2019-11-05 12:06:05.557 20344-20349/ai.snips.snipsdemo I/zygote: Do partial code cache collection, code=36KB, data=19KB
2019-11-05 12:06:05.559 20344-20349/ai.snips.snipsdemo I/zygote: After code cache collection, code=36KB, data=19KB
2019-11-05 12:06:05.559 20344-20349/ai.snips.snipsdemo I/zygote: Increasing code cache capacity to 512KB
2019-11-05 12:06:05.560 20344-20349/ai.snips.snipsdemo I/zygote: Method exceeds compiler instruction limit: 25337 in void org.ccil.cowan.tagsoup.HTMLSchema.()
2019-11-05 12:06:09.198 20344-20430/ai.snips.snipsdemo I/Usuario: No estoy en Wifi-Snips
2019-11-05 12:06:09.208 20344-20430/ai.snips.snipsdemo I/ServicioSnips: Hay 0 eventos
2019-11-05 12:06:11.037 20344-20344/ai.snips.snipsdemo I/Salida: Fecha introducida ya ha pasado
2019-11-05 12:06:11.498 20344-20344/ai.snips.snipsdemo I/System.out: TTS saying ‘Fecha introducida ya ha pasado’ id 9d78db18-2cd6-4c77-b6eb-3903206a6a2d
2019-11-05 12:06:11.510 20344-20357/ai.snips.snipsdemo I/System.out: TTS error for utterance f329f3ce-68aa-4d52-96e9-2eede1c2b6ec
2019-11-05 12:06:19.199 20344-20430/ai.snips.snipsdemo I/Usuario: No estoy en Wifi-Snips
2019-11-05 12:06:19.216 20344-20430/ai.snips.snipsdemo I/ServicioSnips: Hay 0 eventos
2019-11-05 12:06:23.003 20344-20349/ai.snips.snipsdemo I/zygote: Do full code cache collection, code=239KB, data=247KB
2019-11-05 12:06:23.005 20344-20349/ai.snips.snipsdemo I/zygote: After code cache collection, code=230KB, data=154KB
2019-11-05 12:06:27.906 20344-20349/ai.snips.snipsdemo I/zygote: Do partial code cache collection, code=235KB, data=186KB
2019-11-05 12:06:27.907 20344-20349/ai.snips.snipsdemo I/zygote: After code cache collection, code=235KB, data=186KB
2019-11-05 12:06:27.907 20344-20349/ai.snips.snipsdemo I/zygote: Increasing code cache capacity to 1024KB
2019-11-05 12:06:29.200 20344-20430/ai.snips.snipsdemo I/Usuario: No estoy en Wifi-Snips
2019-11-05 12:06:29.216 20344-20430/ai.snips.snipsdemo I/ServicioSnips: Hay 0 eventos
2019-11-05 12:06:39.200 20344-20430/ai.snips.snipsdemo I/Usuario: No estoy en Wifi-Snips
2019-11-05 12:06:39.219 20344-20430/ai.snips.snipsdemo I/ServicioSnips: Hay 0 eventos

Ok so we get an error while trying to generate the TTS, the code I gave you uses a deprecated api (my bad) that doesn’t give us the error code,

let’s add this just after the definition of the onError method in the UtteranceProgressListener

@Override
public void onError(String utteranceId, int errorCode) {
    System.out.println("TTS error for utterance " + utteranceId + " code " + errorCode);
}

this should give us the error code

android reference here https://developer.android.com/reference/android/speech/tts/UtteranceProgressListener.html#onError(java.lang.String,%20int)

Hi,
I added the code just below the onError you passed me.


I don’t know if it’s what you wanted, because I’ve tried to replace it and it told me that it should be the UtteranceProgressListener of abstract type or define correctly the onError method (as you had it defined in the code you passed me).

So I think that my version may be outdated or simply can not define the method with the error code as you told me.

Anyway, I send you the logs using this code

2019-11-05 13:21:07.319 25210-25210/? I/zygote: Late-enabling -Xcheck:jni
2019-11-05 13:21:07.398 25210-25217/? I/zygote: Debugger is no longer active
2019-11-05 13:21:07.434 25210-25210/? I/Aplicación: en el proceso principal
2019-11-05 13:21:07.720 25210-25233/? D/OpenGLRenderer: HWUI GL Pipeline
2019-11-05 13:21:07.810 25210-25233/? I/Adreno: QUALCOMM build : 368094a, I26dffed9a4
Build Date : 12/03/17
OpenGL ES Shader Compiler Version: EV031.22.00.01
Local Branch :
Remote Branch : quic/gfx-adreno.lnx.1.9.r3-rel
Remote Branch : NONE
Reconstruct Branch : NOTHING
2019-11-05 13:21:07.819 25210-25233/? I/Adreno: PFP: 0x005ff087, ME: 0x005ff063
2019-11-05 13:21:07.824 25210-25233/? I/OpenGLRenderer: Initialized EGL, version 1.4
2019-11-05 13:21:07.824 25210-25233/? D/OpenGLRenderer: Swap behavior 2
2019-11-05 13:21:12.811 25210-25215/ai.snips.snipsdemo I/zygote: Do partial code cache collection, code=25KB, data=30KB
2019-11-05 13:21:12.814 25210-25215/ai.snips.snipsdemo I/zygote: After code cache collection, code=25KB, data=30KB
2019-11-05 13:21:12.814 25210-25215/ai.snips.snipsdemo I/zygote: Increasing code cache capacity to 128KB
2019-11-05 13:21:14.448 25210-25268/ai.snips.snipsdemo D/ClasePrincipal: Iniciando transmision de audio
2019-11-05 13:21:14.452 25210-25268/ai.snips.snipsdemo D/ClasePrincipal: Tamaño minimo del buffer en bytes: 1280
2019-11-05 13:21:14.585 25210-25210/ai.snips.snipsdemo I/TextToSpeech: Sucessfully bound to com.google.android.tts
2019-11-05 13:21:14.585 25210-25210/ai.snips.snipsdemo I/SnipsPlatform: Connecting to remote Snips processing service
2019-11-05 13:21:14.622 25210-25210/ai.snips.snipsdemo I/TextToSpeech: Connected to ComponentInfo{com.google.android.tts/com.google.android.tts.service.GoogleTTSService}
2019-11-05 13:21:14.639 25210-25282/ai.snips.snipsdemo I/Usuario: No estoy en Wifi-Snips
2019-11-05 13:21:14.640 25210-25281/ai.snips.snipsdemo I/TextToSpeech: Set up connection to ComponentInfo{com.google.android.tts/com.google.android.tts.service.GoogleTTSService}
2019-11-05 13:21:14.640 25210-25210/ai.snips.snipsdemo I/System.out: TTS was initialized with status 0
2019-11-05 13:21:14.663 25210-25282/ai.snips.snipsdemo I/ServicioSnips: Hay 0 eventos
2019-11-05 13:21:14.735 25210-25210/ai.snips.snipsdemo I/SnipsPlatform: Snips processing service connected, starting the platform
2019-11-05 13:21:16.113 25210-25215/ai.snips.snipsdemo I/zygote: Do partial code cache collection, code=58KB, data=61KB
2019-11-05 13:21:16.115 25210-25215/ai.snips.snipsdemo I/zygote: After code cache collection, code=58KB, data=61KB
2019-11-05 13:21:16.115 25210-25215/ai.snips.snipsdemo I/zygote: Increasing code cache capacity to 256KB
2019-11-05 13:21:21.052 25210-25210/ai.snips.snipsdemo I/Inyecciones: Añadiendo valores
2019-11-05 13:21:21.099 25210-25215/ai.snips.snipsdemo I/zygote: Do full code cache collection, code=106KB, data=103KB
2019-11-05 13:21:21.101 25210-25215/ai.snips.snipsdemo I/zygote: After code cache collection, code=91KB, data=68KB
2019-11-05 13:21:21.107 25210-25215/ai.snips.snipsdemo I/zygote: Do partial code cache collection, code=91KB, data=69KB
2019-11-05 13:21:21.108 25210-25215/ai.snips.snipsdemo I/zygote: After code cache collection, code=91KB, data=69KB
2019-11-05 13:21:21.109 25210-25215/ai.snips.snipsdemo I/zygote: Increasing code cache capacity to 512KB
2019-11-05 13:21:21.109 25210-25215/ai.snips.snipsdemo I/zygote: Method exceeds compiler instruction limit: 25337 in void org.ccil.cowan.tagsoup.HTMLSchema.()
2019-11-05 13:21:21.176 25210-25210/ai.snips.snipsdemo D/ClasePrincipal: Estado de escucha del asr: false
2019-11-05 13:21:21.200 25210-25210/ai.snips.snipsdemo D/ClasePrincipal: Estado de escucha del asr: true
2019-11-05 13:21:21.202 25210-25210/ai.snips.snipsdemo D/ClasePrincipal: Sesion de dialogo inciada: SessionStartedMessage(sessionId=7820ad63-1f49-4c0c-a657-4f7667320cbf, customData=null, siteId=default, reactivatedFromSessionId=null)
2019-11-05 13:21:24.639 25210-25282/ai.snips.snipsdemo I/Usuario: No estoy en Wifi-Snips
2019-11-05 13:21:24.649 25210-25282/ai.snips.snipsdemo I/ServicioSnips: Hay 0 eventos
2019-11-05 13:21:24.984 25210-25210/ai.snips.snipsdemo D/ClasePrincipal: Estado de escucha del asr: false
2019-11-05 13:21:25.219 25210-25210/ai.snips.snipsdemo D/ClasePrincipal: Reciviendo intent: IntentMessage(sessionId=7820ad63-1f49-4c0c-a657-4f7667320cbf, customData=null, siteId=default, input=hoy a las seis añadir adiro, intent=IntentClassifierResult(intentName=caguilary:Anadir_Evento, confidenceScore=1.0), slots=[Slot(rawValue=hoy a las seis, value=InstantTimeValue(value=2019-11-05 06:00:00 +01:00, grain=HOUR, precision=EXACT), alternatives=[], range=Range(start=0, end=14), entity=snips/datetime, slotName=Fecha, confidenceScore=1.0), Slot(rawValue=adiro, value=CustomValue(value=adiro), alternatives=[], range=Range(start=22, end=27), entity=medicamento, slotName=Medicamento, confidenceScore=1.0)], alternatives=[IntentAlternative(intentName=caguilary:Borrar_Evento, confidenceScore=0.3007366, slots=[Slot(rawValue=hoy a las seis añadir adiro, value=InstantTimeValue(value=2019-11-05 06:00:00 +01:00, grain=HOUR, precision=EXACT), alternatives=[], range=Range(start=0, end=27), entity=snips/datetime, slotName=Fecha, confidenceScore=1.0)]), IntentAlternative(intentName=caguilary:Cambiar_Usuario, confidenceScore=0.19626054, slots=[Slot(rawValue=adiro, value=CustomValue(value=adiro), alternatives=[], range=Range(start=22, end=27), entity=usuario, slotName=usuario, confidenceScore=1.0)])], asrConfidence=1.0, asrTokens=[[AsrToken(value=hoy, confidence=1.0, range=AsrTokenRange(start=0, end=3), time=AsrDecodingDuration(start=0.0, end=1.77)), AsrToken(value=a, confidence=1.0, range=AsrTokenRange(start=4, end=5), time=AsrDecodingDuration(start=1.77, end=1.89)), AsrToken(value=las, confidence=1.0, range=AsrTokenRange(start=6, end=9), time=AsrDecodingDuration(start=1.89, end=2.01)), AsrToken(value=seis, confidence=1.0, range=AsrTokenRange(start=10, end=14), time=AsrDecodingDuration(start=2.01, end=2.4299998)), AsrToken(value=añadir, confidence=1.0, range=AsrTokenRange(start=15, end=21), time=AsrDecodingDuration(start=2.4299998, end=3.09)), AsrToken(value=adiro, confidence=1.0, range=AsrTokenRange(start=22, end=27), time=AsrDecodingDuration(start=3.09, end=4.2))]])
2019-11-05 13:21:25.229 25210-25210/ai.snips.snipsdemo I/Salida: Fecha introducida ya ha pasado
2019-11-05 13:21:25.664 25210-25210/ai.snips.snipsdemo I/System.out: TTS saying ‘Fecha introducida ya ha pasado’ id ed1d9491-c924-4151-a0dd-9d8594255169
2019-11-05 13:21:25.674 25210-25222/ai.snips.snipsdemo I/System.out: TTS error for utterance 0b79eee4-6cf6-487f-92e0-c110f0001690
2019-11-05 13:21:30.820 25210-25215/ai.snips.snipsdemo I/zygote: Do full code cache collection, code=233KB, data=248KB
2019-11-05 13:21:30.822 25210-25215/ai.snips.snipsdemo I/zygote: After code cache collection, code=221KB, data=151KB
2019-11-05 13:21:34.639 25210-25282/ai.snips.snipsdemo I/Usuario: No estoy en Wifi-Snips
2019-11-05 13:21:34.659 25210-25282/ai.snips.snipsdemo I/ServicioSnips: Hay 0 eventos
2019-11-05 13:21:40.447 25210-25210/ai.snips.snipsdemo D/ClasePrincipal: Estado de escucha del asr: false
2019-11-05 13:21:40.509 25210-25210/ai.snips.snipsdemo D/ClasePrincipal: Sesion de dialogo terminada: SessionEndedMessage(sessionId=7820ad63-1f49-4c0c-a657-4f7667320cbf, customData=null, termination=Timeout(component=Tts), siteId=default)
2019-11-05 13:21:42.822 25210-25215/ai.snips.snipsdemo I/zygote: Do partial code cache collection, code=252KB, data=204KB
2019-11-05 13:21:42.824 25210-25215/ai.snips.snipsdemo I/zygote: After code cache collection, code=252KB, data=204KB
2019-11-05 13:21:42.824 25210-25215/ai.snips.snipsdemo I/zygote: Increasing code cache capacity to 1024KB
2019-11-05 13:21:44.639 25210-25282/ai.snips.snipsdemo I/Usuario: No estoy en Wifi-Snips
2019-11-05 13:21:44.657 25210-25282/ai.snips.snipsdemo I/ServicioSnips: Hay 0 eventos
2019-11-05 13:21:54.639 25210-25282/ai.snips.snipsdemo I/Usuario: No estoy en Wifi-Snips
2019-11-05 13:21:54.660 25210-25282/ai.snips.snipsdemo I/ServicioSnips: Hay 0 eventos
2019-11-05 13:22:04.640 25210-25282/ai.snips.snipsdemo I/Usuario: No estoy en Wifi-Snips
2019-11-05 13:22:04.667 25210-25282/ai.snips.snipsdemo I/ServicioSnips: Hay 0 eventos

yes adding it below is what should be done (the method was added in api 21 and the previous abstract method was kept be deprecated for compatibility reasons)

What is weird is that this is still the old deprecated version that is called in the code you sent. (we don’t get the code in you logs)

Could you try and do a clean build/install just to be sure ?

I’ve done a clean, along with a rebuild and an installation. In the logs I don’t find anything this time regarding the error code either.
Anyway, I send you both the class (it’s the same one you passed me adding the new onError), in order that you see it, and the output of the logs.
Code

package ai.snips.snipsdemo;
import android.content.Context;
import android.speech.tts.TextToSpeech;
import android.speech.tts.UtteranceProgressListener;
import org.jetbrains.annotations.NotNull;
import java.util.HashMap;
import java.util.Locale;
import java.util.UUID;
import ai.snips.hermes.SayFinishedMessage;
import ai.snips.hermes.SayMessage;
import ai.snips.platform.SnipsPlatformClient;
import ai.snips.platform.TtsEngine;
public class CustomTtsHandler implements TtsEngine {
TextToSpeech tts;
SnipsPlatformClient snipsPlatformClient;
HashMap<String, SayFinishedMessage> ids = new HashMap<>();
public CustomTtsHandler(@NotNull SnipsPlatformClient snipsPlatformClient) {
this.snipsPlatformClient = snipsPlatformClient;
}
@Override
public void say(@NotNull SayMessage sayMessage) {
TextToSpeech tts = this.tts;
if (sayMessage.getLang() != null) {
tts.setLanguage(Locale.forLanguageTag(sayMessage.getLang()));
String id = UUID.randomUUID().toString();
ids.put(id, new SayFinishedMessage(sayMessage.getId(), sayMessage.getSessionId()));
System.out.println(“TTS saying '” + sayMessage.getText() + "’ id " + sayMessage.getId());
tts.speak(sayMessage.getText(), TextToSpeech.QUEUE_ADD, null, id);
}
}
@Override
public void setup(@NotNull Context context) {
TextToSpeech tts = new TextToSpeech(context, new TextToSpeech.OnInitListener() {
@Override
public void onInit(int status) {
System.out.println("TTS was initialized with status " + status);
}
});
tts.setOnUtteranceProgressListener(new UtteranceProgressListener() {
@Override
public void onStart(String utteranceId) {
System.out.println("TTS start for utterance " + utteranceId);
}
@Override
public void onDone(String utteranceId) {
System.out.println("TTS done for utterance " + utteranceId);
SayFinishedMessage message = ids.remove(utteranceId);
if (message != null) {
snipsPlatformClient.notifySayFinished(message);
}
}
@Override
public void onError(String utteranceId) {
System.out.println("TTS error for utterance " + utteranceId);
}
@Override
public void onError(String utteranceId, int errorCode) {
System.out.println("TTS error for utterance " + utteranceId + " code " + errorCode);
}
});
this.tts = tts;
}
@Override
public void tearDown() {
TextToSpeech tts = this.tts;
tts.setOnUtteranceProgressListener(null);
tts.shutdown();
this.tts = null;
ids.clear();
}
}

Log output

2019-11-05 15:44:30.774 29083-29147/ai.snips.snipsdemo D/OpenGLRenderer: HWUI GL Pipeline
2019-11-05 15:44:30.853 29083-29147/ai.snips.snipsdemo I/Adreno: QUALCOMM build : 368094a, I26dffed9a4
Build Date : 12/03/17
OpenGL ES Shader Compiler Version: EV031.22.00.01
Local Branch :
Remote Branch : quic/gfx-adreno.lnx.1.9.r3-rel
Remote Branch : NONE
Reconstruct Branch : NOTHING
2019-11-05 15:44:30.862 29083-29147/ai.snips.snipsdemo I/Adreno: PFP: 0x005ff087, ME: 0x005ff063
2019-11-05 15:44:30.865 29083-29147/ai.snips.snipsdemo I/OpenGLRenderer: Initialized EGL, version 1.4
2019-11-05 15:44:30.865 29083-29147/ai.snips.snipsdemo D/OpenGLRenderer: Swap behavior 2
2019-11-05 15:44:37.715 29083-29088/ai.snips.snipsdemo I/zygote: Do partial code cache collection, code=26KB, data=30KB
2019-11-05 15:44:37.716 29083-29088/ai.snips.snipsdemo I/zygote: After code cache collection, code=26KB, data=30KB
2019-11-05 15:44:37.716 29083-29088/ai.snips.snipsdemo I/zygote: Increasing code cache capacity to 128KB
2019-11-05 15:44:38.518 29083-29157/ai.snips.snipsdemo D/ClasePrincipal: Iniciando transmision de audio
2019-11-05 15:44:38.521 29083-29157/ai.snips.snipsdemo D/ClasePrincipal: Tamaño minimo del buffer en bytes: 1280
2019-11-05 15:44:38.649 29083-29083/ai.snips.snipsdemo I/TextToSpeech: Sucessfully bound to com.google.android.tts
2019-11-05 15:44:38.649 29083-29083/ai.snips.snipsdemo I/SnipsPlatform: Connecting to remote Snips processing service
2019-11-05 15:44:38.688 29083-29083/ai.snips.snipsdemo I/TextToSpeech: Connected to ComponentInfo{com.google.android.tts/com.google.android.tts.service.GoogleTTSService}
2019-11-05 15:44:38.694 29083-29170/ai.snips.snipsdemo I/Usuario: No estoy en Wifi-Snips
2019-11-05 15:44:38.704 29083-29169/ai.snips.snipsdemo I/TextToSpeech: Set up connection to ComponentInfo{com.google.android.tts/com.google.android.tts.service.GoogleTTSService}
2019-11-05 15:44:38.725 29083-29083/ai.snips.snipsdemo I/System.out: TTS was initialized with status 0
2019-11-05 15:44:38.736 29083-29170/ai.snips.snipsdemo I/ServicioSnips: Hay 0 eventos
2019-11-05 15:44:38.813 29083-29083/ai.snips.snipsdemo I/SnipsPlatform: Snips processing service connected, starting the platform
2019-11-05 15:44:39.709 29083-29088/ai.snips.snipsdemo I/zygote: Do partial code cache collection, code=54KB, data=61KB
2019-11-05 15:44:39.710 29083-29088/ai.snips.snipsdemo I/zygote: After code cache collection, code=54KB, data=61KB
2019-11-05 15:44:39.711 29083-29088/ai.snips.snipsdemo I/zygote: Increasing code cache capacity to 256KB
2019-11-05 15:44:45.020 29083-29083/ai.snips.snipsdemo I/Inyecciones: Añadiendo valores
2019-11-05 15:44:45.078 29083-29088/ai.snips.snipsdemo I/zygote: Do full code cache collection, code=106KB, data=104KB
2019-11-05 15:44:45.085 29083-29088/ai.snips.snipsdemo I/zygote: After code cache collection, code=92KB, data=69KB
2019-11-05 15:44:45.088 29083-29088/ai.snips.snipsdemo I/zygote: Do partial code cache collection, code=92KB, data=69KB
2019-11-05 15:44:45.089 29083-29088/ai.snips.snipsdemo I/zygote: After code cache collection, code=92KB, data=69KB
2019-11-05 15:44:45.089 29083-29088/ai.snips.snipsdemo I/zygote: Increasing code cache capacity to 512KB
2019-11-05 15:44:45.091 29083-29088/ai.snips.snipsdemo I/zygote: Method exceeds compiler instruction limit: 25337 in void org.ccil.cowan.tagsoup.HTMLSchema.()
2019-11-05 15:44:45.153 29083-29083/ai.snips.snipsdemo D/ClasePrincipal: Estado de escucha del asr: false
2019-11-05 15:44:45.176 29083-29083/ai.snips.snipsdemo D/ClasePrincipal: Estado de escucha del asr: true
2019-11-05 15:44:45.178 29083-29083/ai.snips.snipsdemo D/ClasePrincipal: Sesion de dialogo inciada: SessionStartedMessage(sessionId=4f167099-6e6e-49ce-bf05-ba84c6a92145, customData=null, siteId=default, reactivatedFromSessionId=null)
2019-11-05 15:44:48.479 29083-29083/ai.snips.snipsdemo D/ClasePrincipal: Estado de escucha del asr: false
2019-11-05 15:44:48.694 29083-29170/ai.snips.snipsdemo I/Usuario: No estoy en Wifi-Snips
2019-11-05 15:44:48.703 29083-29170/ai.snips.snipsdemo I/ServicioSnips: Hay 0 eventos
2019-11-05 15:44:48.724 29083-29083/ai.snips.snipsdemo D/ClasePrincipal: Reciviendo intent: IntentMessage(sessionId=4f167099-6e6e-49ce-bf05-ba84c6a92145, customData=null, siteId=default, input=hoy a las seis añadir adiro, intent=IntentClassifierResult(intentName=caguilary:Anadir_Evento, confidenceScore=1.0), slots=[Slot(rawValue=hoy a las seis, value=InstantTimeValue(value=2019-11-05 06:00:00 +01:00, grain=HOUR, precision=EXACT), alternatives=[], range=Range(start=0, end=14), entity=snips/datetime, slotName=Fecha, confidenceScore=0.83200353), Slot(rawValue=adiro, value=CustomValue(value=adiro), alternatives=[], range=Range(start=22, end=27), entity=medicamento, slotName=Medicamento, confidenceScore=1.0)], alternatives=[IntentAlternative(intentName=caguilary:Borrar_Evento, confidenceScore=0.3007366, slots=[Slot(rawValue=hoy a las seis añadir adiro, value=InstantTimeValue(value=2019-11-05 06:00:00 +01:00, grain=HOUR, precision=EXACT), alternatives=[], range=Range(start=0, end=27), entity=snips/datetime, slotName=Fecha, confidenceScore=0.8846065)]), IntentAlternative(intentName=caguilary:Cambiar_Usuario, confidenceScore=0.19626054, slots=[Slot(rawValue=adiro, value=CustomValue(value=adiro), alternatives=[], range=Range(start=22, end=27), entity=usuario, slotName=usuario, confidenceScore=1.0)])], asrConfidence=0.8846065, asrTokens=[[AsrToken(value=hoy, confidence=1.0, range=AsrTokenRange(start=0, end=3), time=AsrDecodingDuration(start=0.0, end=1.77)), AsrToken(value=a, confidence=0.5564804, range=AsrTokenRange(start=4, end=5), time=AsrDecodingDuration(start=1.77, end=1.8367379)), AsrToken(value=las, confidence=0.86109453, range=AsrTokenRange(start=6, end=9), time=AsrDecodingDuration(start=1.8367379, end=1.9603618)), AsrToken(value=seis, confidence=1.0, range=AsrTokenRange(start=10, end=14), time=AsrDecodingDuration(start=1.9603618, end=2.19)), AsrToken(value=añadir, confidence=1.0, range=AsrTokenRange(start=15, end=21), time=AsrDecodingDuration(start=2.19, end=2.58)), AsrToken(value=adiro, confidence=1.0, range=AsrTokenRange(start=22, end=27), time=AsrDecodingDuration(start=2.58, end=3.57))]])
2019-11-05 15:44:48.729 29083-29083/ai.snips.snipsdemo I/Salida: Fecha introducida ya ha pasado
2019-11-05 15:44:49.171 29083-29083/ai.snips.snipsdemo I/System.out: TTS saying ‘Fecha introducida ya ha pasado’ id 87120dff-bf4e-418d-b65f-300ca8188b34
2019-11-05 15:44:49.178 29083-29097/ai.snips.snipsdemo I/System.out: TTS error for utterance a16806cc-81d0-44f0-80c5-a577ef92d51d
2019-11-05 15:44:53.700 29083-29088/ai.snips.snipsdemo I/zygote: Do full code cache collection, code=234KB, data=248KB
2019-11-05 15:44:53.702 29083-29088/ai.snips.snipsdemo I/zygote: After code cache collection, code=222KB, data=150KB
2019-11-05 15:44:58.694 29083-29170/ai.snips.snipsdemo I/Usuario: No estoy en Wifi-Snips
2019-11-05 15:44:58.705 29083-29170/ai.snips.snipsdemo I/ServicioSnips: Hay 0 eventos
2019-11-05 15:45:04.595 29083-29083/ai.snips.snipsdemo D/ClasePrincipal: Estado de escucha del asr: false
2019-11-05 15:45:04.618 29083-29083/ai.snips.snipsdemo D/ClasePrincipal: Sesion de dialogo terminada: SessionEndedMessage(sessionId=4f167099-6e6e-49ce-bf05-ba84c6a92145, customData=null, termination=Timeout(component=Tts), siteId=default)
2019-11-05 15:45:04.730 29083-29088/ai.snips.snipsdemo I/zygote: Do partial code cache collection, code=246KB, data=198KB
2019-11-05 15:45:04.731 29083-29088/ai.snips.snipsdemo I/zygote: After code cache collection, code=246KB, data=198KB
2019-11-05 15:45:04.731 29083-29088/ai.snips.snipsdemo I/zygote: Increasing code cache capacity to 1024KB
2019-11-05 15:45:08.695 29083-29170/ai.snips.snipsdemo I/Usuario: No estoy en Wifi-Snips
2019-11-05 15:45:08.716 29083-29170/ai.snips.snipsdemo I/ServicioSnips: Hay 0 eventos