Solved After mirror update i get errors
-
Hi,
Can any one help with this, after doing the magic mirror update i got alot of errors i have fixed most of them i think but i still get errors for MMM-MyCalendar and MMM-SystemStats if i code them out in the config the magic mirror will start fine without these modules but when i code the back in the config i get theses errors and the mirror wont start.
magicmirror@2.25.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[31.10.2023 13:40.35.700] [LOG] Starting MagicMirror: v2.25.0
[31.10.2023 13:40.35.706] [LOG] Loading config …
[31.10.2023 13:40.35.708] [DEBUG] config template file not exists, no envsubst
[31.10.2023 13:40.35.714] [LOG] Loading module helpers …
[31.10.2023 13:40.35.716] [LOG] No helper found for module: alert.
[31.10.2023 13:40.35.717] [WARN] No /home/pi/MagicMirror/js/…/modules/currentweather/currentweather.js found for module: currentweather.
[31.10.2023 13:40.35.717] [LOG] No helper found for module: currentweather.
[31.10.2023 13:40.35.718] [LOG] No helper found for module: compliments.
[31.10.2023 13:40.35.748] [LOG] Initializing new module helper …
[31.10.2023 13:40.35.749] [LOG] Module helper loaded: updatenotification
[31.10.2023 13:40.35.751] [LOG] No helper found for module: clock.
[31.10.2023 13:40.35.884] [LOG] Initializing new module helper …
[31.10.2023 13:40.35.885] [LOG] Module helper loaded: newsfeed
[31.10.2023 13:40.36.072] [ERROR] (node:2860) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘fetch’
Require stack:- /home/pi/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js
- /home/pi/MagicMirror/modules/MMM-MyCalendar/node_helper.js
- /home/pi/MagicMirror/js/app.js
- /home/pi/MagicMirror/js/electron.js
- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
- at node:internal/modules/cjs/loader:1084:15
at Function.<anonymous> (node:electron/js2c/browser_init:2:117419)
at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at node:internal/modules/cjs/loader:929:27
at Function._load (node:electron/js2c/asar_bundle:2:13327)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-MyCalendar/calendarfetcher.js:11:15)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
at Object…js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/asar_bundle:2:13327)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-MyCalendar/node_helper.js:8:25)
(Useelectron --trace-warnings ...
to show where the warning was created)
[31.10.2023 13:40.36.073] [ERROR] (node:2860) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
[2860:1031/134036.351606:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.portal.Error.NotFound: Requested setting not found
WARNING: v3dv is neither a complete nor a conformant Vulkan implementation. Testing use only.
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
failed to load swrast driver
Thats with MMM-Calendar coded in the config.
And this one is when i coded in MMM-SystemStats.
magicmirror@2.25.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[31.10.2023 14:04.40.079] [LOG] Starting MagicMirror: v2.25.0
[31.10.2023 14:04.40.084] [LOG] Loading config …
[31.10.2023 14:04.40.087] [DEBUG] config template file not exists, no envsubst
[31.10.2023 14:04.40.092] [LOG] Loading module helpers …
[31.10.2023 14:04.40.094] [LOG] No helper found for module: alert.
[31.10.2023 14:04.40.095] [WARN] No /home/pi/MagicMirror/js/…/modules/currentweather/currentweather.js found for module: currentweather.
[31.10.2023 14:04.40.096] [LOG] No helper found for module: currentweather.
[31.10.2023 14:04.40.096] [LOG] No helper found for module: compliments.
[31.10.2023 14:04.40.126] [LOG] Initializing new module helper …
[31.10.2023 14:04.40.128] [LOG] Module helper loaded: updatenotification
[31.10.2023 14:04.40.129] [LOG] No helper found for module: clock.
[31.10.2023 14:04.40.251] [LOG] Initializing new module helper …
[31.10.2023 14:04.40.251] [LOG] Module helper loaded: newsfeed
[31.10.2023 14:04.40.256] [LOG] Initializing new module helper …
[31.10.2023 14:04.40.257] [LOG] Module helper loaded: MMM-SmartTouch
[31.10.2023 14:04.40.326] [LOG] Initializing new module helper …
[31.10.2023 14:04.40.326] [LOG] Module helper loaded: MMM-OpenWeatherMapForecast
[31.10.2023 14:04.40.359] [LOG] Initializing new module helper …
[31.10.2023 14:04.40.359] [LOG] Module helper loaded: MMM-MyWastePickup
[31.10.2023 14:04.40.389] [ERROR] (node:3004) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘request’
Require stack:- /home/pi/MagicMirror/modules/MMM-SystemStats/node_helper.js
- /home/pi/MagicMirror/js/app.js
- /home/pi/MagicMirror/js/electron.js
- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
- at node:internal/modules/cjs/loader:1084:15
at Function.<anonymous> (node:electron/js2c/browser_init:2:117419)
at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at node:internal/modules/cjs/loader:929:27
at Function._load (node:electron/js2c/asar_bundle:2:13327)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-SystemStats/node_helper.js:13:15)
at Module._compile (node:internal/modules/cjs/loader:1271:14)
at Object…js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at node:internal/modules/cjs/loader:967:12
at Function._load (node:electron/js2c/asar_bundle:2:13327)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at require (node:internal/modules/cjs/helpers:110:18)
at loadModule (/home/pi/MagicMirror/js/app.js:180:19)
(Useelectron --trace-warnings ...
to show where the warning was created)
[31.10.2023 14:04.40.390] [ERROR] (node:3004) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
[3004:1031/140440.675703:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.portal.Error.NotFound: Requested setting not found
WARNING: v3dv is neither a complete nor a conformant Vulkan implementation. Testing use only.
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/arm-linux-gnueabihf/dri:$${ORIGIN}/dri:/usr/lib/dri)
failed to load swrast driver
Thank you
-
Are you really sure that is related to
MMM-GoogleAssistant
? -
Hi Bugsounet,
No I’m not sure, just seeing if anyone can help?
Thank you
-
Just read what you past…
-
[31.10.2023 14:04.40.389] [ERROR] (node:3004) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘request’
Require stack:
/home/pi/MagicMirror/modules/MMM-SystemStats/node_helper.jsopen an issue in this module
-
bugsounet