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-soccer : black screen, problem of config.js

    Scheduled Pinned Locked Moved Troubleshooting
    24 Posts 3 Posters 3.9k Views 3 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

      right sam, i don’t read log

      maybe, this part missing, on the end of the file

      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      

      if missing, config will not be exported (like a file not there)
      it’s the same for var config = { on the start of the file

      but by reading the error log:

      /home/pi/MagicMirror/config/config.js:392
      

      there is an error before this ligne (generaly on line-1 … so line 391)

      So, can you past there your config From line 380 to 410 (don’t forget to remove personal ident)

      1 Reply Last reply Reply Quote 0
      • R Offline
        RIKKO14
        last edited by

        yes my config.js is this directory /home/pi/MagicMirror/config/

        the problem comes from “}” or “},” but where ???

        2020-09-02-200854_1920x1080_scrot.png

        S 1 Reply Last reply Reply Quote 0
        • R Offline
          RIKKO14
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @RIKKO14
            last edited by

            @RIKKO14 says line 392

            0|mm       |         },
            0|mm       |         ^
            0|mm       | 
            0|mm       | SyntaxError: Unexpected token }
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • R Offline
              RIKKO14
              last edited by

              I delete focus_on: { null }, and it’s good,

              thank you very much to you 2 !

              ? 1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User
                last edited by A Former User

                balaye toute la partie doite !
                ça tombe tu as caractere de caché, je vois qu’il y a une grande brarre en bas pour se déplacer, déplace la sur la droite.
                Regarde toute la partie que tu n’as pas vu
                il doit avoir un caractere, c’est sur et certain !

                @sam, sorry sometime it’s more simple between french user

                I suspect a character in the right part of the file (because not displayed, he have to move the bar to the right)

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

                  @Bugsounet it’s ok. u exude me all the time! lol

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User
                    last edited by

                    complex to explain in english :(

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

                      @Bugsounet lol( not for me, french is harder!!)

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User
                        last edited by

                        lol (not a problem french …don’t know why …)

                        So @RIKKO14 ?

                        1 Reply Last reply Reply Quote 0
                        • ? Offline
                          A Former User @RIKKO14
                          last edited by

                          @RIKKO14 said in MMM-soccer : black screen, problem of config.js:

                          I delete focus_on: { null }, and it’s good,

                          thank you very much to you 2 !

                          oupss … not see the answer :'(

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            RIKKO14
                            last edited by

                            I searched in various files in the MMM-soccer folder but could not find how to change and where to write instead:

                            • mmm-soccer over the line
                            • “Matchday” per “Journée”: 2
                            • “Team” by “Equipe”

                            2020-09-02-214934_1080x1920_scrot.png

                            do you know which files to modify ?

                            1 Reply Last reply Reply Quote 0
                            • ? Offline
                              A Former User
                              last edited by A Former User

                              a french user make pull request for create a fr translate but … it’s not commit

                              so try this:

                              we will do a simple thing, we will override the en default file with the french value

                              explain:
                              in MMM-soccer directory, you have translation directory

                              edit en.json file

                              copy the content of this

                              and past it in the en.json file
                              of course delete all content of the en.json file and replace it with the french content

                              and restart the mirror !

                              Edit MMM-soccer will see some translation for en … it will not control and display french value :)

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                RIKKO14
                                last edited by

                                so cool, it’s good
                                thank you so much

                                1 Reply Last reply Reply Quote 0

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                • 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