I did ran "gsettings rest apps.indicators.weather places" in the terminal and tried setting the location again via the GUI but it seemed to leave an empty value as the first value in the list, as seen above. So I closed the app and ran "gsettings rest apps.indicators.weather" places again and then ran "gsettings set apps.indicators.weather places '[["WOEID", "NAMEOFYOURCHOICE"]]'"
You can get the WOEID for your location at weather.yahoo website. If I search for New York the ending part of the url looks something like "new-york-2459115/" and that number is your WOEID.
e.g. if you lived in New York, New York you would run something like "gsettings set apps.indicators.weather places '[["2459115", "New York"]]'"
Had the same error and it turned out that the culprit line was
apps.indicators .weather places '["[", "]", ["115958", "Chihuahua"]]'
I did ran "gsettings rest apps.indicators .weather places" in the terminal and tried setting the location again via the GUI but it seemed to leave an empty value as the first value in the list, as seen above. So I closed the app and ran "gsettings rest apps.indicators .weather" places again and then ran "gsettings set apps.indicators .weather places '[["WOEID", "NAMEOFYOURCHOI CE"]]'"
You can get the WOEID for your location at weather.yahoo website. If I search for New York the ending part of the url looks something like "new-york-2459115/" and that number is your WOEID.
e.g. if you lived in New York, New York you would run something like "gsettings set apps.indicators .weather places '[["2459115", "New York"]]'"