MMM-Trello icon indicating copy to clipboard operation
MMM-Trello copied to clipboard

Checklist loading forever

Open wast opened this issue 7 years ago • 10 comments

Got 2 cards in a list. Both cards are loaded on mirror and both have a checklist but only 1 checklist is loaded. The other one shows loading icon.

wast avatar Dec 31 '17 17:12 wast

I am not sure, but I also do not have much time to work on this currently.

Jopyth avatar Jan 11 '18 18:01 Jopyth

I rebooted and it worked

aandrew7 avatar Jan 14 '18 04:01 aandrew7

I have the same issue. I have a trello list with 7 cards, one day for each week, and I enabled wholeList, but it just shows the loading icon for all 7 cards forever.

nahtnam avatar Jan 27 '18 21:01 nahtnam

@Jopyth any ways we can try to debug it? What should we be looking at?

wast avatar Feb 03 '18 17:02 wast

Is there anything in the logs (usually pm2 logs MagicMirror (or mm if you have the old version)?

Jopyth avatar Feb 19 '18 20:02 Jopyth

Yes, I got these in logs:

TypeError: Cannot read property ‘hash’ of null
at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:68:31
at Git. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1482:10)
at done (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1354:21)
at ChildProcess. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1379:16)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)

o-shabashov avatar Jun 01 '18 01:06 o-shabashov

@wast In my case, it depends on the “reloadInterval” in the config file. For example, the defualt reload interval is 10min. Then, "checklist" will load after you start server. The problem is that checklist does not load immediately, but load after the first reload interval. You can change “reloadInterval” to 5 or 10 sec and see the results. Hope this helps :) This is my favourate mm module!

wangxum168 avatar Jul 11 '18 20:07 wangxum168

@wangxum168 I think it wasn't the case because I tried leaving it over night and didn't load. @Jopyth How to check logs when running server only? (Pi W Zero)

wast avatar Jul 17 '18 11:07 wast

I have the same problem, loading forever. in browser console I Got this error: Uncaught TypeError: console.log is not a function at Class.socketNotificationReceived (MMM-Trello.js:263) at module.js:246 at r.<anonymous> (socketclient.js:25) at r.emit (index.js:83) at r.onevent (index.js:83) at r.MMSocket.self.socket.onevent (socketclient.js:19) at r.onpacket (index.js:83) at r.<anonymous> (index.js:83) at r.emit (index.js:83) at r.ondecoded (index.js:83)

felipemfa avatar Feb 14 '19 20:02 felipemfa

I have the same problem as well. however, @wangxum168 was correct, if you wait long enough it will eventually load the checklists on the next interval. Is there a way to make this load with the page the first time instead of changing the interval time?

dewmguy avatar Jul 07 '20 08:07 dewmguy