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.

    Compliments module has stopped working

    Scheduled Pinned Locked Moved Solved Troubleshooting
    16 Posts 2 Posters 893 Views 2 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.
    • S Offline
      sdetweil @geekhouri
      last edited by

      @geekhouri said in Compliments module has stopped working:

      0|mm | [24.01.2024 01:29.00.569] [ERROR] WARNING! Could not validate confi g file. Starting with default configuration. Please correct syntax errors at or above this line: /home/gkhouri/MagicMirror/config/config.js:68
      0|mm | config: {
      0|mm | ^^^^^^
      0|mm |
      0|mm | SyntaxError: Unexpected identifier ‘config’

      I can only assume you haven’t saved the updated config… (I do that sometimes…oops)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      G 1 Reply Last reply Reply Quote 0
      • G Offline
        geekhouri @sdetweil
        last edited by

        @sdetweil thanks again. Saved the file, flushed the logs rebooted and new log is below no new errrors and i think you previously stated the errors below cant be hidden. . Still no Compliments working (i’m at a loss now)

        0|mm       | Warning: vkCreateInstance: Found no drivers!
        0|mm       | Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
        0|mm       |     at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/v                                                                                                                                                                                                                                             ulkan/VulkanError.cpp:88)
        0|mm       |     at CreateVkInstance (../../third_party/dawn/src/dawn/native/vul                                                                                                                                                                                                                                             kan/BackendVk.cpp:458)
        0|mm       |     at Initialize (../../third_party/dawn/src/dawn/native/vulkan/Ba                                                                                                                                                                                                                                             ckendVk.cpp:344)
        0|mm       |     at Create (../../third_party/dawn/src/dawn/native/vulkan/Backen                                                                                                                                                                                                                                             dVk.cpp:266)
        0|mm       |     at operator() (../../third_party/dawn/src/dawn/native/vulkan/Ba                                                                                                                                                                                                                                             ckendVk.cpp:521)
        0|mm       |
        
        
        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @geekhouri
          last edited by

          @geekhouri ok, lets stop using pm2…

          pm2 stop all

          then
          cd ~/MagicMirror
          npm start

          wait

          if you are doing this on the MM screen
          ctrl-q to stop mm (with pm2, it would restart it immediately… thats is job)

          so, see anything in the output??

          I used your config and it worked (on v2.26) without any issues

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          G 1 Reply Last reply Reply Quote 0
          • G Offline
            geekhouri @sdetweil
            last edited by

            @sdetweil followed instructions however do not see anything in the output as below:

            > magicmirror@2.26.0 start
            > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
            
            [24.01.2024 12:20.55.171] [LOG]   Starting MagicMirror: v2.26.0
            [24.01.2024 12:20.55.183] [LOG]   Loading config ...
            [24.01.2024 12:20.55.193] [DEBUG] config template file not exists, no envsubst
            [24.01.2024 12:20.55.205] [LOG]   Loading module helpers ...
            [24.01.2024 12:20.55.209] [LOG]   No helper found for module: alert.
            [24.01.2024 12:20.55.213] [LOG]   No helper found for module: clock.
            [24.01.2024 12:20.55.689] [LOG]   Initializing new module helper ...
            [24.01.2024 12:20.55.690] [LOG]   Module helper loaded: calendar
            [24.01.2024 12:20.55.694] [LOG]   No helper found for module: compliments.
            [24.01.2024 12:20.56.724] [LOG]   Initializing new module helper ...
            [24.01.2024 12:20.56.726] [LOG]   Module helper loaded: MMM-DailyBibleVerse
            [24.01.2024 12:20.56.857] [LOG]   Initializing new module helper ...
            [24.01.2024 12:20.56.858] [LOG]   Module helper loaded: MMM-OpenWeatherMapForeca                                                                                                                                                                                                                                             st
            [24.01.2024 12:20.56.862] [LOG]   No helper found for module: MMM-GoogleTrafficT                                                                                                                                                                                                                                             imes.
            [24.01.2024 12:20.57.729] [LOG]   Initializing new module helper ...
            [24.01.2024 12:20.57.730] [LOG]   Module helper loaded: MMM-WordOfTheDay
            [24.01.2024 12:20.57.736] [LOG]   Initializing new module helper ...
            [24.01.2024 12:20.57.737] [LOG]   Module helper loaded: MMM-GoogleSheets
            [24.01.2024 12:20.58.082] [LOG]   Initializing new module helper ...
            [24.01.2024 12:20.58.083] [LOG]   Module helper loaded: newsfeed
            [24.01.2024 12:20.58.084] [LOG]   All module helpers loaded.
            [24.01.2024 12:20.58.102] [LOG]   Starting server on port 8080 ...
            [24.01.2024 12:20.58.926] [LOG]   Server started ...
            [24.01.2024 12:20.58.929] [LOG]   Connecting socket for: calendar
            [24.01.2024 12:20.58.930] [LOG]   Starting node helper for: calendar
            [24.01.2024 12:20.58.932] [LOG]   Connecting socket for: MMM-DailyBibleVerse
            [24.01.2024 12:20.58.933] [LOG]   Started node_helper.js for MMM-DailyBibleVerse                                                                                                                                                                                                                                             .
            [24.01.2024 12:20.58.934] [LOG]   Connecting socket for: MMM-OpenWeatherMapForec                                                                                                                                                                                                                                             ast
            [24.01.2024 12:20.58.936] [LOG]   ====================== Starting node_helper fo                                                                                                                                                                                                                                             r module [MMM-OpenWeatherMapForecast]
            [24.01.2024 12:20.58.937] [LOG]   Connecting socket for: MMM-WordOfTheDay
            [24.01.2024 12:20.58.938] [LOG]   Starting module helper: MMM-WordOfTheDay
            [24.01.2024 12:20.58.939] [LOG]   Connecting socket for: MMM-GoogleSheets
            [24.01.2024 12:20.58.940] [LOG]   ====================== Starting node_helper fo                                                                                                                                                                                                                                             r module [MMM-GoogleSheets]
            [24.01.2024 12:20.58.941] [LOG]   Connecting socket for: newsfeed
            [24.01.2024 12:20.58.942] [LOG]   Starting node helper for: newsfeed
            [24.01.2024 12:20.58.944] [LOG]   Sockets connected & modules started ...
            [24.01.2024 12:20.59.084] [LOG]   Launching application.
            [24.01.2024 12:21.06.600] [LOG]   Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/%40gmail.com/public/basic.ics - Interval: 604800000
            [24.01.2024 12:21.07.000] [LOG]   MMM-DailyBibleVerse node helper received a socket notification: START - Payload: NIV
            [24.01.2024 12:21.07.031] [LOG]   Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
            [24.01.2024 12:21.07.046] [LOG]   Create new newsfetcher for url: https://www.9news.com.au/rss - Interval: 300000
            [24.01.2024 12:21.07.054] [LOG]   Create new newsfetcher for url: https://www.smh.com.au/rss/feed.xml - Interval: 300000
            [24.01.2024 12:21.08.318] [INFO]  Newsfeed-Fetcher: Broadcasting 17 items.
            [24.01.2024 12:21.08.380] [LOG]   {"votd":{"text":"“If any of you lacks wisdom, you should ask God, who gives generously to all without finding fault, and it will be given to you.”","content":"If any of you lacks wisdom, you should ask God, who gives generously to all without finding fault, and it will be given to you.","display_ref":"James 1:5","reference":"James 1:5","permalink":"https:\/\/www.biblegateway.com\/passage\/?search=James%201:5&version=NIV","copyright":" ","copyrightlink":"https:\/\/www.biblegateway.com\/versions\/index.php?action=getVersionInfo&vid=31&lang=2","audiolink":"https:\/\/www.biblegateway.com\/audio\/mclean\/niv\/Jas.1.5","day":"23","month":"01","year":"2024","version":"New International Version","version_id":"NIV","merchandising":""}}
            [24.01.2024 12:21.09.117] [INFO]  Newsfeed-Fetcher: Broadcasting 22 items.
            [24.01.2024 12:21.09.136] [INFO]  Newsfeed-Fetcher: Broadcasting 20 items.
            [24.01.2024 12:21.11.958] [INFO]  Calendar-Fetcher: Broadcasting 51 events from https://calendar.google.com/calendar/ical/%40gmail.com/public/basic.ics.
            Warning: vkCreateInstance: Found no drivers!
            Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
                at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
                at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
                at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
                at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
                at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)
            

            Can i reinstall the compliments module?

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

              @geekhouri do

              cd ~/MagicMirror
              git checkout modules/default/compliments/compliments.js
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              G 1 Reply Last reply Reply Quote 0
              • G Offline
                geekhouri @sdetweil
                last edited by

                @sdetweil said in Compliments module has stopped working:

                git checkout modules/default/compliments/compliments.js

                And that has fixed it… very strange. Thanks @sdetweil

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

                  @geekhouri glad you got it fixed

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 1 / 2
                  • 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