MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Segment fault MMM-GoogleTTS

    Troubleshooting
    googletts grpc fault
    3
    7
    290
    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.
    • J
      jamesarm last edited by

      I have read other messages about doing the node electron rebuild and such and tried all of them. I keep getting a segment fault running the node_grpc binary that is compiled in the TTS node stuff (not at computer to get the exact name), the GRPC bin. I have rebuilt it as suggested and even switched down to gcc-7 from 8 as mentioned also, no luck. This is on a rpi 4b running the latest Raspbian and magicmirrror. Any thought on what else I can try? I can’t be the only person on a pi 4b. I plan on integrating some more google stuff so I need to find a solution somehow.

      -James

      S M 3 Replies Last reply Reply Quote 0
      • S
        sdetweil @jamesarm last edited by sdetweil

        @jamesarm the comments on gprc suggest to move the code to @gprc/gprc.js

        it has helped other code I have worked on

        this module hasn’t been updated in a while, so you never know how much work is required to make it work again.

        Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • M
          MMRIZE @jamesarm last edited by MMRIZE

          @jamesarm
          I was the original author of it. I’ll look inside tomorrow. I ran away from the my exmodules for personal reasons for a while.

          S 1 Reply Last reply Reply Quote 0
          • S
            sdetweil @MMRIZE last edited by

            @mmrize we are glad that you are back! your ideas and expertise are wonderful!

            Sam

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • M
              MMRIZE @jamesarm last edited by

              @jamesarm

              Hmmm. In my test, there be no issue.

              Anyway, try these steps;

              1. Update and Upgrade your MM to the latest version. If you can, Upgrade Electron and Node also.
              2. Remove MMM-GoogleTTS then reinstall (without electron-rebuild)
              3. Get credentials and config you need.
              4. Try execution.
              5. Is there an error? what kind of? show me.
              6. IF you are doubting electron-rebuild issue, try server only mode. (Still do not electron-rebuild yet)
              7. in server only mode and browser trial, it works?
              8. If it works, now do electron-rebuild process. Is there any error in process?
              J 1 Reply Last reply Reply Quote 0
              • J
                jamesarm @MMRIZE last edited by

                @mmrize Looks like it is fixed now, from what I can tell it appears the repo has been updated to support grpc.js instead of the deprecated module.

                M 1 Reply Last reply Reply Quote 1
                • M
                  MMRIZE @jamesarm last edited by

                  @jamesarm
                  Glad to hear it works for you now.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy