Read the statement by Michael Teeuw here.
Calendar events showing on wrong day.
-
@coolie1101 unless u didn’t stop pm2 running instance
-
@sdetweil said in Calendar events showing on wrong day.:
unless u didn’t stop pm2 running instance
I did, “pm2 stop all”, then “npm start file_name.txt”
@sdetweil said in Calendar events showing on wrong day.:
u did add the “DEBUG”, right
Yes.
```
language: “en”,
locale: “en-US”,
logLevel: [“INFO”, “LOG”, “WARN”,“ERROR”,“DEBUG”], // Add “DEBUG” for even more logging
timeFormat: 24,
units: “imperial”, -
@coolie1101 said in Calendar events showing on wrong day.:
“npm start file_name.txt”
and with the > symbol
npm start > file_name.txt
-
@sdetweil So I deleted the entry for that day and added back just for that day, it shows up correct in the display but the following events still shows a day late.
-
@coolie1101 said in Calendar events showing on wrong day.:
but the following events still shows a day late.
so, I need to see THAT vevent
-
@coolie1101 if you just do
in the MagicMirror folder
npm start
you should have a stream of stuff so fast u can’t read
-
@sdetweil said in Calendar events showing on wrong day.:
so, I need to see THAT vevent
BEGIN:VEVENT DTSTART:20211123T100000Z DTEND:20211123T150000Z DTSTAMP:20211119T151956Z UID:0g4190e8en06vs************@google.com CREATED:20211119T151237Z DESCRIPTION: LAST-MODIFIED:20211119T151237Z LOCATION: SEQUENCE:0 STATUS:CONFIRMED SUMMARY:YARD WASTE TRANSP:OPAQUE END:VEVENT
@sdetweil said in Calendar events showing on wrong day.:
you should have a stream of stuff so fast u can’t read
There’s no output in the ssh window except for the following.
pi@magicmirror:~/MagicMirror $ npm start >cal_test_debug_log.txt [19.11.2021 10:25.12.563] [WARN] (electron) Security Warning: A WebContents was just created with both webviewTag and contextIsolation enabled. This combination is fundamentally less secure and effectively bypasses the protections of contextIsolation. We strongly recommend you move away from webviews to OOPIF or BrowserView in order for your app to be more secure [19.11.2021 10:25.13.777] [ERROR] ERROR! Could not find main module js file for MMM-GABackground
-
@coolie1101 correct, you are sending all the output to the file (except the stuff to stderr)
if you remove everything from the > on you’ll get the output to the ssh window, BUT it will be so big, the top will scroll off and be lost… (which is why we are sending to a file)
-
@sdetweil Got it, I didn’t realize the file continued on, it’s 2,486kb, which part do you need?
-
@coolie1101 see this post
from processing entry thru saving for the vevent that is the problem
maybe 20-30 lines