MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Trello Doesn't load

    Scheduled Pinned Locked Moved Troubleshooting
    9 Posts 5 Posters 4.4k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      gianienderlin
      last edited by

      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

      0_1475142005704_IMG_20160928_213722.jpg

      J 2 Replies Last reply Reply Quote 0
      • J Offline
        Jopyth Moderator @gianienderlin
        last edited by

        @gianienderlin Do you have the correct api_key, token and list_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.

        Helpful sticky: How to troubleshoot

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jopyth Moderator @gianienderlin
          last edited by

          @gianienderlin If you do a git pull in the MMM-Trello folder, and restart the mirror, it should display an error now on the server side as well.

          Helpful sticky: How to troubleshoot

          1 Reply Last reply Reply Quote 0
          • G Offline
            gianienderlin
            last edited by

            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’ }

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              Jopyth Moderator @gianienderlin
              last edited by Jopyth

              @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.

              Helpful sticky: How to troubleshoot

              1 Reply Last reply Reply Quote 0
              • G Offline
                gianienderlin
                last edited by

                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

                1 Reply Last reply Reply Quote 1
                • F Offline
                  felipemfa
                  last edited by

                  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)

                  B 1 Reply Last reply Reply Quote 0
                  • B Offline
                    Bruno @felipemfa
                    last edited by

                    @felipemfa Did you manage to get this working?? I’m having the same issue right now

                    1 Reply Last reply Reply Quote 0
                    • Z Offline
                      Zepled
                      last edited by

                      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 ?

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy