MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-GroveGestures / Python script is terminated

    Scheduled Pinned Locked Moved Solved Troubleshooting
    25 Posts 5 Posters 6.2k Views 5 Watching
    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.
    • ? Offline
      A Former User @MagicStarthilfe
      last edited by

      @MagicStarthilfe
      how often did it happen? always? randomly?
      When did it happen usually? soon after start? in some minutes or hours?

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User
        last edited by A Former User

        too fast or too slow i2c speed could make this kind issue.
        try to adjust speed to 10000 - 32000 (default might be 100000 I remembered)

        https://www.raspberrypi-spy.co.uk/2018/02/change-raspberry-pi-i2c-bus-speed/

        M 2 Replies Last reply Reply Quote 1
        • M Offline
          MagicStarthilfe @Guest
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • M Offline
            MagicStarthilfe @Guest
            last edited by

            @Sean
            Thanks for the quick answer.
            Last night it started correctly for once. That was after several restarts, no idea why it suddenly worked. Then I let the system run overnight, that was no problem.
            I rebooted it earlier for a test. The error did not occur then, but the module does not react now. Therefore all modules are on the first page (use MMM-GroveGestures for the page change together with MMM-pages, MMM-page-indicator and MMM notification trigger which worked otherwise). Even a restart does not help at the moment. I have increased the speed of i2c.
            python gesture_print.py works.
            All modules seem to be loaded correctly. (see MagicMirror-out.log
            below)
            Is it maybe more a problem of MMM-pages?
            Today I will test the system without MMM-pages and only with the clock, if MMM-GroveGestures works I will start the other modules bit by bit. Maybe I can identify a module that causes problems.

            [11:32:16.198] [LOG]    Starting MagicMirror: v2.10.1
            [11:32:16.215] [LOG]    Loading config ...
            [11:32:16.234] [LOG]    Loading module helpers ...
            [11:32:16.236] [LOG]    No helper found for module: alert.
            [11:32:16.371] [LOG]    Initializing new module helper ...
            [11:32:16.372] [LOG]    Module helper loaded: updatenotification
            [11:32:16.374] [LOG]    No helper found for module: clock.
            [11:32:16.544] [LOG]    Initializing new module helper ...
            [11:32:16.545] [LOG]    Module helper loaded: MMM-Remote-Control
            [11:32:16.561] [LOG]    Initializing new module helper ...
            [11:32:16.562] [LOG]    Module helper loaded: MMM-GroveGestures
            [11:32:16.570] [LOG]    Initializing new module helper ...
            [11:32:16.571] [LOG]    Module helper loaded: MMM-NotificationTrigger
            [11:32:16.572] [LOG]    No helper found for module: MMM-page-indicator.
            [11:32:16.574] [LOG]    No helper found for module: MMM-pages.
            [11:32:16.648] [LOG]    Initializing new module helper ...
            [11:32:16.649] [LOG]    Module helper loaded: MMM-PIR-Sensor
            [11:32:17.647] [LOG]    Initializing new module helper ...
            [11:32:17.648] [LOG]    Module helper loaded: MMM-SystemStats
            [11:32:18.339] [LOG]    Initializing new module helper ...
            [11:32:18.339] [LOG]    Module helper loaded: MMM-PublicTransportHafas
            [11:32:18.345] [LOG]    Initializing new module helper ...
            [11:32:18.346] [LOG]    Module helper loaded: MMM-NASA
            [11:32:18.575] [LOG]    Initializing new module helper ...
            [11:32:18.576] [LOG]    Module helper loaded: MMM-NOAA
            [11:32:19.573] [LOG]    Initializing new module helper ...
            [11:32:19.576] [LOG]    Module helper loaded: MMM-DWD-WarnWeather
            [11:32:19.664] [LOG]    Initializing new module helper ...
            [11:32:19.664] [LOG]    Module helper loaded: newsfeed
            [11:32:19.665] [LOG]    All module helpers loaded.
            [11:32:19.667] [LOG]    Starting server on port 8080 ...
            [11:32:19.691] [LOG]    Server started ...
            [11:32:19.693] [LOG]    Connecting socket for: updatenotification
            [11:32:19.695] [LOG]    Connecting socket for: MMM-Remote-Control
            [11:32:19.697] [LOG]    Starting node helper for: MMM-Remote-Control
            [11:32:19.714] [LOG]    Connecting socket for: MMM-GroveGestures
            [11:32:19.716] [LOG]    Connecting socket for: MMM-NotificationTrigger
            [11:32:19.763] [LOG]    Connecting socket for: MMM-PIR-Sensor
            [11:32:19.766] [LOG]    Connecting socket for: MMM-SystemStats
            [11:32:19.768] [LOG]    Connecting socket for: MMM-PublicTransportHafas
            [11:32:19.770] [LOG]    Connecting socket for: MMM-NASA
            [11:32:19.772] [LOG]    Starting node_helper for: MMM-NASA
            [11:32:19.774] [LOG]    Connecting socket for: MMM-NOAA
            [11:32:19.776] [LOG]    Starting module: MMM-NOAA
            [11:32:19.801] [LOG]    Connecting socket for: MMM-DWD-WarnWeather
            [11:32:19.802] [LOG]    MMM-DWD-WarnWeather helper started...
            [11:32:19.803] [LOG]    Connecting socket for: newsfeed
            [11:32:19.805] [LOG]    Starting module: newsfeed
            [11:32:19.805] [LOG]    Sockets connected & modules started ...
            [11:32:20.114] [LOG]    Launching application.
            [11:32:25.625] [LOG]    Transportation fetcher for station with id '008000263' created.
            [11:32:26.201] [LOG]    Transportation fetcher for station with id '000625258' created.
            [11:32:26.356] [LOG]    Create new news fetcher for url: http://www.tagesschau.de/xml/rss2 - Interval: 300000
            
            
            ? 1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @MagicStarthilfe
              last edited by

              @MagicStarthilfe
              I don’t know whether MMM-Pages would be reason or not at this moment. Your last log seems so quite normal anyway (or saying nothing important really. :D)
              If you are using MMM-Pages, keep this kind of module is valid on each page. I think it’s better to keep it globally out of those kinds of suspending/resuming control.

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                MagicStarthilfe @Guest
                last edited by

                @Sean Hello,
                the error " Python script is terminated" I could actually fix by adjusting the i2c speed. Thanks for the tip.
                The subsequent errors were caused by the NOAA module.
                Thanks for the help.

                E 1 Reply Last reply Reply Quote 0
                • E Offline
                  Egnos @MagicStarthilfe
                  last edited by

                  Hi @MagicStarthilfe I have the same problem as you:

                  [04.09.2023 12:50.18.499] [LOG]   [GESTURE] Gesture script is finished.
                  [04.09.2023 12:50.19.072] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                  [04.09.2023 12:50.19.270] [LOG]   [GESTURE] ORIGIN:wake-up finish.
                  [04.09.2023 12:50.19.393] [LOG]   [GESTURE] ORIGIN:Paj7620 initialize register finished.
                  [04.09.2023 12:59.32.764] [LOG]   Keyboard Interrupted
                  

                  I use a Raspberry Pi 4 4GB with MagicMirror² v2.24.0 (the latest version…).

                  Do you remeber wich “i2c” speed you have used for fix the problem?

                  Thanks.

                  My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                  M 2 Replies Last reply Reply Quote 0
                  • M Offline
                    MMRIZE @Egnos
                    last edited by

                    @Egnos
                    Try 10000 or 32000.

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

                      @Egnos
                      However the “terminated” message itself is nothing wrong.
                      “Too often without any gesture triggered” cases only be the issue.

                      E 1 Reply Last reply Reply Quote 0
                      • E Offline
                        Egnos @MMRIZE
                        last edited by

                        @MMRIZE said in MMM-GroveGestures / Python script is terminated:

                        Try 10000 or 32000.

                        I think I tried 10000 and nothing changed, I’ll try 32000

                        @MMRIZE said in MMM-GroveGestures / Python script is terminated:

                        “Too often without any gesture triggered” cases only be the issue.

                        Like in my case:

                        [04.09.2023 08:52.13.012] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 08:52.13.514] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 08:52.13.706] [LOG]   Keyboard Interrupted
                        [04.09.2023 08:52.13.707] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 08:52.14.208] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 08:52.14.414] [LOG]   [GESTURE] ORIGIN:wake-up finish.
                        [04.09.2023 08:52.14.547] [LOG]   [GESTURE] ORIGIN:Paj7620 initialize register finished.
                        [04.09.2023 09:00.23.783] [INFO]  Calendar-Fetcher: Broadcasting 12 events.
                        [04.09.2023 09:02.38.447] [LOG]   Keyboard Interrupted
                        [04.09.2023 09:02.38.448] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 09:02.38.951] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 09:02.39.143] [LOG]   Keyboard Interrupted
                        [04.09.2023 09:02.39.147] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 09:02.39.650] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 09:02.39.811] [LOG]   [GESTURE] ORIGIN:wake-up finish.
                        [04.09.2023 09:02.39.932] [LOG]   [GESTURE] ORIGIN:Paj7620 initialize register finished.
                        [04.09.2023 09:08.15.627] [LOG]   Keyboard Interrupted
                        [04.09.2023 09:08.15.629] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 09:08.16.131] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 09:08.16.345] [LOG]   Keyboard Interrupted
                        [04.09.2023 09:08.16.348] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 09:08.16.852] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 09:08.17.038] [LOG]   [GESTURE] ORIGIN:wake-up finish.
                        [04.09.2023 09:08.17.158] [LOG]   [GESTURE] ORIGIN:Paj7620 initialize register finished.
                        [04.09.2023 09:31.42.854] [LOG]   Keyboard Interrupted
                        [04.09.2023 09:31.42.859] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 09:31.43.364] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 09:31.43.517] [LOG]   [GESTURE] ORIGIN:wake-up finish.
                        [04.09.2023 09:31.43.638] [LOG]   [GESTURE] ORIGIN:Paj7620 initialize register finished.
                        [04.09.2023 10:00.24.425] [INFO]  Calendar-Fetcher: Broadcasting 12 events.
                        [04.09.2023 10:17.30.788] [LOG]   Keyboard Interrupted
                        [04.09.2023 10:17.30.792] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 10:17.31.298] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 10:17.31.451] [LOG]   Keyboard Interrupted
                        [04.09.2023 10:17.31.452] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 10:17.31.953] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 10:17.32.137] [LOG]   [GESTURE] ORIGIN:wake-up finish.
                        [04.09.2023 10:17.32.252] [LOG]   [GESTURE] ORIGIN:Paj7620 initialize register finished.
                        [04.09.2023 10:17.38.740] [LOG]   Keyboard Interrupted
                        [04.09.2023 10:17.38.741] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 10:17.39.243] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 10:17.39.462] [LOG]   Keyboard Interrupted
                        [04.09.2023 10:17.39.464] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 10:17.39.973] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 10:17.40.117] [LOG]   [GESTURE] ORIGIN:wake-up finish.
                        [04.09.2023 10:17.40.242] [LOG]   [GESTURE] ORIGIN:Paj7620 initialize register finished.
                        [04.09.2023 11:00.24.921] [INFO]  Calendar-Fetcher: Broadcasting 12 events.
                        [04.09.2023 11:09.56.054] [LOG]   Keyboard Interrupted
                        [04.09.2023 11:09.56.059] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 11:09.56.573] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 11:09.56.793] [LOG]   Keyboard Interrupted
                        [04.09.2023 11:09.56.802] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 11:09.57.364] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 11:09.57.631] [LOG]   [GESTURE] ORIGIN:wake-up finish.
                        [04.09.2023 11:09.57.754] [LOG]   [GESTURE] ORIGIN:Paj7620 initialize register finished.
                        [04.09.2023 12:00.25.300] [INFO]  Calendar-Fetcher: Broadcasting 12 events.
                        [04.09.2023 12:50.17.726] [LOG]   Keyboard Interrupted
                        [04.09.2023 12:50.17.736] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 12:50.18.243] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 12:50.18.496] [LOG]   Keyboard Interrupted
                        [04.09.2023 12:50.18.499] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 12:50.19.072] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 12:50.19.270] [LOG]   [GESTURE] ORIGIN:wake-up finish.
                        [04.09.2023 12:50.19.393] [LOG]   [GESTURE] ORIGIN:Paj7620 initialize register finished.
                        [04.09.2023 12:59.32.764] [LOG]   Keyboard Interrupted
                        [04.09.2023 12:59.32.765] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 12:59.33.269] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 12:59.33.470] [LOG]   Keyboard Interrupted
                        [04.09.2023 12:59.33.479] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 12:59.33.987] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 12:59.34.190] [LOG]   [GESTURE] ORIGIN:wake-up finish.
                        [04.09.2023 12:59.34.340] [LOG]   [GESTURE] ORIGIN:Paj7620 initialize register finished.
                        [04.09.2023 13:00.25.675] [INFO]  Calendar-Fetcher: Broadcasting 12 events.
                        [04.09.2023 13:11.28.559] [LOG]   [SPOTIFY - Daniele] Will retry in 5 seconds ...
                        [04.09.2023 13:41.29.947] [LOG]   Keyboard Interrupted
                        [04.09.2023 13:41.29.948] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 13:41.30.452] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 13:41.30.681] [LOG]   Keyboard Interrupted
                        [04.09.2023 13:41.30.686] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 13:41.31.188] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 13:41.31.384] [LOG]   [GESTURE] ORIGIN:wake-up finish.
                        [04.09.2023 13:41.31.487] [LOG]   [GESTURE] ORIGIN:Paj7620 initialize register finished.
                        [04.09.2023 14:00.26.016] [INFO]  Calendar-Fetcher: Broadcasting 12 events.
                        [04.09.2023 14:06.09.575] [LOG]   Keyboard Interrupted
                        [04.09.2023 14:06.09.576] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 14:06.10.364] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 14:06.10.574] [LOG]   Keyboard Interrupted
                        [04.09.2023 14:06.10.575] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 14:06.11.078] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 14:06.11.259] [LOG]   [GESTURE] ORIGIN:wake-up finish.
                        [04.09.2023 14:06.11.398] [LOG]   [GESTURE] ORIGIN:Paj7620 initialize register finished.
                        [04.09.2023 14:39.19.948] [LOG]   Keyboard Interrupted
                        [04.09.2023 14:39.19.957] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 14:39.20.460] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 14:39.20.983] [LOG]   Keyboard Interrupted
                        [04.09.2023 14:39.20.985] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 14:39.21.488] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 14:39.21.704] [LOG]   [GESTURE] ORIGIN:wake-up finish.
                        [04.09.2023 14:39.21.806] [LOG]   [GESTURE] ORIGIN:Paj7620 initialize register finished.
                        [04.09.2023 14:46.27.234] [LOG]   [SPOTIFY - Daniele] Will retry in 5 seconds ...
                        [04.09.2023 15:00.26.370] [INFO]  Calendar-Fetcher: Broadcasting 12 events.
                        [04.09.2023 15:42.11.128] [LOG]   Keyboard Interrupted
                        [04.09.2023 15:42.11.130] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 15:42.11.634] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 15:42.12.259] [LOG]   [GESTURE] ORIGIN:wake-up finish.
                        [04.09.2023 15:42.12.268] [LOG]   [GESTURE] ORIGIN:Paj7620 initialize register finished.
                        [04.09.2023 15:51.34.615] [LOG]   Keyboard Interrupted
                        [04.09.2023 15:51.34.616] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 15:51.35.118] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 15:51.35.314] [LOG]   Keyboard Interrupted
                        [04.09.2023 15:51.35.315] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 15:51.35.820] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 15:51.35.999] [LOG]   [GESTURE] ORIGIN:wake-up finish.
                        [04.09.2023 15:51.36.125] [LOG]   [GESTURE] ORIGIN:Paj7620 initialize register finished.
                        [04.09.2023 15:53.18.947] [LOG]   Keyboard Interrupted
                        [04.09.2023 15:53.18.950] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 15:53.19.465] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 15:53.19.733] [LOG]   Keyboard Interrupted
                        [04.09.2023 15:53.19.736] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 15:53.20.241] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 15:53.20.474] [LOG]   Keyboard Interrupted
                        [04.09.2023 15:53.20.475] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 15:53.20.980] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 15:53.21.250] [LOG]   Keyboard Interrupted
                        [04.09.2023 15:53.21.253] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 15:53.21.760] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 15:53.22.249] [LOG]   [GESTURE] ORIGIN:wake-up finish.
                        [04.09.2023 15:53.22.250] [LOG]   [GESTURE] ORIGIN:Paj7620 initialize register finished.
                        [04.09.2023 16:00.26.809] [INFO]  Calendar-Fetcher: Broadcasting 12 events.
                        [04.09.2023 16:07.05.688] [LOG]   Keyboard Interrupted
                        [04.09.2023 16:07.05.690] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 16:07.06.193] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 16:07.06.363] [LOG]   [GESTURE] ORIGIN:wake-up finish.
                        [04.09.2023 16:07.06.474] [LOG]   [GESTURE] ORIGIN:Paj7620 initialize register finished.
                        [04.09.2023 16:07.55.429] [LOG]   Keyboard Interrupted
                        [04.09.2023 16:07.55.432] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 16:07.55.935] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 16:07.56.121] [LOG]   Keyboard Interrupted
                        [04.09.2023 16:07.56.122] [LOG]   [GESTURE] Gesture script is finished.
                        [04.09.2023 16:07.56.626] [LOG]   [GESTURE] Python script is terminated. It will restart soon.
                        [04.09.2023 16:07.56.815] [LOG]   [GESTURE] ORIGIN:wake-up finish.
                        [04.09.2023 16:07.56.969] [LOG]   [GESTURE] ORIGIN:Paj7620 initialize register finished.
                        

                        My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                        M 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy