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

    Scheduled Pinned Locked Moved Sport
    187 Posts 37 Posters 253.4k Views 35 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.
    • LukeCodewalkerL Offline
      LukeCodewalker Module Developer @djbosman
      last edited by

      @djbosman
      Hey,
      first of all I’m happy that you enjoy the module. I hope you find some time to work during games :smirk:.

      I tried to reproduce your problem but was not successful. Can you check your console output for any errors (server and web console)? If you need help for doing that, let me know.

      D 1 Reply Last reply Reply Quote 0
      • P Offline
        ps-logic
        last edited by

        @djbosman
        @LukeCodewalker

        Hey guys,

        thanks for your reply djbosman.
        I think the problem you mentioned is caused by an error in the API.

        Well in fact I’m getting the same one.

        djbosman:

        Can u start the mirror over console, navigating to the directory of MagicMirror and typing ‘npm start dev’?

        The mirror should show up with a dev-tool on the right.
        Look whether there is some red colored text.

        If so:
        post it here.

        If not:
        press CTRL+Q to stop the mirror.
        In the console look out for errors. If I’m right then you should see something like "… unexpected character in JSON … ". That error will be helpful. Try copy and paste it here. (Mark the text, right click, copy).

        Thanks for your help!

        P D 2 Replies Last reply Reply Quote 0
        • P Offline
          ps-logic @ps-logic
          last edited by

          Hey there again,

          i tried to reproduce the error.
          Sometimes it occurs, sometimes not. I didn’t really find a reason.

          This is what the server says:

          Whoops! There was an uncaught exception…
          SyntaxError: Unexpected token u in JSON at position 0
          at Request._callback (/home/pi/MagicMirror/modules/MMM-SoccerLiveScore/node_helper.js:188:29)
          at self.callback (/home/pi/MagicMirror/node_modules/request/request.js:186:22)
          at emitOne (events.js:96:13)
          at Request.emit (events.js:188:7)
          at Request.onRequestError (/home/pi/MagicMirror/node_modules/request/request.js:845:8)
          at emitOne (events.js:96:13)
          at ClientRequest.emit (events.js:188:7)
          at TLSSocket.socketErrorListener (_http_client.js:308:9)
          at emitOne (events.js:96:13)
          at TLSSocket.emit (events.js:188:7)

          Hope it helps!

          1 Reply Last reply Reply Quote 0
          • D Offline
            djbosman @ps-logic
            last edited by yawns

            @ps-logic

            No errors I could detect in Dev Tool (A bit like a passenger checking a Jet Engine that’s malfunctioning!)
            From the console:

            Starting MagicMirror: v2.1.0
            Loading config ...
            Loading module helpers ...
            No helper found for module: alert.
            No helper found for module: MMM-SimpleLogo.
            Initializing new module helper ...
            No helper found for module: clock.
            Initializing new module helper ...
            No helper found for module: compliments.
            No helper found for module: currentweather.
            No helper found for module: weatherforecast.
            Initializing new module helper ...
            Initializing new module helper ...
            All module helpers loaded.
            Starting server op port 8080 ... 
            Server started ...
            Connecting socket for: updatenotification
            Connecting socket for: calendar
            Starting node helper for: calendar
            Connecting socket for: newsfeed
            Starting module: newsfeed
            Connecting socket for: MMM-SoccerLiveScore
            MMM-SoccerLiveScore helper started...
            Sockets connected & modules started ...
            Launching application.
            Create new calendar fetcher for url: http://www.kayaposoft.com/enrico/ics/v1.0?country=zaf&fromDate=01-01-2017&toDate=31-12-2017 - Interval: 300000
            Create new news fetcher for url: http://feeds.news24.com/articles/news24/SouthAfrica/rss - Interval: 300000
            Create new news fetcher for url: http://feeds.24.com/articles/sport/featured/topstories/rss - Interval: 300000
            Create new news fetcher for url: http://feeds.news24.com/articles/News24/World/rss - Interval: 300000
            Use existing news fetcher for url: http://feeds.news24.com/articles/News24/World/rss
            Create new news fetcher for url: http://feeds.news24.com/articles/Fin24/Tech/rss - Interval: 300000
            error: Unable to append to .git/logs/refs/remotes/origin/develop: Permission denied
            From https://github.com/MichMich/MagicMirror
             ! 57ea2ac..fd738e5  develop    -> origin/develop  (unable to update local ref)
            
            pi@raspberrypi3:~/MagicMirror $ pm2 stop mm
            

            Any clue from above?
            Thanx!

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              ps-logic @djbosman
              last edited by

              @djbosman

              Try to edit your config file.
              Set the value for ‘showTables: false’.

              Does it show up?

              D 2 Replies Last reply Reply Quote 0
              • D Offline
                djbosman @LukeCodewalker
                last edited by

                @LukeCodewalker

                Thanx! If you can kindly advise which commands to execute where to investigate. I’m very much a Windows NOOB , now dabbling in PI, with almost zero web development experience!

                1 Reply Last reply Reply Quote 0
                • D Offline
                  djbosman @ps-logic
                  last edited by

                  @ps-logic

                  Woop, woop!!! Are you clever or what??!!
                  Live scores back up again!!

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    djbosman @djbosman
                    last edited by

                    @djbosman
                    In hind-sight … The Table never did display; Just the scores.
                    Very glad for the scores, but wouls be happy if I COULD present table??

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      djbosman @ps-logic
                      last edited by

                      @ps-logic
                      Hi, All!
                      Thinking about it, the table NOT that important; Not for a magic mirror. Probably stays static for too long and will ultimately clutter the mirror. Besides, if my team’s not on top, I don’t even want to see it!! (Manchester United).
                      Thanx all, very much, for a great concept, wa wonderful community, and for having created a thing of joy!!

                      P 1 Reply Last reply Reply Quote 0
                      • P Offline
                        ps-logic @djbosman
                        last edited by

                        @djbosman

                        It seems that this error occurs only with the latest version of MM.
                        We found no solution yet.

                        I’ll keep you updated!

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 15
                        • 16
                        • 17
                        • 18
                        • 19
                        • 19 / 19
                        • 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