jgauth / MMM-GoogleTasks

21 stars 26 forks source link

Task list not pulling changes #22

Open Ltnetsudo opened 1 year ago

Ltnetsudo commented 1 year ago

I had this module stop working a few months ago. Yesterday I installed from scratch and I am able to see the lists again but they do not automatically update now. The only way you can see the changes is if you restart MagicMirror. Any ideas? Is this a google API issue or something with the module itself?

srabraham commented 1 year ago

This repo seems to effectively be dead. I've had better luck with this fork lately. It includes some fixes from the last 4 years. https://github.com/jayked/MMM-GoogleTasks

srabraham commented 1 year ago

(This may be off-topic, since actually the problem I observed is one in the live fork of this repo (jayked). This jgauth repo doesn't seem to have the same issue.)

OK, I figured out the problem. When I pulled up the developer console in MagicMirror (i.e. by running npm dev), I repeatedly saw an error like this: "this.sendSocketNotification is not a function", and it was coming from this line in MMM-GoogleTasks.js.

I then found my way to this comment, which led me to an easy fix, which works for me. I'm now properly seeing updates to my tasks, and I'm not seeing that error in the console anymore.

I submitted a PR here: https://github.com/jayked/MMM-GoogleTasks/pull/4