Read the statement by Michael Teeuw here.
MMM-Trello Doesn't load
-
Hi
I implemented the MMM-Trello module but the data doesn’t load.
Only the loading Icon is there… The config file should be ok.i don’t find log files to search the error. is there a possibility to find the logfile with the error?
tnx
-
@gianienderlin Do you have the correct
api_key
,token
andlist_id
? Unfortunately the error is currently only logged in the browser, but if you can open developer tools in the browser and have a look into console you might find something. -
@gianienderlin If you do a
git pull
in theMMM-Trello
folder, and restart the mirror, it should display an error now on the server side as well. -
Hello Jopyth
Thanks for your help. I did a git pull, and now i see the error message. Sorry for my questions, i’m a beginner in raspberry. the keys should be ok.
Many thanks for your support.
best regards from switzerland
giani
{ Error: model not found
at Request._callback (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/node-trello/lib/node-trello.js:88:13)
at Request.self.callback (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:373:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request. (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:1318:14)
at emitOne (events.js:101:20)
at Request.emit (events.js:188:7)
at IncomingMessage. (/home/pi/MagicMirror/modules/MMM-Trello/node_modules/request/request.js:1266:12)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
statusCode: 404,
responseBody: ‘model not found’,
statusMessage: ‘Not Found’ } -
@gianienderlin You’ve got the wrong id (
list_id
). That was the only way I was able to obtain the error. I will see if I can make it simpler to retrieve a list id.Do this section again:
Finding a List ID
One of the trickier parts of using the Trello API for simple use cases is finding a List ID that belongs to a user. There are a few ways of doing this depending on your skillsets. One such way is to use the Chrome Dev Tools to watch network traffic from the official client.
To try to make this easy, we’ll be dumping the JSON from a known Card. Open the official Trello web client and find a Card from a list that you want to use as your target.
It should have a short URL that looks like
https://trello.com/c/DcqBrqdx/1-target-card
Take that URL and add .json to the end as follows:
https://trello.com/c/DcqBrqdx/1-target-card.json
Within the raw JSON dump you get when pulling up this new URL, you will see a field called idList. We’re about to use this to create a new Card in the same list.
You have to search for the parameter idList in the json (usually possible with CTRL+F), I think you have taken the id of the card instead.
-
Hi Jopyth
Hmm it’s very strange. I deleted the id’s and put the same id’s new in to the config file. now its works fine. sorry for the circumstances. thanks for your suppport.
best regards
giani
-
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 Did you manage to get this working?? I’m having the same issue right now
-
I got the same problem but my pi show me that :
an error occured: Error 404(not found): Cannot GET/1/lists etc…
Someone know how to deal with it ?