I setup the Newsfeed module and I get the message “Error in the Newsfeed module. Check logs for more detail.” Which logs do I check?
Read the statement by Michael Teeuw here.
Posts
-
Where do I find the Logs?
-
MagicMirror won't load.
I tried to upgrade MagicMirror earlier but then MagicMirror would not load. No black screen, just never opening. So I did a fresh install of Raspberry Pi OS and Magic Mirror.
I am using a Raspberry Pi 4 with Raspberry Pi OS 64-bit. Everything was working so I went ahead and installed some modules and copied over my config and CSS files. Now it won’t load again. I have tried using pm2 start mm.sh (I set up the mm.sh as per the MM documentation). I have also tried pm2 start mm.sh. Terminal gives my no errors, it looks like MM is loading, but MagicMirror doesn’t load.My pm2 mm-error log file has this message:
[02.12.2023 18:33.47.262] [ERROR] (node:1232) UnhandledPromiseRejectionWarning: Error: Cannot find module 'node-fetch' Require stack: - /home/pi/MagicMirror/modules/MMM-OneTracker/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-OneTracker/node_helper.js:10: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) at loadModules (/home/pi/MagicMirror/js/app.js:210:10) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async App.start (/home/pi/MagicMirror/js/app.js:258:3) (Use `electron --trace-warnings ...` to show where the warning was created) [02.12.2023 18:33.47.264] [ERROR] (node:1232) 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) [1947:1202/183350.594642:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [1947:1202/183350.595113:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [1947:1202/183350.595532:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [1947:1202/183350.595918:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [1947:1202/183350.596287:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [1947:1202/183350.610727:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [1947:1202/183350.611149:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [1947:1202/183350.613660:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [1947:1202/183350.622792:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [1947:1202/183350.623222:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [1947:1202/183350.623582:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [1947:1202/183350.623993:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [1947:1202/183350.624373:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2) [1947:1202/183350.624748:ERROR:gbm_wrapper.cc(253)] Failed to export buffer to dma_buf: No such file or directory (2)If I run pm2 info mm I get this info
Describing process with id 0 - name mm ┌───────────────────┬─────────────────────────────────┐ │ status │ online │ │ name │ mm │ │ namespace │ default │ │ version │ N/A │ │ restarts │ 0 │ │ uptime │ 7m │ │ script path │ /home/pi/mm.sh │ │ script args │ N/A │ │ error log path │ /home/pi/.pm2/logs/mm-error.log │ │ out log path │ /home/pi/.pm2/logs/mm-out.log │ │ pid path │ /home/pi/.pm2/pids/mm-0.pid │ │ interpreter │ bash │ │ interpreter args │ N/A │ │ script id │ 0 │ │ exec cwd │ /home/pi │ │ exec mode │ fork_mode │ │ node.js version │ N/A │ │ node env │ N/A │ │ watch & reload │ ✘ │ │ unstable restarts │ 0 │ │ created at │ 2023-12-02T23:30:45.763Z │ └───────────────────┴─────────────────────────────────┘ Divergent env variables from local env ┌────────────────┬──────────────────────┐ │ SSH_CONNECTION │ 10.0.0.79 52375 10.0 │ │ SSH_CLIENT │ 10.0.0.79 52375 22 │ └────────────────┴──────────────────────┘ Add your own code metrics: http://bit.ly/code-metrics Use `pm2 logs mm [--lines 1000]` to display logs Use `pm2 env 0` to display environment variables Use `pm2 monit` to monitor CPU and Memory usage mmI am not sure what to do to fix this. I have been trying to figure it out for over 6 hours and have no answers. Any help is appreciated.
-
RE: Black Screen after installing fonts-noto-color-emoji
Ok I am going to try a new install on my raspberry pi 4, instead of the 3B I have been using.
-
RE: Black Screen after installing fonts-noto-color-emoji
I think it’s a GPU issue. Could it have been a bad install of the os? Should I reinstall?
-
RE: Black Screen after installing fonts-noto-color-emoji
@sdetweil I am running the 32 bit raspi os. I used the official raspberry pi imager to create it.
-
RE: Black Screen after installing fonts-noto-color-emoji
I have been getting the following error mm-error.log:
[12.08.2022 22:50.16.819] [WARN] [33mYou're using a full whitelist configuration to allow for all IPs[39m [1707:0812/225020.891765:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [1749:0812/225021.867756:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [1768:0812/225022.360451:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT [12.08.2022 23:24.59.722] [WARN] [33mYou're using a full whitelist configuration to allow for all IPs[39m [1686:0812/232504.792579:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [1735:0812/232505.286195:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. [12.08.2022 23:46.19.653] [WARN] [33mYou're using a full whitelist configuration to allow for all IPs[39m [1623:0812/234649.995261:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [1766:0812/234650.598873:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. -
RE: Black Screen after installing fonts-noto-color-emoji
@sdetweil I think when I tried to install mmpm that it didn’t install correctly. I did it again and everything seems fine except I still have a black screen. But somehow in the web using the ip address it loads fine. Why would I get a black screen on the pi but everything working on the web? I even made a change to make sure it wasn’t cached and the change showed up so it’s new.
-
RE: Black Screen after installing fonts-noto-color-emoji
I did a clean install of mm, added my modules, copied the saved config from the previous install to the new install. Everything looked fine, then I rebooted and now I again have a black screen!!!
The npm log says:
verbose cli /usr/bin/node /usr/bin/npm 1 info using npm@8.11.0 2 info using node@v16.16.0 3 timing npm:load:whichnode Completed in 2ms 4 timing config:load:defaults Completed in 12ms 5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 7ms 6 timing config:load:builtin Completed in 9ms 7 timing config:load:cli Completed in 9ms 8 timing config:load:env Completed in 3ms 9 timing config:load:file:/home/pi/MagicMirror/.npmrc Completed in 0ms 10 timing config:load:project Completed in 26ms 11 timing config:load:file:/home/pi/.npmrc Completed in 0ms 12 timing config:load:user Completed in 3ms 13 timing config:load:file:/usr/etc/npmrc Completed in 1ms 14 timing config:load:global Completed in 2ms 15 timing config:load:validate Completed in 2ms 16 timing config:load:credentials Completed in 19ms 17 timing config:load:setEnvs Completed in 7ms 18 timing config:load Completed in 96ms 19 timing npm:load:configload Completed in 97ms 20 timing npm:load:mkdirpcache Completed in 5ms 21 timing npm:load:mkdirplogs Completed in 5ms 22 verbose title npm start 23 verbose argv "start" 24 timing npm:load:setTitle Completed in 6ms 25 timing config:load:flatten Completed in 18ms 26 timing npm:load:display Completed in 23ms 27 verbose logfile logs-max:10 dir:/home/pi/.npm/_logs 28 verbose logfile /home/pi/.npm/_logs/2022-08-13T00_05_23_038Z-debug-0.log 29 timing npm:load:logFile Completed in 36ms 30 timing npm:load:timers Completed in 1ms 31 timing npm:load:configScope Completed in 1ms 32 timing npm:load Completed in 182ms 33 silly logfile start cleaning logs, removing 1 files 34 silly logfile done cleaning log filesThe pm2 error log says:
[8711:0812/191224.893179:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [8764:0812/191225.738183:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. [8716:0812/191225.822559:ERROR:command_buffer_proxy_impl.cc(126)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer. [1644:0812/194324.158131:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [1694:0812/194325.043000:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [1718:0812/194325.555134:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. [1672:0812/194325.644795:ERROR:command_buffer_proxy_impl.cc(126)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer. [12.08.2022 19:54.36.872] [ERROR] [31mWARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'async'[39m [31mRequire stack:[39m [31m- /home/pi/MagicMirror/modules/MMM-Tools/node_helper.js[39m [31m- /home/pi/MagicMirror/js/app.js[39m [31m- /home/pi/MagicMirror/js/electron.js[39m [31m- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js[39m [31m- [39m [12.08.2022 19:54.36.913] [ERROR] App threw an error during load [12.08.2022 19:54.36.926] [ERROR] Error: Cannot find module 'async' Require stack: - /home/pi/MagicMirror/modules/MMM-Tools/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 Module._resolveFilename (node:internal/modules/cjs/loader:940:15) at n._resolveFilename (node:electron/js2c/browser_init:245:1105) at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at Module._load (node:internal/modules/cjs/loader:785:27) at c._load (node:electron/js2c/asar_bundle:5:13343) at Module.require (node:internal/modules/cjs/loader:1012:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Tools/node_helper.js:6:13) at Module._compile (node:internal/modules/cjs/loader:1118:14) at Module._extensions..js (node:internal/modules/cjs/loader:1173:10) [12.08.2022 19:54.36.929] [ERROR] Whoops! There was an uncaught exception... [12.08.2022 19:54.36.978] [ERROR] Error: Cannot find module 'async' Require stack: - /home/pi/MagicMirror/modules/MMM-Tools/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 Module._resolveFilename (node:internal/modules/cjs/loader:940:15) at n._resolveFilename (node:electron/js2c/browser_init:245:1105) at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at Module._load (node:internal/modules/cjs/loader:785:27) at c._load (node:electron/js2c/asar_bundle:5:13343) at Module.require (node:internal/modules/cjs/loader:1012:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Tools/node_helper.js:6:13) at Module._compile (node:internal/modules/cjs/loader:1118:14) at Module._extensions..js (node:internal/modules/cjs/loader:1173:10) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/pi/MagicMirror/modules/MMM-Tools/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', undefined ] } [12.08.2022 19:54.36.981] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [12.08.2022 19:54.36.982] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [1635:0812/195502.091221:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [1743:0812/195503.364570:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [1769:0812/195503.879521:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. [12.08.2022 20:06.05.090] [WARN] [33mYou're using a full whitelist configuration to allow for all IPs[39m [1676:0812/200609.075206:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [1730:0812/200610.010984:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [1749:0812/200610.493257:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. -
RE: Black Screen after installing fonts-noto-color-emoji
I have updated npm and node (in MagicMirror directory). I still have a black screen (I have done a reboot). When I run the config check I get a message saying there is no errors.
> magicmirror@2.20.0 config:check > node js/check_config.js [12.08.2022 15:58.52.189] [INFO] Checking file... /home/pi/MagicMirror/config/ config.js [12.08.2022 15:58.52.486] [INFO] Your configuration file doesn't contain syntax errors :) -
RE: Black Screen after installing fonts-noto-color-emoji
Didn’t realize the path mattered.
> magicmirror@2.20.0 config:check > node js/check_config.js /home/pi/MagicMirror/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2383 const require$1 = Module.createRequire(require('url').pathToFileURL(__filename).toString()); ^ TypeError: Module.createRequire is not a function at Object.<anonymous> (/home/pi/MagicMirror/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2383:26) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (/home/pi/MagicMirror/node_modules/eslint/lib/cli-engine/cli-engine.js:33:5) at Module._compile (internal/modules/cjs/loader.js:778:30)I don’t understand this.
-
Black Screen after installing fonts-noto-color-emoji
Re: 🎂🥂Emoji support
I tried
sudo apt install fonts-noto-color-emojiand it installed fine. After the reboot I now just get a black screen.I then tried
npm run config:checkand I got this message:npm ERR! code ENOENT npm ERR! syscall open npm ERR! path /home/pi/package.json npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2022-08-12T16_15_05_667Z-debug.logHere is the error log file:
0 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'config:check' ] 1 info using npm@7.21.0 2 info using node@v10.23.2 3 timing npm:load:whichnode Completed in 2ms 4 timing config:load:defaults Completed in 10ms 5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 16ms 6 timing config:load:builtin Completed in 18ms 7 timing config:load:cli Completed in 12ms 8 timing config:load:env Completed in 3ms 9 timing config:load:project Completed in 7ms 10 timing config:load:file:/home/pi/.npmrc Completed in 3ms 11 timing config:load:user Completed in 4ms 12 timing config:load:file:/usr/etc/npmrc Completed in 1ms 13 timing config:load:global Completed in 2ms 14 timing config:load:validate Completed in 2ms 15 timing config:load:credentials Completed in 6ms 16 timing config:load:setEnvs Completed in 5ms 17 timing config:load Completed in 70ms 18 timing npm:load:configload Completed in 72ms 19 timing npm:load:setTitle Completed in 1ms 20 timing npm:load:setupLog Completed in 5ms 21 timing config:load:flatten Completed in 23ms 22 timing npm:load:cleanupLog Completed in 20ms 23 timing npm:load:configScope Completed in 0ms 24 timing npm:load:projectScope Completed in 1ms 25 timing npm:load Completed in 141ms 26 timing command:run-script Completed in 41ms 27 verbose stack Error: ENOENT: no such file or directory, open '/home/pi/package.json' 28 verbose cwd /home/pi 29 verbose Linux 5.4.83-v7+ 30 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "config:check" 31 verbose node v10.23.2 32 verbose npm v7.21.0 33 error code ENOENT 34 error syscall open 35 error path /home/pi/package.json 36 error errno -2 37 error enoent ENOENT: no such file or directory, open '/home/pi/package.json' 38 error enoent This is related to npm not being able to find a file. 39 verbose exit -2It appears I am missing the file package.json, but I don’t know what that is or how to make/get the file.
-
RE: CalenderExt2 module won't show when using weather module
I solved the problem by updating MagicMirror.
-
RE: Just updated to newest MagicMirror and now it won't load.
@sdetweil Sorry I did look at that but didn’t understand it or my logs so didn’t realize they were related. Reading it again I realized I needed install request and that fixed the issue. Thank you and sorry for posting when the question was already answered.
-
Just updated to newest MagicMirror and now it won't load.
I just updated to the newest MagicMirror. I get a black screen and the following error in my error log:
Gdk-Message: 15:16:59.854: electron: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. python3: can't open file 'stats.py': [Errno 2] No such file or directory [05.11.2021 15:18.22.355] [ERROR] [31mWARNING! Could not find config file. Please create one. Starting with default configuration.[39m Gdk-Message: 15:44:39.377: electron: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. python3: can't open file 'stats.py': [Errno 2] No such file or directory [05.11.2021 15:45.58.895] [ERROR] [31mWARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'request'[39m [31mRequire stack:[39m [31m- /home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js[39m [31m- /home/pi/MagicMirror/js/app.js[39m [31m- /home/pi/MagicMirror/js/electron.js[39m [31m- /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js[39m [31m- [39m [05.11.2021 15:45.58.920] [ERROR] App threw an error during load [05.11.2021 15:45.58.926] [ERROR] Error: Cannot find module 'request' Require stack: - /home/pi/MagicMirror/modules/MMM-CalendarExt2/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 Module._resolveFilename (internal/modules/cjs/loader.js:887:15) at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at Module._load (internal/modules/cjs/loader.js:732:27) at Function.f._load (electron/js2c/asar_bundle.js:5:12913) at Module.require (internal/modules/cjs/loader.js:959:19) at require (internal/modules/cjs/helpers.js:88:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js:4:17) at Module._compile (internal/modules/cjs/loader.js:1078:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10) [05.11.2021 15:45.58.932] [ERROR] Whoops! There was an uncaught exception... [05.11.2021 15:45.58.944] [ERROR] Error: Cannot find module 'request' Require stack: - /home/pi/MagicMirror/modules/MMM-CalendarExt2/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 Module._resolveFilename (internal/modules/cjs/loader.js:887:15) at Function.n._resolveFilename (electron/js2c/browser_init.js:257:1128) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29) at Module._load (internal/modules/cjs/loader.js:732:27) at Function.f._load (electron/js2c/asar_bundle.js:5:12913) at Module.require (internal/modules/cjs/loader.js:959:19) at require (internal/modules/cjs/helpers.js:88:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js:4:17) at Module._compile (internal/modules/cjs/loader.js:1078:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1108:10) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/pi/MagicMirror/modules/MMM-CalendarExt2/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', undefined ] } [05.11.2021 15:45.58.946] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [05.11.2021 15:45.58.947] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issuesI don’t know what the stats.py file is or where it should be. I also do have a config file, which has all my code in it exactly as before I updated. I don’t know why I am getting all these errors or what many of them mean.
-
RE: CalenderExt2 module won't show when using weather module
Is there possibly a conflict between the weather module and CalendarExt2? I don’t know why using the weather module in 2 locations causes the calendar to not show up. There are no errors in the logs either.
-
CalenderExt2 module won't show when using weather module
The CalenderExt2 module works fine, but I want to use the default weather module. I want to show the current weather and the forecast. But when I add the forecast, the calendar will no longer show up.
Here is my weather module config info:
// TOP CENTER { module: "weather", position: "top_center", header: "Currently in", config: { weatherProvider: "weathergov", type: "current", apiBase: "https://api.weather.gov/points/", weatherEndpoint: "/forecast/hourly", lat: "42.834", lon: "-71.6618", initialLoadDelay: 1000, showHumidity: true, degreeLabel: true, updateInterval: 600000, }, // TOP RIGHT /*{ module: "weather", position: "top_right", header: "Forecast", config: { type: "forecast", weatherProvider: "weathergov", apiBase: "https://api.weather.gov/points/", weatherEndpoint: "/forecast", lat: "42.834", lon: "-71.6618", initialLoadDelay: 2000, ignoreToday: true, fade: false, tableClass: "medium", degreeLabel: true, },The area with the calendar shows this html:
<div class="region middle center"><div class="container" style="display: none;"></div></div> -
RE: CalendarExt2 won't load with Weather Forecast
@djboob66 I did that and it doesn’t change anything.
-
RE: CalendarExt2 won't load with Weather Forecast
@djboob66 The position info is located in the views section of the config.
-
CalendarExt2 won't load with Weather Forecast
The MMM-CalendarExt2 will no longer load when I add the new default weather app set to type forecast. I can use type current, but when I use the forecast type the calendar will not load.
This is my weather forecast code:
*{ module: "weather", position: "top_right", header: "Forecast", config: { type: "forecast", weatherProvider: "weathergov", apiBase: "https://api.weather.gov/points/", weatherEndpoint: "/forecast", lat: "42.834", lon: "-71.6618", initialLoadDelay: 1000, ignoreToday: true, fade: false, tableClass: "medium", degreeLabel: true, }, },And here is the non-personal part of the calendar code:
{ module: 'MMM-CalendarExt2', config: { updateInterval: 1000 * 60 * 15, calendars: [ ], defaultSet: { view: { hideOverflow: false, timeFormat: "h:mm A", maxItems: 2000, } }, views: [ { mode: "month", name: "Current Month", fromNow: 0, position: "middle_center", className: "monthly-cal", calendars: [] ], scenes: [ { name: "DEFAULT", views: ["Current Month"], }, ], }, },When I comment out the weather module code then the calendar loads fine, but otherwise it doesn’t load at all.