MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    SOLVED MMM-SoccerLiveScore pleas help

    Troubleshooting
    5
    52
    2150
    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
      Manu85 last edited by

      hello, I installed this module and it makes my MM crash, after having been
      First of all I want to apologize because I use a translator, I live in France and it’s easier for me
      helped on the forum (thanks to @detweiler) it would seem that there is an error in the module, is it possible that the author fixes this error , thank you in advance for the work done by the authors who provide these little wonders
      the author of the module, a great respect to him:
      LukeSkywalker92

      1 Reply Last reply Reply Quote 0
      • M
        Manu85 last edited by

        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 Reply Quote 0
        • S
          sdetweil @Manu85 last edited by

          @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

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • M
            Manu85 last edited by

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

            Stoffbeuteluwe 1 Reply Last reply Reply Quote 0
            • Stoffbeuteluwe
              Stoffbeuteluwe Project Sponsor @Manu85 last edited by

              @Manu85 yes …That was a nice Module

              Stoffbeuteluwe 1 Reply Last reply Reply Quote 0
              • Stoffbeuteluwe
                Stoffbeuteluwe Project Sponsor @Stoffbeuteluwe last edited by Stoffbeuteluwe

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

                I think this is also a good module.

                1 Reply Last reply Reply Quote 0
                • M
                  Manu85 last edited by

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

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sdetweil @Manu85 last edited by

                    @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

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • M
                      Manu85 last edited by

                      @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
                        Manu85 last edited by

                        @sdetweil after a few hours the module becomes unstable.

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 1 / 6
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy