Read the statement by Michael Teeuw here.
MMM-OneCallWeather
-
@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…
-
@n6ng It wasn’t Windows… but it worked anyway.
Dennis -
@n6ng what is it? DISPLAY is an xwindows thing
-
@sdetweil It is just a standard Raspberry Pi 3b with Debian with Buster and anASUS HDMI monitor…
But it was on for a couple of seconds and then off for 5 or 10 seconds back and forth… now it is back to normal…
Dennis -
@n6ng so display might be set in the environment already.
the code says set display to :0 if not set
that’s the normal default xwindows instance
-
@sdetweil So are you saying that’s what I should set the display line to instead of what to said to set it to in this forum link?
https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-laterIf that’s true, I’ll try it…
Dennis -
@n6ng we are crossing topics
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”,that is
won’t start on Windows, because DISPLAY=… on start function in package.jsonhttps://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later
that is
blank screen because of missing dependencies on some/many modules