Giter Site home page Giter Site logo

Comments (8)

bincTW avatar bincTW commented on August 22, 2024 1

Found out that the error only occurs in combination with the usage of bencoding.utterance module (native speech synthesizer module) and that I need to initialize utterance module first - and everything works fine.

from titanium-speech.

hansemannn avatar hansemannn commented on August 22, 2024

@SquirrelMobile Thanks for testing! It looks like a known issue on the Simulator (see related error-code here). Does it work on device? I'll check-out the proposal they have in the thread, should be super easy to adopt to Hyperloop. Thx!

from titanium-speech.

SquirrelMobile avatar SquirrelMobile commented on August 22, 2024

Hello, i can't test on the simulator. I've tested on my iPad and my iPhone (7). It didn't work either on the device. I think you can easily reproduce the bug on your demo app. Thanks for your feedback !

from titanium-speech.

bincTW avatar bincTW commented on August 22, 2024

Same problem here .. (Device iPhone 7)
When I restart recognition, I get this error:

required condition is false: _recordingTap == nil
[ERROR] :  Script Error {
[ERROR] :      column = 26;
[ERROR] :      description = "required condition is false: _recordingTap == nil";
[ERROR] :      line = 145;
[ERROR] :      message = "required condition is false: _recordingTap == nil";
[ERROR] :      name = "com.apple.coreaudio.avfaudio";
[ERROR] :      nativeStack = "1   libobjc.A.dylib                     0x00000001880d8538 objc_exception_throw + 56\n2   CoreFoundation                      0x0000000189676eb4 <redacted> + 0\n3   AVFAudio                            0x00000001a36991cc <redacted> + 60\n4   AVFAudio                            0x00000001a370d57c <redacted> + 144\n5   AVFAudio                            0x00000001a370b17c <redacted> + 216\n6   CoreFoundation                      0x000000018967ce80 <redacted> + 144\n7   CoreFoundation                      0x00000001895722c4 <redacted> + 292\n8   UnternehmenForm                     0x0000000100555bd4 UnternehmenForm + 5217236\n9   UnternehmenForm                     0x000000010055077c UnternehmenForm + 5195644\n10  UnternehmenForm                     0x0000000100320f68 UnternehmenForm + 2903912\n11  UnternehmenForm                     0x00000001003c6c08 UnternehmenForm + 3582984\n12  UnternehmenForm                     0x00000001003ccb48 UnternehmenForm + 3607368";
[ERROR] :      sourceURL = "file:///var/containers/Bundle/Application/54144A66-95A8-4136-B980-D7BFBF8EBBE0/UnternehmenForm.app/hyperloop/avfoundation/avaudionode.js";
[ERROR] :      stack = "dispatch@[native code]\nvalue@file:///var/containers/Bundle/Application/54144A66-95A8-4136-B980-D7BFBF8EBBE0/UnternehmenForm.app/hyperloop/avfoundation/avaudionode.js:145:26\nstartRecognition@file:///var/containers/Bundle/Application/54144A66-95A8-4136-B980-D7BFBF8EBBE0/UnternehmenForm.app/lib/ti.speech.js:1:4886\nrequestVoiceCommand@file:///var/containers/Bundle/Application/54144A66-95A8-4136-B980-D7BFBF8EBBE0/UnternehmenForm.app/ui/common/contactView.js:1:2007";
[ERROR] :  }
[ERROR] :  required condition is false: _recordingTap == nil
[ERROR] :  Script Error {
[ERROR] :      column = 26;
[ERROR] :      description = "required condition is false: _recordingTap == nil";
[ERROR] :      line = 145;
[ERROR] :      message = "required condition is false: _recordingTap == nil";
[ERROR] :      name = "com.apple.coreaudio.avfaudio";
[ERROR] :      nativeStack = "1   libobjc.A.dylib                     0x00000001880d8538 objc_exception_throw + 56\n2   CoreFoundation                      0x0000000189676eb4 <redacted> + 0\n3   AVFAudio                            0x00000001a36991cc <redacted> + 60\n4   AVFAudio                            0x00000001a370d57c <redacted> + 144\n5   AVFAudio                            0x00000001a370b17c <redacted> + 216\n6   CoreFoundation                      0x000000018967ce80 <redacted> + 144\n7   CoreFoundation                      0x00000001895722c4 <redacted> + 292\n8   UnternehmenForm                     0x0000000100555bd4 UnternehmenForm + 5217236\n9   UnternehmenForm                     0x000000010055077c UnternehmenForm + 5195644\n10  UnternehmenForm                     0x0000000100320f68 UnternehmenForm + 2903912\n11  UnternehmenForm                     0x00000001003c6c08 UnternehmenForm + 3582984\n12  UnternehmenForm                     0x00000001003ccb48 UnternehmenForm + 3607368";
[ERROR] :      sourceURL = "file:///var/containers/Bundle/Application/54144A66-95A8-4136-B980-D7BFBF8EBBE0/UnternehmenForm.app/hyperloop/avfoundation/avaudionode.js";
[ERROR] :      stack = "dispatch@[native code]\nvalue@file:///var/containers/Bundle/Application/54144A66-95A8-4136-B980-D7BFBF8EBBE0/UnternehmenForm.app/hyperloop/avfoundation/avaudionode.js:145:26\nstartRecognition@file:///var/containers/Bundle/Application/54144A66-95A8-4136-B980-D7BFBF8EBBE0/UnternehmenForm.app/lib/ti.speech.js:1:4886\nrequestVoiceCommand@file:///var/containers/Bundle/Application/54144A66-95A8-4136-B980-D7BFBF8EBBE0/UnternehmenForm.app/ui/common/contactView.js:1:2007";
[ERROR] :  }
[ERROR] :  ErrorController is up. ABORTING showing of modal controller  

from titanium-speech.

hansemannn avatar hansemannn commented on August 22, 2024

@brentonhouse Did you see this before? Seems audio-related. Will try to take a peek as well.

from titanium-speech.

brentonhouse avatar brentonhouse commented on August 22, 2024

I will take a look at it

from titanium-speech.

brentonhouse avatar brentonhouse commented on August 22, 2024

I am not seeing the issue in the example app using:

Titanium SDKs:  6.0.4.GA and 6.1.1.RC
Node.js:  6.10.3
Appc CLI:  6.2.2
Titanium CLI:  5.0.14
Alloy:  1.10.3
Hyperloop 2.1.1

@SquirrelMobile @bincTW -- Can you include details of your environment?

from titanium-speech.

brentonhouse avatar brentonhouse commented on August 22, 2024

@SquirrelMobile -- Are you using the bencoding.utterance module as well?

from titanium-speech.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.