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.

    Trouble with config file, Error Create Config File

    Scheduled Pinned Locked Moved Troubleshooting
    12 Posts 5 Posters 11.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.
    • T Offline
      twosix @Mykle1
      last edited by

      @Mykle1 Okay I did that, and figured out the problem is my calendar…is there anyway I can fix that?

      strawberry 3.141S 1 Reply Last reply Reply Quote 0
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer @twosix
        last edited by

        @twosix in all your examples you’re escaping the closing quote

        {
          symbol: "calendar-check-o ",
          url: "webcal://p55-calendars.icloud.com/published/2/TDWYwJjbv2BpM3HLxxxxxxxxxxxxxxxxxvZM-3TNpXNgZXsi192SI7M6pxxxxxxxxxxxxxxxxxxxxxxxXZCkcApre7Kg\"
        }
        

        you can see there that the next line is green which indicates that the string isn’t closed there probably. This happen because of the \ right in front of the quote character.

        If the backslash doesn’t belong to your string remove it, if you need the backslash you have to escape the backslash by adding a second. like this:

        {
          symbol: "calendar-check-o ",
          url: "webcal://p55-calendars.icloud.com/published/2/TDWYwJjbv2BpM3HLxxxxxxxxxxxxxxxxxvZM-3TNpXNgZXsi192SI7M6pxxxxxxxxxxxxxxxxxxxxxxxXZCkcApre7Kg\\"
        }
        

        here you can see that the closing curly brace is no longer highlighted in green because the string is closed properly.

        Please create a github issue if you need help, so I can keep track

        1 Reply Last reply Reply Quote 2
        • 1
        • 2
        • 2 / 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