• 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-SoccerLiveScore pleas help

Scheduled Pinned Locked Moved Solved Troubleshooting
52 Posts 5 Posters 14.3k 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.
  • M Offline
    Manu85
    last edited by Apr 7, 2020, 1:25 PM

    I forgot! the detected error is as follows:

    @Manu85 from the log
    looks like MMM-SoccerLiveScore/ had a fatal error when no data was presented
    [ERROR] 2020-04-07T09:00:27 SyntaxError: Unexpected token u in JSON at position 0
    0|MagicMir |  at JSON.parse ()
    0|MagicMir |  at Request._callback (/home/pi/MagicMirror/modules/MMM-SoccerLiveScore/node_helper.js:192:29)
    and that error killed MM
    0|MagicMir | [2020-04-07 09:00:27.567] [LOG] 2020-04-07T09:00:27 Whoops! There was an uncaught exception… (/home/pi/MagicMirror/js/app.js:39 process.)
    0|MagicMir | [2020-04-07 09:00:27.592] [LOG] 2020-04-07T09:00:27 MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? (/home/pi/MagicMirror/js/app.js:41 process.)

    S 1 Reply Last reply Apr 7, 2020, 1:28 PM Reply Quote 0
    • S Away
      sdetweil @Manu85
      last edited by Apr 7, 2020, 1:28 PM

      @Manu85 i posted this in your other topic

      the module author posted in 2018 that he no longer had time to maintain this module…

      I looked at the code and all the data operations do not check for errors. so there is quite a bit of work to fix the module

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • M Offline
        Manu85
        last edited by Apr 7, 2020, 1:35 PM

        @sdetweil ah sh*t, it was really really good this module

        S 1 Reply Last reply Apr 7, 2020, 1:45 PM Reply Quote 0
        • S Offline
          Stoffbeuteluwe Project Sponsor @Manu85
          last edited by Apr 7, 2020, 1:45 PM

          @Manu85 yes …That was a nice Module

          S 1 Reply Last reply Apr 7, 2020, 1:48 PM Reply Quote 0
          • S Offline
            Stoffbeuteluwe Project Sponsor @Stoffbeuteluwe
            last edited by Stoffbeuteluwe Apr 7, 2020, 1:50 PM Apr 7, 2020, 1:48 PM

            https://github.com/lavolp3/MMM-soccer

            I think this is also a good module.

            1 Reply Last reply Reply Quote 0
            • M Offline
              Manu85
              last edited by Apr 7, 2020, 2:51 PM

              @Stoffbeuteluwe thank you i will try it, thank you again

              S 1 Reply Last reply Apr 7, 2020, 3:04 PM Reply Quote 0
              • S Away
                sdetweil @Manu85
                last edited by Apr 7, 2020, 3:04 PM

                @Manu85 i think i have fixed the module so it doesn’t crash…

                do this

                cd ~/MagicMirror/modules
                git clone https://github.com/sdetweil/MMM-SoccerLiveScore NewSoccerLive
                cd MMM-SoccerLiveScore
                cp ../NewSoccerLive/*.js .
                

                then restart your mirror app…
                pm2 restart 0
                if using pm2

                this will replace the two files with my version… no other changes required…
                if there is a request error, we wait 5 minutes and try again

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • M Offline
                  Manu85
                  last edited by Apr 7, 2020, 3:23 PM

                  @sdetweil I just did the manipulations that you advised and the module restarted, I keep you informed of the stability, but well done for your responsiveness

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Manu85
                    last edited by Apr 7, 2020, 6:48 PM

                    @sdetweil after a few hours the module becomes unstable.

                    S 1 Reply Last reply Apr 7, 2020, 7:03 PM Reply Quote 0
                    • S Away
                      sdetweil @Manu85
                      last edited by Apr 7, 2020, 7:03 PM

                      @Manu85 ok, add

                      debug:true,
                      

                      To the module config section

                      And restart mirror

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 1 / 6
                      1 / 6
                      • First post
                        6/52
                        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