Read the statement by Michael Teeuw here.
Unable to determine reason for MM/electron decaying/dying/hanging
-
@max @hedmik
have either of you verified your file format, with one of the online json validators?I like this one a lot
https://codebeautify.org/jsonvalidator -
@sdetweil
Yes. File is “remote_compliments.json” and is in the compliments folder. (As I mentioned in the prev post, it had all been working ok w/ my Pi Zero W under Stretch)Also, interesting enough, I do use \n in my remote file, and under Stretch and the previous version of MM it did not format the line return on the screen, and I noticed that right off after this most recent load on the RP3.
Snippet from config.js:
{ module: "compliments", position: "bottom_bar", config: { updateInterval: 300000, //30000 = 30 seconds fadeSpeed: 4000, remoteFile: "remote_compliments.json", classes: "thin medium bright" } }
Here’s remote_compliments.json:
{ "anytime": [ "\"The grand essentials of happiness are: something to do, something to love, and something to hope for.\"\n- Chalmers -", "\"I hear and I forget. I see and I remember. I do and I understand.\"\n- Confucius -", "\"However many holy words you read, However many you speak, What good will they do you If you do not act on upon them?\"\n- Buddha -", "\"Talk doesn't cook rice.\"\n- Chinese Proverb -", "\"Doing nothing is better than being busy doing nothing.\"\n- Lao Tzu -", "\"Every sixty seconds you spend angry, upset or mad, is a full minute of happiness you’ll never get back.\"\n- Unknown -", "\"Some people feel the rain. Others just get wet.\"\n- Bob Marley -", "\"Whether you think you can, or you think you can’t, you’re probably right.\"\n- Henry Ford -", "\"Success is getting what you want. Happiness is liking what you get.\"\n- H. Jackson Brown, Jr. -", "\"Trust the universe to provide your highest good. It's a little smarter than you are.\"\n- Max Bordelon -", "\"There are two rules in life: Rule 1: Don't sweat the small stuff. Rule 2: Everything is small stuff.\"\n- Finn Taylor -", "\"The world is a stage, life is a passage. You came, you saw, you departed.\"\n- Democritus -", "\"Everyone smiles in the same language.\"\n- George Carlin -", "\"Being deeply loved by someone gives you strength, while loving someone deeply gives you courage.\"\n- Lao-Tzu -", "\"Humility is the embarrassment you feel when you tell people how wonderful you are.\"\n- Laurence J Peter -", "\"You are the average of the five people you spend the most time with.\"\n- Jim Rohn -", "\"Yesterday is history, tomorrow is a mystery, and today is a gift... that's why they call it the present.\"\n- Eleanor Roosevelt -", "\"Never allow a person to tell you \"no\" who doesn't have the power to say \"yes\".\"\n- Eleanor Roosevelt -", "\"Anyone who has ever made anything of importance was disciplined.\"\n- Andrew Hendrixson -", "\"Don’t spend time beating on a wall, hoping to transform it into a door\"\n- Coco Chanel -", "\"Creativity is intelligence having fun.\"\n - Albert Einstein", "\"Optimism is the one quality more associated with success and happiness than any other.\"\n- Brian Tracy -", "\"Always keep your eyes open. Keep watching. Because whatever you see can inspire you.\"\n— Grace Coddington -", "\"What you get by achieving your goals is not as important as what you become by achieving your goals.\"\n- Henry David Thoreau -", "\"If the plan doesn’t work, change the plan, but never the goal.\"\n- Unknown -", "\"I destroy my enemies when I make them my friends.\"\n- Abraham Lincoln -", "\"Don’t live the same year 75 times and call it a life.\"\n- Robin Sharma -", "\"You cannot save people, you can just love them.\"\n- Anaïs Nin -", "\"It wasn’t raining when Noah built the ark.\"\n- Howard Ruff -", "\"Take your dreams seriously.\"\n- Unknown -", "\"There is no way to happiness. Happiness is the way.\"\n- Thich Nhat Hanh -", "\"Holding onto anger is like drinking poison and expecting the other person to die.\"\n- Unknown -", "\"Champions keep playing until they get it right.\"\n- Billie Jean King -", "\"You will succeed because most people are lazy.\"\n- Shahir Zag -", "\"Genius is 1% inspiration, 99% perspiration.\"\n- Thomas Edison -", "\"A comfort zone is a beautiful place, but nothing ever grows there.\"\n- Unknown -", "\"You must be the change you wish to see in the world.\"\n- Mahatma Gandhi -", "\"Numbing the pain for a while will only make it worse when you finally feel it.\"\n- Albus Dumbledore -", "\"Do it with passion, or not at all.\"\n- Rosa Nouchette Carey -", "\"If you want to live a happy life, tie it to a goal, not to people or objects.\"\n- Albert Einstein -", "\"The grass is greener where you water it.\"\n- Neil Barringham -", "\"Never give up on a dream just because of the time it will take to accomplish it. The time will pass anyway.\"\n- Earl Nightingale -", "\"Instead of wondering when your next vacation is, maybe you should set up a life you don’t need to escape from.\"\n- Seth Godin -", "\"If it scares you, it might be a good thing to try.\"\n- Seth Godin -", "\"Sometimes you win, sometimes you learn.\"\n- John Maxwell -", "\"Never apologize for having high standards. People who really want to be in your life will rise up to meet them.\"\n- Ziad K. Abdelnour -", "\"I never dream of success. I worked for it.\"\n- Estee Lauder -", "\"Avoiding failure is to avoid progress.\"\n- Unknown -", "\"The future comes a day at a time.\"\n- Unknown -", "\"Worry steals your joy and keeps you very busy doing nothing.\"\n- Unknown -", "\"Tomorrow sees undone, what happens not today; Indecision brings delays. Days lost lamenting lost days.\"\n- Ryoga Habiki -", "\"You can’t just skip ahead to where you think your life should be.\"\n- Lily Aldryn -", "\"If you're really honest with yourself about what you want out of life, life gives it to you.\"\n- Ted Mosby -", "\"If you’re not scared, you’re not taking a chance. And if you’re not taking a chance, then what the hell are you doing?\"\n— Ted Mosby -", "\"We struggle so hard to hold on to these things that we know are gonna disappear eventually. And that’s really noble.\"\n— Lily Aldrin -", "\"So really the biggest mistake would be not to make that mistake, because then you’ll go your whole life not knowing if something was a mistake or not.\"\n— Lily Aldrin -", "\"Sometimes things have to fall apart to make way for better things.\"\n— Ted Mosby -", "\"I'm the lord and master of this disaster.\"\n- BNL -", "\"Every new beginning comes from some other beginning's end\"\n- Closing Time, Semisonic -" ], "morning": [ "Good morning Tiger", "Enjoy your day!" ], "afternoon": [ "I hope you've been having a nice day!" ] }
-
@max64 said in Unable to determine reason for MM/electron decaying/dying/hanging:
Also, interesting enough, I do use \n in my remote file, and under Stretch and the previous version of MM it did not format the line return on the screen, and I noticed that right off after this most recent load on the RP3.
ok, you do not appear to be having the problem with compliments that the other user was having…
u have troubles with crash/hang…
I don’t use that module for background images.
I have loaded it for testing… don’t see any problem ‘yet’!
-
@sdetweil
Well, woke today to another frozen screen.The only modules running were: clock, calendar, currentweather, weatherforecast, and mmm-nest-status. It was running most of the day yesterday with just the first 4 modules, so I added in mmm-nest-status.
I’ll roll it back to just the 1st 4 default modules again, and see if that will run 24 hours.
As mmm-nest-status appears pretty light weight and has no “npm install” requirements, this still may be an incompatibility between Buster and Electron…
-
@max64 said in Unable to determine reason for MM/electron decaying/dying/hanging:
As mmm-nest-status appears pretty light weight and has no “npm install” requirements, this still may be an incompatibility between Buster and Electron
or a bug in the module…
will look later
-
Getting ridiculous.
Remove mmm-nest-status. Was only running: clock, calendar, currentweather, and weatherforecast. And THAT locked up.
Now removed weatherforecast also.
-
In the end I was never able to get Electron to run properly under MM2 on my Pi3B+ under Buster. My only “solution” has been to run MM in serveronly mode, and then load Chromium separately from a script. This seems to be pretty stable.
-
@max64 with release 2.10, all you have to do is set serverOnly: local in config.js
And it will do that split mode for you.We are running such an old electron version.