Bug Report Failed to load/reload settings #3918

Closed
opened 2026-01-30 23:33:17 +00:00 by claunia · 7 comments
Owner

Originally created by @darthpale on GitHub (Sep 17, 2019).

Environment

Windows build number: Win32NT             10.0.18362.0 Microsoft Windows NT 10.0.18362.0
Windows Terminal version git commit 2d0608d8c0f9d72f12329e8c2152a90f0335d3ea

Any other software?

Steps to reproduce

Launch freshly built and deployed terminal

Expected behavior

uses existing settings, no error box.

Actual behavior

produces error box
Failed to load settings
Setting could not be reloaded from file. Check for syntax errors including trailing commas.
Temporarily using the Windows Terminal default settings.

Additional Information

Settings are unchanged from previous build from git on 9/9/2019
Opening settings and resaving file does nothing but make it reproduce the error dialog.
Using Visual Studio 2019 as the editor for the settings JSON. Says no issues found, so my settings are syntactically valid.

Originally created by @darthpale on GitHub (Sep 17, 2019). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0 Windows Terminal version git commit 2d0608d8c0f9d72f12329e8c2152a90f0335d3ea Any other software? ``` # Steps to reproduce Launch freshly built and deployed terminal <!-- A description of how to trigger this bug. --> # Expected behavior uses existing settings, no error box. <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> # Actual behavior produces error box Failed to load settings Setting could not be reloaded from file. Check for syntax errors including trailing commas. Temporarily using the Windows Terminal default settings. # Additional Information Settings are unchanged from previous build from git on 9/9/2019 Opening settings and resaving file does nothing but make it reproduce the error dialog. Using Visual Studio 2019 as the editor for the settings JSON. Says no issues found, so my settings are syntactically valid. <!-- What's actually happening? -->
claunia added the Area-SettingsNeeds-Tag-FixProduct-Terminal labels 2026-01-30 23:33:17 +00:00
Author
Owner

@DHowett-MSFT commented on GitHub (Sep 17, 2019):

The error dialog has useful information in it, would you mind actually sharing that information?

@DHowett-MSFT commented on GitHub (Sep 17, 2019): The error dialog has useful information in it, would you mind _actually sharing that information?_
Author
Owner

@DHowett-MSFT commented on GitHub (Sep 17, 2019):

I see that you included the content in your original report. Sorry!

@DHowett-MSFT commented on GitHub (Sep 17, 2019): I see that you included the content in your original report. Sorry!
Author
Owner

@zadjii-msft commented on GitHub (Sep 17, 2019):

@darthpale Could you share your profile.json?

@zadjii-msft commented on GitHub (Sep 17, 2019): @darthpale Could you share your `profile.json`?
Author
Owner

@darthpale commented on GitHub (Sep 18, 2019):

my profiles.json

{
    "globals" : 
    {
        "alwaysShowTabs" : true,
        "defaultProfile" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
        "initialCols" : 120,
        "initialRows" : 30,
        "keybindings" : 
        [
            {
                "command" : "closePane",
                "keys" : 
                [
                    "ctrl+shift+w"
                ]
            },
            {
                "command" : "copy",
                "keys" : 
                [
                    "ctrl+shift+c"
                ]
            },
            {
                "command" : "duplicateTab",
                "keys" : 
                [
                    "ctrl+shift+d"
                ]
            },
            {
                "command" : "newTab",
                "keys" : 
                [
                    "ctrl+shift+t"
                ]
            },
            {
                "command" : "newTabProfile0",
                "keys" : 
                [
                    "ctrl+shift+1"
                ]
            },
            {
                "command" : "newTabProfile1",
                "keys" : 
                [
                    "ctrl+shift+2"
                ]
            },
            {
                "command" : "newTabProfile2",
                "keys" : 
                [
                    "ctrl+shift+3"
                ]
            },
            {
                "command" : "newTabProfile3",
                "keys" : 
                [
                    "ctrl+shift+4"
                ]
            },
            {
                "command" : "newTabProfile4",
                "keys" : 
                [
                    "ctrl+shift+5"
                ]
            },
            {
                "command" : "newTabProfile5",
                "keys" : 
                [
                    "ctrl+shift+6"
                ]
            },
            {
                "command" : "newTabProfile6",
                "keys" : 
                [
                    "ctrl+shift+7"
                ]
            },
            {
                "command" : "newTabProfile7",
                "keys" : 
                [
                    "ctrl+shift+8"
                ]
            },
            {
                "command" : "newTabProfile8",
                "keys" : 
                [
                    "ctrl+shift+9"
                ]
            },
            {
                "command" : "nextTab",
                "keys" : 
                [
                    "ctrl+tab"
                ]
            },
            {
                "command" : "openSettings",
                "keys" : 
                [
                    "ctrl+,"
                ]
            },
            {
                "command" : "paste",
                "keys" : 
                [
                    "ctrl+shift+v"
                ]
            },
            {
                "command" : "prevTab",
                "keys" : 
                [
                    "ctrl+shift+tab"
                ]
            },
            {
                "command" : "scrollDown",
                "keys" : 
                [
                    "ctrl+shift+down"
                ]
            },
            {
                "command" : "scrollDownPage",
                "keys" : 
                [
                    "ctrl+shift+pgdn"
                ]
            },
            {
                "command" : "scrollUp",
                "keys" : 
                [
                    "ctrl+shift+up"
                ]
            },
            {
                "command" : "scrollUpPage",
                "keys" : 
                [
                    "ctrl+shift+pgup"
                ]
            },
            {
                "command" : "switchToTab0",
                "keys" : 
                [
                    "ctrl+alt+1"
                ]
            },
            {
                "command" : "switchToTab1",
                "keys" : 
                [
                    "ctrl+alt+2"
                ]
            },
            {
                "command" : "switchToTab2",
                "keys" : 
                [
                    "ctrl+alt+3"
                ]
            },
            {
                "command" : "switchToTab3",
                "keys" : 
                [
                    "ctrl+alt+4"
                ]
            },
            {
                "command" : "switchToTab4",
                "keys" : 
                [
                    "ctrl+alt+5"
                ]
            },
            {
                "command" : "switchToTab5",
                "keys" : 
                [
                    "ctrl+alt+6"
                ]
            },
            {
                "command" : "switchToTab6",
                "keys" : 
                [
                    "ctrl+alt+7"
                ]
            },
            {
                "command" : "switchToTab7",
                "keys" : 
                [
                    "ctrl+alt+8"
                ]
            },
            {
                "command" : "switchToTab8",
                "keys" : 
                [
                    "ctrl+alt+9"
                ]
            }
        ],
        "requestedTheme" : "system",
        "showTabsInTitlebar" : true,
        "showTerminalTitleInTitlebar" : true,
        "wordDelimiters" : " ./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}~?\u2502"
    },
    "profiles" : 
    [
        {
            "acrylicOpacity" : 0.60000002384185791,
            "background" : "#112345",
            "closeOnExit" : true,
            "colorScheme" : "Campbell",
            "commandline" : "powershell.exe",
            "cursorColor" : "#FFFFFF",
            "cursorShape" : "filledBox",
            "fontFace" : "DejaVu Sans Mono for Powerline",
            "fontSize" : 12,
            "guid" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
            "historySize" : 9001,
            "icon" : "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png",
            "name" : "Windows PowerShell",
            "padding" : "0, 0, 0, 0",
            "snapOnInput" : true,
            "startingDirectory" : "%USERPROFILE%",
            "useAcrylic" : true
        },
        {
            "acrylicOpacity" : 0.60000002384185791,
            "closeOnExit" : true,
            "colorScheme" : "Campbell",
            "commandline" : "cmd.exe",
            "cursorColor" : "#FFFFFF",
            "cursorShape" : "filledBox",
            "fontFace" : "DejaVu Sans Mono for Powerline",
            "fontSize" : 12,
            "guid" : "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
            "historySize" : 9001,
            "icon" : "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png",
            "name" : "Windows CMD",
            "padding" : "0, 0, 0, 0",
            "snapOnInput" : true,
            "startingDirectory" : "%USERPROFILE%",
            "useAcrylic" : true
        }
    ],
    "schemes" : 
    [
        {
            "background" : "#0C0C0C",
            "black" : "#0C0C0C",
            "blue" : "#0037DA",
            "brightBlack" : "#767676",
            "brightBlue" : "#3B78FF",
            "brightCyan" : "#61D6D6",
            "brightGreen" : "#16C60C",
            "brightPurple" : "#B4009E",
            "brightRed" : "#E74856",
            "brightWhite" : "#F2F2F2",
            "brightYellow" : "#F9F1A5",
            "cyan" : "#3A96DD",
            "foreground" : "#EEEEEE",
            "green" : "#13A10E",
            "name" : "Campbell",
            "purple" : "#881798",
            "red" : "#C50F1F",
            "white" : "#CCCCCC",
            "yellow" : "#C19C00"
        },
        {
            "background" : "#000000",
            "black" : "#000000",
            "blue" : "#000080",
            "brightBlack" : "#808080",
            "brightBlue" : "#0000FF",
            "brightCyan" : "#00FFFF",
            "brightGreen" : "#00FF00",
            "brightPurple" : "#FF00FF",
            "brightRed" : "#FF0000",
            "brightWhite" : "#FFFFFF",
            "brightYellow" : "#FFFF00",
            "cyan" : "#008080",
            "foreground" : "#C0C0C0",
            "green" : "#008000",
            "name" : "Vintage",
            "purple" : "#800080",
            "red" : "#800000",
            "white" : "#C0C0C0",
            "yellow" : "#808000"
        },
        {
            "background" : "#282C34",
            "black" : "#282C34",
            "blue" : "#61AFEF",
            "brightBlack" : "#5A6374",
            "brightBlue" : "#61AFEF",
            "brightCyan" : "#56B6C2",
            "brightGreen" : "#98C379",
            "brightPurple" : "#C678DD",
            "brightRed" : "#E06C75",
            "brightWhite" : "#DCDFE4",
            "brightYellow" : "#E5C07B",
            "cyan" : "#56B6C2",
            "foreground" : "#DCDFE4",
            "green" : "#98C379",
            "name" : "One Half Dark",
            "purple" : "#C678DD",
            "red" : "#E06C75",
            "white" : "#DCDFE4",
            "yellow" : "#E5C07B"
        },
        {
            "background" : "#FAFAFA",
            "black" : "#383A42",
            "blue" : "#0184BC",
            "brightBlack" : "#4F525D",
            "brightBlue" : "#61AFEF",
            "brightCyan" : "#56B5C1",
            "brightGreen" : "#98C379",
            "brightPurple" : "#C577DD",
            "brightRed" : "#DF6C75",
            "brightWhite" : "#FFFFFF",
            "brightYellow" : "#E4C07A",
            "cyan" : "#0997B3",
            "foreground" : "#383A42",
            "green" : "#50A14F",
            "name" : "One Half Light",
            "purple" : "#A626A4",
            "red" : "#E45649",
            "white" : "#FAFAFA",
            "yellow" : "#C18301"
        },
        {
            "background" : "#002B36",
            "black" : "#073642",
            "blue" : "#268BD2",
            "brightBlack" : "#002B36",
            "brightBlue" : "#839496",
            "brightCyan" : "#93A1A1",
            "brightGreen" : "#586E75",
            "brightPurple" : "#6C71C4",
            "brightRed" : "#CB4B16",
            "brightWhite" : "#FDF6E3",
            "brightYellow" : "#657B83",
            "cyan" : "#2AA198",
            "foreground" : "#839496",
            "green" : "#859900",
            "name" : "Solarized Dark",
            "purple" : "#D33682",
            "red" : "#DC322F",
            "white" : "#EEE8D5",
            "yellow" : "#B58900"
        },
        {
            "background" : "#FDF6E3",
            "black" : "#073642",
            "blue" : "#268BD2",
            "brightBlack" : "#002B36",
            "brightBlue" : "#839496",
            "brightCyan" : "#93A1A1",
            "brightGreen" : "#586E75",
            "brightPurple" : "#6C71C4",
            "brightRed" : "#CB4B16",
            "brightWhite" : "#FDF6E3",
            "brightYellow" : "#657B83",
            "cyan" : "#2AA198",
            "foreground" : "#657B83",
            "green" : "#859900",
            "name" : "Solarized Light",
            "purple" : "#D33682",
            "red" : "#DC322F",
            "white" : "#EEE8D5",
            "yellow" : "#B58900"
        }
    ]
}

I validated it by pasting into dev tools in firefox and it didn't choke on it, so it is valid JSON.

@darthpale commented on GitHub (Sep 18, 2019): my profiles.json ``` { "globals" : { "alwaysShowTabs" : true, "defaultProfile" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "initialCols" : 120, "initialRows" : 30, "keybindings" : [ { "command" : "closePane", "keys" : [ "ctrl+shift+w" ] }, { "command" : "copy", "keys" : [ "ctrl+shift+c" ] }, { "command" : "duplicateTab", "keys" : [ "ctrl+shift+d" ] }, { "command" : "newTab", "keys" : [ "ctrl+shift+t" ] }, { "command" : "newTabProfile0", "keys" : [ "ctrl+shift+1" ] }, { "command" : "newTabProfile1", "keys" : [ "ctrl+shift+2" ] }, { "command" : "newTabProfile2", "keys" : [ "ctrl+shift+3" ] }, { "command" : "newTabProfile3", "keys" : [ "ctrl+shift+4" ] }, { "command" : "newTabProfile4", "keys" : [ "ctrl+shift+5" ] }, { "command" : "newTabProfile5", "keys" : [ "ctrl+shift+6" ] }, { "command" : "newTabProfile6", "keys" : [ "ctrl+shift+7" ] }, { "command" : "newTabProfile7", "keys" : [ "ctrl+shift+8" ] }, { "command" : "newTabProfile8", "keys" : [ "ctrl+shift+9" ] }, { "command" : "nextTab", "keys" : [ "ctrl+tab" ] }, { "command" : "openSettings", "keys" : [ "ctrl+," ] }, { "command" : "paste", "keys" : [ "ctrl+shift+v" ] }, { "command" : "prevTab", "keys" : [ "ctrl+shift+tab" ] }, { "command" : "scrollDown", "keys" : [ "ctrl+shift+down" ] }, { "command" : "scrollDownPage", "keys" : [ "ctrl+shift+pgdn" ] }, { "command" : "scrollUp", "keys" : [ "ctrl+shift+up" ] }, { "command" : "scrollUpPage", "keys" : [ "ctrl+shift+pgup" ] }, { "command" : "switchToTab0", "keys" : [ "ctrl+alt+1" ] }, { "command" : "switchToTab1", "keys" : [ "ctrl+alt+2" ] }, { "command" : "switchToTab2", "keys" : [ "ctrl+alt+3" ] }, { "command" : "switchToTab3", "keys" : [ "ctrl+alt+4" ] }, { "command" : "switchToTab4", "keys" : [ "ctrl+alt+5" ] }, { "command" : "switchToTab5", "keys" : [ "ctrl+alt+6" ] }, { "command" : "switchToTab6", "keys" : [ "ctrl+alt+7" ] }, { "command" : "switchToTab7", "keys" : [ "ctrl+alt+8" ] }, { "command" : "switchToTab8", "keys" : [ "ctrl+alt+9" ] } ], "requestedTheme" : "system", "showTabsInTitlebar" : true, "showTerminalTitleInTitlebar" : true, "wordDelimiters" : " ./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}~?\u2502" }, "profiles" : [ { "acrylicOpacity" : 0.60000002384185791, "background" : "#112345", "closeOnExit" : true, "colorScheme" : "Campbell", "commandline" : "powershell.exe", "cursorColor" : "#FFFFFF", "cursorShape" : "filledBox", "fontFace" : "DejaVu Sans Mono for Powerline", "fontSize" : 12, "guid" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "historySize" : 9001, "icon" : "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png", "name" : "Windows PowerShell", "padding" : "0, 0, 0, 0", "snapOnInput" : true, "startingDirectory" : "%USERPROFILE%", "useAcrylic" : true }, { "acrylicOpacity" : 0.60000002384185791, "closeOnExit" : true, "colorScheme" : "Campbell", "commandline" : "cmd.exe", "cursorColor" : "#FFFFFF", "cursorShape" : "filledBox", "fontFace" : "DejaVu Sans Mono for Powerline", "fontSize" : 12, "guid" : "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "historySize" : 9001, "icon" : "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png", "name" : "Windows CMD", "padding" : "0, 0, 0, 0", "snapOnInput" : true, "startingDirectory" : "%USERPROFILE%", "useAcrylic" : true } ], "schemes" : [ { "background" : "#0C0C0C", "black" : "#0C0C0C", "blue" : "#0037DA", "brightBlack" : "#767676", "brightBlue" : "#3B78FF", "brightCyan" : "#61D6D6", "brightGreen" : "#16C60C", "brightPurple" : "#B4009E", "brightRed" : "#E74856", "brightWhite" : "#F2F2F2", "brightYellow" : "#F9F1A5", "cyan" : "#3A96DD", "foreground" : "#EEEEEE", "green" : "#13A10E", "name" : "Campbell", "purple" : "#881798", "red" : "#C50F1F", "white" : "#CCCCCC", "yellow" : "#C19C00" }, { "background" : "#000000", "black" : "#000000", "blue" : "#000080", "brightBlack" : "#808080", "brightBlue" : "#0000FF", "brightCyan" : "#00FFFF", "brightGreen" : "#00FF00", "brightPurple" : "#FF00FF", "brightRed" : "#FF0000", "brightWhite" : "#FFFFFF", "brightYellow" : "#FFFF00", "cyan" : "#008080", "foreground" : "#C0C0C0", "green" : "#008000", "name" : "Vintage", "purple" : "#800080", "red" : "#800000", "white" : "#C0C0C0", "yellow" : "#808000" }, { "background" : "#282C34", "black" : "#282C34", "blue" : "#61AFEF", "brightBlack" : "#5A6374", "brightBlue" : "#61AFEF", "brightCyan" : "#56B6C2", "brightGreen" : "#98C379", "brightPurple" : "#C678DD", "brightRed" : "#E06C75", "brightWhite" : "#DCDFE4", "brightYellow" : "#E5C07B", "cyan" : "#56B6C2", "foreground" : "#DCDFE4", "green" : "#98C379", "name" : "One Half Dark", "purple" : "#C678DD", "red" : "#E06C75", "white" : "#DCDFE4", "yellow" : "#E5C07B" }, { "background" : "#FAFAFA", "black" : "#383A42", "blue" : "#0184BC", "brightBlack" : "#4F525D", "brightBlue" : "#61AFEF", "brightCyan" : "#56B5C1", "brightGreen" : "#98C379", "brightPurple" : "#C577DD", "brightRed" : "#DF6C75", "brightWhite" : "#FFFFFF", "brightYellow" : "#E4C07A", "cyan" : "#0997B3", "foreground" : "#383A42", "green" : "#50A14F", "name" : "One Half Light", "purple" : "#A626A4", "red" : "#E45649", "white" : "#FAFAFA", "yellow" : "#C18301" }, { "background" : "#002B36", "black" : "#073642", "blue" : "#268BD2", "brightBlack" : "#002B36", "brightBlue" : "#839496", "brightCyan" : "#93A1A1", "brightGreen" : "#586E75", "brightPurple" : "#6C71C4", "brightRed" : "#CB4B16", "brightWhite" : "#FDF6E3", "brightYellow" : "#657B83", "cyan" : "#2AA198", "foreground" : "#839496", "green" : "#859900", "name" : "Solarized Dark", "purple" : "#D33682", "red" : "#DC322F", "white" : "#EEE8D5", "yellow" : "#B58900" }, { "background" : "#FDF6E3", "black" : "#073642", "blue" : "#268BD2", "brightBlack" : "#002B36", "brightBlue" : "#839496", "brightCyan" : "#93A1A1", "brightGreen" : "#586E75", "brightPurple" : "#6C71C4", "brightRed" : "#CB4B16", "brightWhite" : "#FDF6E3", "brightYellow" : "#657B83", "cyan" : "#2AA198", "foreground" : "#657B83", "green" : "#859900", "name" : "Solarized Light", "purple" : "#D33682", "red" : "#DC322F", "white" : "#EEE8D5", "yellow" : "#B58900" } ] } ``` I validated it by pasting into dev tools in firefox and it didn't choke on it, so it is valid JSON.
Author
Owner

@zadjii-msft commented on GitHub (Mar 23, 2020):

Hey I'm just skimming through old issues, and it looks like this never got resolved.

@darthpale are you still seeing this anymore? Sorry we lost track of it!

@zadjii-msft commented on GitHub (Mar 23, 2020): Hey I'm just skimming through old issues, and it looks like this never got resolved. @darthpale are you still seeing this anymore? Sorry we lost track of it!
Author
Owner

@darthpale commented on GitHub (Mar 23, 2020):

It was resolved in the normal course of the dev cycle.

@darthpale commented on GitHub (Mar 23, 2020): It was resolved in the normal course of the dev cycle.
Author
Owner

@zadjii-msft commented on GitHub (Mar 23, 2020):

Awesome, thanks for following up!

@zadjii-msft commented on GitHub (Mar 23, 2020): Awesome, thanks for following up!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3918