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

Config:check shows a parsing error at empty location in script

Scheduled Pinned Locked Moved Solved Troubleshooting
5 Posts 2 Posters 585 Views 2 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.
  • R Offline
    rmcon
    last edited by Jan 3, 2025, 9:47 PM

    Got a new Raspi 3B+ and completed fresh install of MagicMirror. Pulled backed up script from my private repo (thanks for the scripts Sam). Upon importing the script (which was previously working on the old Pi 3B+ running MM), would not start.

    Ran config:check and got the following result:

    [ERROR] Your configuration file contains syntax errors :(
    Line 150 column 14: Parsing error: Invalid number

    Looking at the script, there is nothing in that location, just some spacing. I tried deleting the spaces and the error persisted, with the only change being the column (from 14 to 13 to 12 to 10 with all spaces deleted and the text being on the left border). See attached screenshot.

    In order to get MM working again, I hastily resolved the problem by deleting the AutoDimmer module (where the error is appearing), which seems to have fixed this particular issue. I am now attempting to update the older Pi with a fresh load and getting the same issue. I did update the AutoDimmer module this time (did not on the first time), no impact. Any ideas?

    Also. not directly related, but I had issues with the weather modules on the new Pi/MM setup and current weather was not showing, though I could get the forecast back. Will save that for another topic if I can’t solve it.

    20250103_13h17m34s_grim.png

    S 1 Reply Last reply Jan 3, 2025, 9:51 PM Reply Quote 0
    • S Away
      sdetweil @rmcon
      last edited by Jan 3, 2025, 9:51 PM

      @rmcon can you change that to 0, 0000 is not really valid

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      R 1 Reply Last reply Jan 3, 2025, 9:57 PM Reply Quote 0
      • R Offline
        rmcon @sdetweil
        last edited by Jan 3, 2025, 9:57 PM

        @sdetweil you were absolutely right! Leading zeroes (intended for 24-hour time) were the culprit. Not sure how it managed to work previously, but it’s all good now. Thank you for the prompt and perfect response.

        S 2 Replies Last reply Jan 3, 2025, 9:58 PM Reply Quote 0
        • S Away
          sdetweil @rmcon
          last edited by Jan 3, 2025, 9:58 PM

          @rmcon the syntax checker keeps getting updated ( not our code)

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil @rmcon
            last edited by Jan 3, 2025, 10:01 PM

            @rmcon you could put “0000”

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S sdetweil has marked this topic as solved on Jan 3, 2025, 10:03 PM
            • 1 / 1
            1 / 1
            • First post
              3/5
              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