• 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-PGA

Scheduled Pinned Locked Moved Sport
48 Posts 7 Posters 29.7k 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.
  • S Offline
    swvalenti Project Sponsor @mumblebaj
    last edited by Apr 23, 2022, 7:48 PM

    @mumblebaj module is stuck on loading but no errors in dev console?

    M 1 Reply Last reply Apr 23, 2022, 9:14 PM Reply Quote 0
    • M Offline
      mumblebaj Module Developer @swvalenti
      last edited by Apr 23, 2022, 9:14 PM

      @swvalenti Are you using the original module? Is this happening after upgrade to MM2.19? Did you do the normal git pull && npm install in the module folder? Is there any errors in the pm2 logs if you are using pm2 or in the console if you are using npm start?

      Check out my modules at: https://github.com/mumblebaj?tab=repositories

      S 1 Reply Last reply Apr 23, 2022, 9:15 PM Reply Quote 0
      • S Offline
        swvalenti Project Sponsor @mumblebaj
        last edited by Apr 23, 2022, 9:15 PM

        @mumblebaj I am using your fork and it worked fine for 2.19 for couple weeks just stopped the other day.

        M 2 Replies Last reply Apr 23, 2022, 9:21 PM Reply Quote 0
        • M Offline
          mumblebaj Module Developer @swvalenti
          last edited by Apr 23, 2022, 9:21 PM

          @swvalenti I will have a look in the morning. It is almost midnight where I am. :-(

          Check out my modules at: https://github.com/mumblebaj?tab=repositories

          1 Reply Last reply Reply Quote 0
          • M Offline
            mumblebaj Module Developer @swvalenti
            last edited by Apr 24, 2022, 10:48 AM

            @swvalenti Seems like there was a major upgrade in the JSON return data. Loads of changes. Not going to be an easy task to work through them all. I do not have easy fixes for it. I will see if I have time to work through them.

            Check out my modules at: https://github.com/mumblebaj?tab=repositories

            S 1 Reply Last reply Apr 18, 2023, 3:33 PM Reply Quote 0
            • S Offline
              swvalenti Project Sponsor @mumblebaj
              last edited by swvalenti Apr 18, 2023, 3:56 PM Apr 18, 2023, 3:33 PM

              @mumblebaj any easy way for me to figure this out, if I comment out that line it works.

              [18.04.2023 11:31.09.632] [LOG]   MMM-PGA retrieving Tournament Data
              [18.04.2023 11:31.09.633] [ERROR] Whoops! There was an uncaught exception...
              [18.04.2023 11:31.09.633] [ERROR] TypeError: Cannot read properties of undefined (reading 'displayName')
                  at Request._callback (C:\Users\CCU Forensic Machine\MagicMirror\modules\MMM-PGA\ESPN.js:49:99)
                  at self.callback (C:\Users\CCU Forensic Machine\MagicMirror\modules\MMM-PGA\node_modules\request\request.js:185:22)
                  at Request.emit (node:events:513:28)
              [18.04.2023 11:38.48.117] [LOG]   MMM-PGA retrieving FedEx Cup Standings
              [18.04.2023 11:38.48.185] [ERROR] Whoops! There was an uncaught exception...
              [18.04.2023 11:38.48.185] [ERROR] TypeError: Cannot read properties of undefined (reading 'querySelectorAll')
                  at Request._callback (C:\Users\CCU Forensic Machine\MagicMirror\modules\MMM-PGA\FEDEXCUP.js:33:38)
              
              M 1 Reply Last reply Apr 18, 2023, 4:35 PM Reply Quote 0
              • M Offline
                mumblebaj Module Developer @swvalenti
                last edited by Apr 18, 2023, 4:35 PM

                @swvalenti Can you show me what you changed? Did you comment out displayName in ESPN.js or the line with querySelectorAll in FEDEXCUP.js?

                Check out my modules at: https://github.com/mumblebaj?tab=repositories

                S 1 Reply Last reply Apr 18, 2023, 4:46 PM Reply Quote 0
                • S Offline
                  swvalenti Project Sponsor @mumblebaj
                  last edited by Apr 18, 2023, 4:46 PM

                  @mumblebaj just the espn.js sir

                  M 1 Reply Last reply Apr 20, 2023, 4:43 PM Reply Quote 0
                  • M Offline
                    mumblebaj Module Developer @swvalenti
                    last edited by Apr 20, 2023, 4:43 PM

                    @swvalenti Does you line 49 look like the following? tournament.defendingChamp = event.defendingChampion ? event.defendingChampion.displayName :

                    Check out my modules at: https://github.com/mumblebaj?tab=repositories

                    S 1 Reply Last reply Apr 20, 2023, 4:45 PM Reply Quote 0
                    • S Offline
                      swvalenti Project Sponsor @mumblebaj
                      last edited by Apr 20, 2023, 4:45 PM

                      @mumblebaj said in MMM-PGA:

                      tournament.defendingChamp = event.defendingChampion ? event.defendingChampion.displayName :

                      tournament.defendingChamp = event.defendingChampion ? event.defendingChampion.athlete.displayName : ""
                      
                      M 1 Reply Last reply Apr 20, 2023, 4:52 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 4 / 5
                      • 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