Read the statement by Michael Teeuw here.
MMM-OneCallWeather
-
@n6ng can u see the logs from npm start? or pm2 logs if you use pm2
-
Thank you Sam
/home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
0|MagicMir | [23.02.2022 10:19.19.438] [ERROR] Whoops! There was an uncaught exception…
0|MagicMir | [23.02.2022 10:19.19.442] [ERROR] TypeError: Cannot read properties of undefined (reading ‘close’)
0|MagicMir | at App.stop (/home/pi/MagicMirror/js/app.js:257:14)
0|MagicMir | at process. (/home/pi/MagicMirror/js/app.js:272:8)
0|MagicMir | at process.emit (node:events:394:28)
0|MagicMir | [23.02.2022 10:19.19.444] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMir | [23.02.2022 10:19.19.445] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|MagicMir | [23.02.2022 10:19.19.460] [ERROR] Whoops! There was an uncaught exception…
0|MagicMir | [23.02.2022 10:19.19.462] [ERROR] TypeError: Cannot read properties of undefined (reading ‘close’)
0|MagicMir | at App.stop (/home/pi/MagicMirror/js/app.js:257:14)
0|MagicMir | at process. (/home/pi/MagicMirror/js/app.js:272:8)
0|MagicMir | at process.emit (node:events:394:28)
0|MagicMir | [23.02.2022 10:19.19.464] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMir | [23.02.2022 10:19.19.465] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|MagicMir | [2488:0223/101920.289240:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initializationDennis
-
I have no problem with the internet connection at this time…
Dennis -
@n6ng I’ve reinstalled it 3 times now with the same result.
Just FYI.
Dennis -
Ok… I think I have identified a bigger problem. I have thus far loaded the following weather programs.
MMM-OneCallWeather
MMM-MyWeather
MMM-DynamicWeather
all with the same result… A blank screen when any of them are included in my MM. I do have the following modules working properly on my MM with no problem.alert
updatenotification
clock
calender-check
google-calendar
MMM-RAIN-RADAR
on-this-day
newsfeedAll working properly… When every I include any of the weather modules is when I get the blank screen… Hope this helps somehow.
Dennis -
-
@sdetweil I followed the instructions from the link you posted and found it could not find a file called axios. So I did the install of that program, and now my screen won’t stay on for more than a few seconds. It then goes black… I don’t know if it fixed my weather module or not…Now I get the error messages:
0|MagicMir | [3417:0225/110146.538714:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization
0|MagicMir | [3453:0225/110146.872192:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.The only thing I can think of doing is to start from scratch and try it all again…
Before I do that, any suggestions?
Thanks all…
Dennis
n6ngdennis@gmail.com -
@n6ng those are incorrect error messages… not the problem
-
@sdetweil
I found your message to vintage89 about the display in package.json
"
S
sdetweil
Apr 10, 2020, 3:20 PM@vintage89 edit the package.json file and remove the display=${display… stuff from the start clause
It should start with "node_modules, like this
“start”: “node_modules/.bin/electron js/electron.js”,Sam"
Did that myself and it seems to have fixed the problem… now back to the weather problem again… More to follow…
Thanks again Sam… you have some real words of wisdom throughout these many pages…
Dennis -
@n6ng np. but you never said Windows…