@sdetweil
I’m sorry Sam, I didn’t figure out where I have to configure the
mmFetchTimeout. Where is it located? Thanks
Read the statement by Michael Teeuw here.
Posts
-
RE: Error in the calendar module check logs for more details
-
RE: Error in the calendar module check logs for more details
@sdetweil later I’ll try. The version is the last one
-
Error in the calendar module check logs for more details
Hello,
I have a problem related to the basic calendar module.
I use the private.ics from google but sometimes it can’t fetch data.
It doesn’t happen regularly, only sometimes but this error keep me to keep the keyboard connected for use the CTRL+R function everytime it happen.
It’s annoying because I hope to forget it completely and just using MM.
I can reproduce the issue with CTRL+R, every 7/8 refreshes it happen.
I could not refresh it forever but MM turn off and on every day so… it happen.My question is: is it a normal behaviour from google or is there something I did that cause the behaviour?
I checked pihole also, thinking it could cause issues but it seem not related to it.As calendar I use the basic one and the EXT3
Here is the log, thanks
/home/MYMM/.pm2/logs/MagicMirror-error.log last 15 lines:
0|mm | }
0|mm | }
0|mm | [2025-06-24 12:47:20.521] [ERROR] Calendar Error. Could not fetch calendar: https://calendar.google.com/calendar/ical/MYCAL.ics TypeError: fetch failed
0|mm | at node:internal/deps/undici/undici:13502:13
0|mm | at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
0|mm | [cause]: AggregateError [ETIMEDOUT]:
0|mm | at internalConnectMultiple (node:net:1139:18)
0|mm | at internalConnectMultiple (node:net:1215:5)
0|mm | at Timeout.internalConnectMultipleTimeout (node:net:1739:5)
0|mm | at listOnTimeout (node:internal/timers:596:11)
0|mm | at process.processTimers (node:internal/timers:529:7) {
0|mm | code: ‘ETIMEDOUT’,
0|mm | [errors]: [ [Error], [Error] ]
0|mm | }
0|mm | } -
RE: [ERROR] _ is not defined
@rkorell Again, thank you Sam.
I know what you mean, I usually act as you said.
I like to help other, in the subject where I have knowledge.
So, thank you again -
RE: [ERROR] _ is not defined
@sdetweil Ok but I wanna just offer a coffe for your kind and your time spent with that.
Do you suggest me to fix the old magic mirror folder or just rm it?
-
RE: [ERROR] _ is not defined
@sdetweil
Sam… I don’t know how to saying it.
I figure out the issue.After your last message I tried what you suggest.
With the default cfg I had no errors, with mine I had errors.So I checked again and again the config…
and I find an underscore _ right at the start of the confignpm config:check told me “no syntax errors” and that confusing me.
When I edit it I use nano editor
I do “sudo nano config.js” and I press CTRL + _ to jump at the 250 line.
Might be one of the latest time I opened it and press _ a bit faster than CTRL and I add it for error.In addition I notice that when I open config.js with nano editor the green cursor is, clearly, at the start of the first line… EXACTLY on the undescore _ and it hides it.
I’m really sorry for bothering you with that.
How can I buy you a coffee ?
Thanks -
RE: [ERROR] _ is not defined
That’s incredible… I did it, everything goes good… no issues but when I start it
npm start
magicmirror@2.31.0 start
npm run start:x11magicmirror@2.31.0 start:x11
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[2025-05-11 22:44:21.593] [LOG] Starting MagicMirror: v2.31.0
[2025-05-11 22:44:21.682] [LOG] Loading config …
[2025-05-11 22:44:21.687] [LOG] config template file not exists, no envsubst
[2025-05-11 22:44:23.250] [INFO] Checking config file /home/MYMIRR/MagicMirror/config/config.js …
[2025-05-11 22:44:23.532] [INFO] Your configuration file doesn’t contain syntax errors :)
[2025-05-11 22:44:23.535] [INFO] Checking modules structure configuration …
[2025-05-11 22:44:23.824] [ERROR] _ is not definedAgain this _ is not defined
-
RE: [ERROR] _ is not defined
@sdetweil
Before writing here I made backups, locally and on github, like you taught me in the past :)Now I’ll try
-
RE: [ERROR] _ is not defined
@sdetweil
I’m sure.I don’t think SolarPicture could be the problem.Yes, the error keep showing
-
RE: [ERROR] _ is not defined
installer didn’t failed, but this is the result now
npm install
magicmirror@2.31.0 postinstall
npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully!
"magicmirror@2.31.0 install-vendor
echo "Installing vendor files …
" && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifierInstalling vendor files …
up to date in 7s
magicmirror@2.31.0 install-fonts
echo "Installing fonts …
" && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifierInstalling fonts …
up to date in 3s
MagicMirror² installation finished successfully!magicmirror@2.31.0 prepare
[ -f node_modules/.bin/husky ] && husky || echo no husky installed.up to date in 45s
285 packages are looking for funding
runnpm fundfor details