@sdetweil
Thx for this information,
but I’ve already done that.
You may remember the other issue where the calendar wasn’t showing and I was able to fix it with that.
It seems to be a problem with Google
@sdetweil
Thx for this information,
but I’ve already done that.
You may remember the other issue where the calendar wasn’t showing and I was able to fix it with that.
It seems to be a problem with Google
@sdetweil
OK
Thought that the author also had the problem and here has a solution for everyone who wants to use the module
module MMM-GoogleSheets has an error in google
TypeError: Cannot read property '0' of undefined (Zeile 11, Datei "Code")
has anybody the same problem and fix it?
Hi @all,
MMM-GoogleSheets not running,
i do all of step1 in the readme, but the module is not running.
all other modules after that will not be loaded.
This message displayed in Chrome
TypeError: Cannot read property '0' of undefined (Zeile 11, Datei "Code")
It seems to be a problem with Google, right? Can someone help
[TAILING] Tailing last 50 lines for [all] processes (change the value with --lines option)
/home/pi/.pm2/pm2.log last 50 lines:
PM2 | 2022-04-30T18:34:18: PM2 log: ===============================================================================
PM2 | 2022-04-30T18:34:18: PM2 log: --- New PM2 Daemon started ----------------------------------------------------
PM2 | 2022-04-30T18:34:18: PM2 log: Time : Sat Apr 30 2022 18:34:18 GMT+0200 (Mitteleuropäische Sommerzeit)
PM2 | 2022-04-30T18:34:18: PM2 log: PM2 version : 5.2.0
PM2 | 2022-04-30T18:34:18: PM2 log: Node.js version : 16.15.0
PM2 | 2022-04-30T18:34:18: PM2 log: Current arch : arm
PM2 | 2022-04-30T18:34:18: PM2 log: PM2 home : /home/pi/.pm2
PM2 | 2022-04-30T18:34:18: PM2 log: PM2 PID file : /home/pi/.pm2/pm2.pid
PM2 | 2022-04-30T18:34:18: PM2 log: RPC socket file : /home/pi/.pm2/rpc.sock
PM2 | 2022-04-30T18:34:18: PM2 log: BUS socket file : /home/pi/.pm2/pub.sock
PM2 | 2022-04-30T18:34:18: PM2 log: Application log path : /home/pi/.pm2/logs
PM2 | 2022-04-30T18:34:18: PM2 log: Worker Interval : 30000
PM2 | 2022-04-30T18:34:18: PM2 log: Process dump file : /home/pi/.pm2/dump.pm2
PM2 | 2022-04-30T18:34:18: PM2 log: Concurrent actions : 2
PM2 | 2022-04-30T18:34:18: PM2 log: SIGTERM timeout : 1600
PM2 | 2022-04-30T18:34:18: PM2 log: ===============================================================================
PM2 | 2022-04-30T18:34:18: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-04-30T18:34:18: PM2 log: App [MagicMirror:0] online
PM2 | 2022-04-30T18:39:52: PM2 log: Stopping app:MagicMirror id:0
PM2 | 2022-04-30T18:39:53: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-04-30T18:39:53: PM2 log: pid=1014 msg=process killed
PM2 | 2022-04-30T18:45:45: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-04-30T18:45:45: PM2 log: App [MagicMirror:0] online
PM2 | 2022-04-30T19:43:43: PM2 log: Stopping app:MagicMirror id:0
PM2 | 2022-04-30T19:43:43: PM2 log: pid=1859 msg=failed to kill - retrying in 100ms
PM2 | 2022-04-30T19:43:43: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-04-30T19:43:43: PM2 log: pid=1859 msg=process killed
PM2 | 2022-04-30T19:44:27: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-04-30T19:44:27: PM2 log: App [MagicMirror:0] online
PM2 | 2022-04-30T19:44:47: PM2 log: Stopping app:MagicMirror id:0
PM2 | 2022-04-30T19:44:47: PM2 log: pid=2586 msg=failed to kill - retrying in 100ms
PM2 | 2022-04-30T19:44:47: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-04-30T19:44:48: PM2 log: pid=2586 msg=process killed
PM2 | 2022-04-30T19:56:10: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-04-30T19:56:10: PM2 log: App [MagicMirror:0] online
PM2 | 2022-04-30T19:56:37: PM2 log: Stopping app:MagicMirror id:0
PM2 | 2022-04-30T19:56:37: PM2 log: pid=2916 msg=failed to kill - retrying in 100ms
PM2 | 2022-04-30T19:56:37: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-04-30T19:56:37: PM2 log: pid=2916 msg=process killed
PM2 | 2022-04-30T19:57:51: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-04-30T19:57:51: PM2 log: App [MagicMirror:0] online
PM2 | 2022-04-30T19:58:23: PM2 log: Stopping app:MagicMirror id:0
PM2 | 2022-04-30T19:58:24: PM2 log: pid=3093 msg=failed to kill - retrying in 100ms
PM2 | 2022-04-30T19:58:24: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-04-30T19:58:24: PM2 log: pid=3093 msg=process killed
PM2 | 2022-04-30T19:58:51: PM2 log: App [MagicMirror:0] starting in -fork mode-
PM2 | 2022-04-30T19:58:51: PM2 log: App [MagicMirror:0] online
PM2 | 2022-04-30T19:59:06: PM2 log: Stopping app:MagicMirror id:0
PM2 | 2022-04-30T19:59:06: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-04-30T19:59:06: PM2 log: pid=3291 msg=process killed
/home/pi/.pm2/logs/MagicMirror-out.log last 50 lines:
0|MagicMir | [30.04.2022 19:57.55.534] [LOG] Initializing new module helper ...
0|MagicMir | [30.04.2022 19:57.55.536] [LOG] Module helper loaded: MMM-bsh-tides
0|MagicMir | [30.04.2022 19:57.55.788] [LOG] Initializing new module helper ...
0|MagicMir | [30.04.2022 19:57.55.790] [LOG] Module helper loaded: calendar
0|MagicMir | [30.04.2022 19:57.55.792] [LOG] No helper found for module: MMM-OpenmapWeather.
0|MagicMir | [30.04.2022 19:57.55.912] [LOG] Initializing new module helper ...
0|MagicMir | [30.04.2022 19:57.55.913] [LOG] Module helper loaded: MMM-OpenWeatherForecast
0|MagicMir | [30.04.2022 19:57.56.208] [LOG] Initializing new module helper ...
0|MagicMir | [30.04.2022 19:57.56.209] [LOG] Module helper loaded: MMM-CalendarExt2
0|MagicMir | [30.04.2022 19:57.56.210] [LOG] All module helpers loaded.
0|MagicMir | [30.04.2022 19:57.56.379] [LOG] Starting server on port 8080 ...
0|MagicMir | [30.04.2022 19:57.56.406] [LOG] Server started ...
0|MagicMir | [30.04.2022 19:57.56.408] [LOG] Connecting socket for: updatenotification
0|MagicMir | [30.04.2022 19:57.56.409] [LOG] Starting module helper: updatenotification
0|MagicMir | [30.04.2022 19:57.56.418] [LOG] Connecting socket for: MMM-bsh-tides
0|MagicMir | [30.04.2022 19:57.56.419] [LOG] Starting module helper: MMM-bsh-tides
0|MagicMir | [30.04.2022 19:57.56.421] [LOG] Connecting socket for: calendar
0|MagicMir | [30.04.2022 19:57.56.422] [LOG] Starting node helper for: calendar
0|MagicMir | [30.04.2022 19:57.56.423] [LOG] Connecting socket for: MMM-OpenWeatherForecast
0|MagicMir | [30.04.2022 19:57.56.425] [LOG] ====================== Starting node_helper for module [MMM-OpenWeatherForecast]
0|MagicMir | [30.04.2022 19:57.56.427] [LOG] Connecting socket for: MMM-CalendarExt2
0|MagicMir | [30.04.2022 19:57.56.428] [LOG] Sockets connected & modules started ...
0|MagicMir | [30.04.2022 19:57.56.847] [LOG] Launching application.
0|MagicMir | [30.04.2022 19:58.01.548] [LOG] Create new calendarfetcher for url: https://outlook.office365.com/owa/calendar/......................../calendar.ics - Interval: 300000
0|MagicMir | [30.04.2022 19:58.02.351] [INFO] Calendar-Fetcher: Broadcasting 21 events.
0|MagicMir |
0|MagicMir | > magicmirror@2.19.0 start
0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
0|MagicMir |
0|MagicMir | [30.04.2022 19:58.55.121] [LOG] Starting MagicMirror: v2.19.0
0|MagicMir | [30.04.2022 19:58.55.133] [LOG] Loading config ...
0|MagicMir | [30.04.2022 19:58.55.144] [LOG] Loading module helpers ...
0|MagicMir | [30.04.2022 19:58.55.158] [LOG] No helper found for module: alert.
0|MagicMir | [30.04.2022 19:58.55.187] [LOG] Initializing new module helper ...
0|MagicMir | [30.04.2022 19:58.55.190] [LOG] Module helper loaded: updatenotification
0|MagicMir | [30.04.2022 19:58.55.193] [LOG] No helper found for module: clock.
0|MagicMir | [30.04.2022 19:58.55.231] [LOG] Initializing new module helper ...
0|MagicMir | [30.04.2022 19:58.55.233] [LOG] Module helper loaded: MMM-bsh-tides
0|MagicMir | [30.04.2022 19:58.55.479] [LOG] Initializing new module helper ...
0|MagicMir | [30.04.2022 19:58.55.481] [LOG] Module helper loaded: calendar
0|MagicMir | [30.04.2022 19:58.55.509] [LOG] Loading module helpers ...
0|MagicMir | [30.04.2022 19:58.55.511] [LOG] No helper found for module: alert.
0|MagicMir | [30.04.2022 19:58.55.513] [LOG] Initializing new module helper ...
0|MagicMir | [30.04.2022 19:58.55.514] [LOG] Module helper loaded: updatenotification
0|MagicMir | [30.04.2022 19:58.55.516] [LOG] No helper found for module: clock.
0|MagicMir | [30.04.2022 19:58.55.518] [LOG] Initializing new module helper ...
0|MagicMir | [30.04.2022 19:58.55.519] [LOG] Module helper loaded: MMM-bsh-tides
0|MagicMir | [30.04.2022 19:58.55.520] [LOG] Initializing new module helper ...
0|MagicMir | [30.04.2022 19:58.55.521] [LOG] Module helper loaded: calendar
0|MagicMir | [30.04.2022 19:58.55.962] [LOG] Launching application.
/home/pi/.pm2/logs/MagicMirror-error.log last 50 lines:
0|MagicMir | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
0|MagicMir | -
0|MagicMir | at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
0|MagicMir | at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1105)
0|MagicMir | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
0|MagicMir | at Module._load (node:internal/modules/cjs/loader:785:27)
0|MagicMir | at Function.c._load (node:electron/js2c/asar_bundle:5:13343)
0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19)
0|MagicMir | at require (node:internal/modules/cjs/helpers:102:18)
0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js:2:15)
0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14)
0|MagicMir | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10)
0|MagicMir | [30.04.2022 19:58.55.535] [ERROR] Whoops! There was an uncaught exception...
0|MagicMir | [30.04.2022 19:58.55.546] [ERROR] Error: Cannot find module 'request'
0|MagicMir | Require stack:
0|MagicMir | - /home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js
0|MagicMir | - /home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/index.js
0|MagicMir | - /home/pi/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js
0|MagicMir | - /home/pi/MagicMirror/modules/MMM-MyCalendar/node_helper.js
0|MagicMir | - /home/pi/MagicMirror/js/app.js
0|MagicMir | - /home/pi/MagicMirror/js/electron.js
0|MagicMir | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
0|MagicMir | -
0|MagicMir | at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
0|MagicMir | at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1105)
0|MagicMir | at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
0|MagicMir | at Module._load (node:internal/modules/cjs/loader:785:27)
0|MagicMir | at Function.c._load (node:electron/js2c/asar_bundle:5:13343)
0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19)
0|MagicMir | at require (node:internal/modules/cjs/helpers:102:18)
0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js:2:15)
0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14)
0|MagicMir | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) {
0|MagicMir | code: 'MODULE_NOT_FOUND',
0|MagicMir | requireStack: [
0|MagicMir | '/home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/node-ical.js',
0|MagicMir | '/home/pi/MagicMirror/modules/MMM-MyCalendar/vendor/ical.js/index.js',
0|MagicMir | '/home/pi/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js',
0|MagicMir | '/home/pi/MagicMirror/modules/MMM-MyCalendar/node_helper.js',
0|MagicMir | '/home/pi/MagicMirror/js/app.js',
0|MagicMir | '/home/pi/MagicMirror/js/electron.js',
0|MagicMir | '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
0|MagicMir | undefined
0|MagicMir | ]
0|MagicMir | }
0|MagicMir | [30.04.2022 19:58.55.549] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMir | [30.04.2022 19:58.55.550] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|MagicMir | [3346:0430/195856.732859:ERROR:viz_main_impl.cc(188)] Exiting GPU process due to errors during initialization
0|MagicMir | [3376:0430/195856.878771:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
0|MagicMir | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT