• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 6.5k 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
    last edited by A Former User Sep 10, 2018, 2:52 PM Sep 10, 2018, 2:35 PM

    @tismepaulo
    I think I’ve fixed issues. Could you test it for me? (Re-install required. See the github)

    1 Reply Last reply Reply Quote 0
    • P Offline
      PILuke
      last edited by Oct 29, 2018, 6:28 PM

      Hi, nice module, for my wife :-)
      Has someone tested it?
      I see the module “Loading” but I don’t see the shopping list.
      In console I receive this message:

      [GSL] Landed on the target page. Trying to get list
      [GSL] Tried. (when even failed) : 8

      Some suggest?
      Many thanks

      ? 1 Reply Last reply Oct 29, 2018, 6:41 PM Reply Quote 0
      • ? Offline
        A Former User @PILuke
        last edited by Oct 29, 2018, 6:41 PM

        @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 Oct 29, 2018, 8:17 PM Reply Quote 0
        • P Offline
          PILuke @Guest
          last edited by Oct 29, 2018, 8:17 PM

          @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 Oct 29, 2018, 9:17 PM Reply Quote 0
          • ? Offline
            A Former User @PILuke
            last edited by Oct 29, 2018, 9:17 PM

            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 Dec 22, 2018, 10:13 PM

              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 Dec 23, 2018, 6:57 PM Reply Quote 0
              • ? Offline
                A Former User @Sebi76
                last edited by Dec 23, 2018, 6:57 PM

                @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 Apr 8, 2019, 9:16 PM

                  Does this module work today?

                  ? 1 Reply Last reply Apr 8, 2019, 9:18 PM Reply Quote 0
                  • ? Offline
                    A Former User @valid8r
                    last edited by A Former User Apr 8, 2019, 9:19 PM Apr 8, 2019, 9:18 PM

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

                    V 1 Reply Last reply Apr 8, 2019, 11:34 PM Reply Quote 0
                    • V Offline
                      valid8r @Guest
                      last edited by Apr 8, 2019, 11:34 PM

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

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