• Register
    • Login
    • Search

    Solved Porcupine keyword file version unmatch

    EXT-Detector
    3
    7
    40
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      secretman last edited by

      Before entering the question, sincerely thank you for developing such fun modules for MagicMirror 🙂
      I am seeing below errors while trying to load custom porcupine keyword model

      [10.06.2023 21:52.27.638] [LOG] [DETECTOR] EXT-Detector Version: 2.1.1 rev: 230417
      [10.06.2023 21:52.27.643] [LOG] [ALERT] EXT-Alert Version: 1.2.1 rev: 230328
      [10.06.2023 21:52.27.740] [LOG] [DETECTOR] [LIB] All libraries loaded!
      [10.06.2023 21:52.27.743] [LOG] [DETECTOR] [DATA] Platform: ‘raspberry-pi’; attempting to use ‘arecord’ to access microphone …
      [ERROR] keyword file belongs to a different version of the library. keyword file is ‘2.2.0’ while the library is ‘2.1.0’.
      [ERROR] loading keyword file at ‘/home/sheldonpi/MagicMirror/modules/EXT-Detector/components/Idiot_en_raspberry-pi_v2_2_0.ppn’ failed with ‘INVALID_ARGUMENT’
      [10.06.2023 21:52.27.780] [ERROR] [PORCUPINE] Error: Porcupine failed to initialize
      [10.06.2023 21:52.27.789] [ERROR] [DETECTOR] [DATA] No detector initialized!

      1 Reply Last reply Reply Quote 0
      • bugsounet
        bugsounet Main Coder last edited by

        Hi,

        ah, I will inspect and update it, if needed

        Thx for this report

        My place in France Top committers of Github:
        committers.top badge

        S 1 Reply Last reply Reply Quote 0
        • bugsounet
          bugsounet Main Coder last edited by bugsounet

          Can you try this in your terminal: (copy and past for no error)

          cd ~/MagicMirror/modules/EXT-Detector
          npm install @picovoice/porcupine-node@^2.2.0
          

          and restart MM²

          Tell me if better ?

          My place in France Top committers of Github:
          committers.top badge

          1 Reply Last reply Reply Quote 0
          • Referenced by  bugsounet bugsounet 
          • S
            secretman @bugsounet last edited by

            Hi @bugsounet , it is working fine now. Thanks!

            1 Reply Last reply Reply Quote 0
            • bugsounet
              bugsounet Main Coder last edited by bugsounet

              ok, I will push the update then 😉
              Thanks for your help

              My place in France Top committers of Github:
              committers.top badge

              1 Reply Last reply Reply Quote 1
              • B
                brodel last edited by

                hi @bugsounet whi i can do this issues
                cd ~/MagicMirror/modules/EXT-Detector
                npm install @picovoice/porcupine-node@^2.2.0

                1 Reply Last reply Reply Quote 0
                • bugsounet
                  bugsounet Main Coder last edited by

                  you don’t have to do this.
                  just update EXT-Detector,
                  It’s already on the last version: v2.1.2
                  I push to the public the patch so … just update it 🙂

                  My place in France Top committers of Github:
                  committers.top badge

                  1 Reply Last reply Reply Quote 0
                  • undefined  bugsounet bugsounet 
                  • First post
                    Last post
                  Powered by NodeBB | @bugsounet ©2023