Read the statement by Michael Teeuw here.
magicmirror is blocked after 30 sec
-
@boyboy said in magicmirror is blocked after 30 sec:
But clock still block after 30 sec
right, because that was just a useless warning…
-
can u show the messages from the terminal window where you do npm start?
npm start >somefile
then post somefile
as it seems the other modules are having trouble -
magicmirror@2.12.0 start /home/pi/MagicMirror
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[2020-09-14 16:12:50.092] [LOG] Starting MagicMirror: v2.12.0
[2020-09-14 16:12:50.106] [LOG] Loading config …
[2020-09-14 16:12:50.120] [LOG] Loading module helpers …
[2020-09-14 16:12:50.124] [LOG] No helper found for module: alert.
[2020-09-14 16:12:50.218] [LOG] Initializing new module helper …
[2020-09-14 16:12:50.219] [LOG] Module helper loaded: updatenotification
[2020-09-14 16:12:50.221] [LOG] No helper found for module: clock.
[2020-09-14 16:12:50.977] [LOG] Initializing new module helper …
[2020-09-14 16:12:50.978] [LOG] Module helper loaded: calendar
[2020-09-14 16:12:50.979] [LOG] No helper found for module: compliments.
[2020-09-14 16:12:50.981] [LOG] No helper found for module: currentweather.
[2020-09-14 16:12:50.982] [LOG] No helper found for module: MMM-AirQuality.
[2020-09-14 16:12:50.987] [LOG] Initializing new module helper …
[2020-09-14 16:12:50.988] [LOG] Module helper loaded: MMM-Todoist
[2020-09-14 16:12:50.989] [LOG] All module helpers loaded.
[2020-09-14 16:12:51.200] [LOG] Starting server on port 8080 …
[2020-09-14 16:12:51.227] [LOG] Server started …
[2020-09-14 16:12:51.228] [LOG] Connecting socket for: updatenotification
[2020-09-14 16:12:51.231] [LOG] Connecting socket for: calendar
[2020-09-14 16:12:51.233] [LOG] Starting node helper for: calendar
[2020-09-14 16:12:51.234] [LOG] Connecting socket for: MMM-Todoist
[2020-09-14 16:12:51.235] [LOG] Starting node helper for: MMM-Todoist
[2020-09-14 16:12:51.236] [LOG] Sockets connected & modules started …
[2020-09-14 16:12:51.387] [LOG] Launching application.
[2020-09-14 16:12:54.429] [LOG] Create new calendar fetcher for url: http://localhost:8080/modules/calendars/****.ics - Interval: 300000
[2020-09-14 16:12:54.442] [LOG] Create new calendar fetcher for url: http://localhost:8080/modules/*****.ics - Interval: 300000
[2020-09-14 16:12:54.514] [INFO] Checking git for module: MMM-AirQuality
[2020-09-14 16:12:54.556] [INFO] Checking git for module: MMM-Todoist
[2020-09-14 16:12:54.896] [INFO] Calendar-Fetcher: Broadcasting 7 events.
[2020-09-14 16:12:54.920] [INFO] Calendar-Fetcher: Broadcasting 1 events. -
I have disabled all modules in config.js and the clock is not blocking.
I will reactivate the modules one by one to identify the failure -
@boyboy ok… I would start by disabling one added module at a time
just add
module: ?????, disabled: true, // < ---- add this line to each module, then don't have to comment out ....
-
yes i did it.
i solved the problem
I found the fault in the compliment module.
On compliments.js file
I wrote :compliments: { anytime: [], morning: [], afternoon: [], evening: [], "....-01-01": ["Happy new year!"], "....-09-14": ["Happy birthday !"]
then adding “”
compliments: { anytime: [""], morning: [""], afternoon: [""], evening: [""], "....-01-01": ["Happy new year!"], "....-09-14": ["Happy birthday !"]
the update interval is every 30 sec, that’s why it blocked.
Thanks you for your help @sdetweil