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-GoogleShoppingList

    Scheduled Pinned Locked Moved Utilities
    16 Posts 6 Posters 7.2k Views 7 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.
    • ? Offline
      A Former User @PILuke
      last edited by

      @piluke
      I think there are 8 items in your shopping list, right? If so, there could be front-end error (even caused by my module or others).
      Can you try npm start dev instead pm2? (stop pm2 stop mm then execute npm start dev in your MagicMirror directory) Then you can see the dev panel on MM screen. And if there be any suspicious front-end error, the red text will be shown there.

      dev-panel looks like this (the right side);
      0_1540838473198_test.png

      P 1 Reply Last reply Reply Quote 0
      • P Offline
        PILuke @Guest
        last edited by

        @sean
        I didn’t know this working mode of MM, thanks for your answer.
        It’s right my list has 8 items.
        I disable all module except clock and start “dev” mode.
        There is only one red error but it’s from this module:

        MMM-GoogleShoppingList.js:70 Uncaught TypeError: Cannot read property '1' of null
            at items.forEach.item (MMM-GoogleShoppingList.js:70)
            at Array.forEach (<anonymous>)
            at Class.drawItems (MMM-GoogleShoppingList.js:54)
            at Class.socketNotificationReceived (MMM-GoogleShoppingList.js:46)
            at module.js:246
            at r.<anonymous> (socketclient.js:25)
            at r.emit (index.js:133)
            at r.onevent (socket.js:270)
            at r.MMSocket.self.socket.onevent (socketclient.js:19)
            at r.onpacket (socket.js:228)
        

        After few minutes the same error came again…

        ? 1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User @PILuke
          last edited by

          Thanks for reply. Would you send me a mail address? Mine is eouia0819@gmail.com. I’ll send a test file to catch what is wrong. (But here is late night, so I’ll send you 10 hours later)

          1 Reply Last reply Reply Quote 0
          • S Offline
            Sebi76
            last edited by

            I become this Error…

            [GSL] Trying to login
            (node:17281) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Evaluation failed:
            TypeError: Cannot read property ‘click’ of null
            at puppeteer_evaluation_script:2:44
            (node:17281) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated.
            In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

            ? 1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @Sebi76
              last edited by

              @sebi76
              Google hasn’t released its official API for ShoppingList yet. My approach is screen scrapping with Puppeteer. Most of case it works well. My module would login your ShoppingList homepage and surf for getting information in hidden browser.
              But by some unknown reason, Someone might see DIFFERENT PAGE with others with same URL. Only Google knows why and what. In that case, my module doesn’t know WHAT IS LOGIN BUTTON and other things. I’ve already known that issue but there is no way to solve it.
              Maybe waiting official API release is a better solution.

              1 Reply Last reply Reply Quote 0
              • V Offline
                valid8r
                last edited by

                Does this module work today?

                ? 1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User @valid8r
                  last edited by A Former User

                  @valid8r
                  For lucky someone it works and not for unlucky someone. At least for me it works. Sorry.

                  V 1 Reply Last reply Reply Quote 0
                  • V Offline
                    valid8r @Guest
                    last edited by

                    @Sean Ok, thanks, I’ll give it a try to see.

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      Egnos
                      last edited by

                      Hi @Sean is there any news for this module?
                      Does it work now?

                      Thank you very much.

                      My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                      ? 1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User @Egnos
                        last edited by

                        @Egnos
                        No, sorry. It is out of my work.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 2 / 2
                        • 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