Thanks for reporting this @a_user.
We have an open bug on home.mycroft.ai which is related to this - I’ve posted the wording of the bug below as it’s in a private repo.
Credits: this bug was identified, replicated and confirmed by user @sfd in Chat with @kathyreid
Description of bug in object-deviation format
When a User uses the select dropdown geosuggest to find a city, and then select one, the value that is stored in home.mycroft.ai is the first option, regardless of which option is selected.
Example:
User selects ‘Hamilton, New Zealand’
Validate by saving, then Speaking to Mark 1 Hey Mycroft, update config, to pull down the web_config_cache.json file.
Inspect the file, and you will see that the first option from the select has been stored:
pi@mark_1:/opt/mycroft $ cat web_config_cache.json
{"date_format": "DMY", "tts": {"google": {"created_at": 1504481866992, "updated_at": 1514794901075}, "module": "mimic", "fatts": {"created_at": 1504481866991, "updated_at": 1514794900939}, "mimic": {"created_at": 1504481866989, "voice": "ap", "updated_at": 1514794900809}, "espeak": {"created_at": 1504481866987, "updated_at": 1514794900679}, "marytts": {"created_at": 1504481866986, "updated_at": 1514794900548}}, "opt_in": true, "created_at": 1504481866955, "updated_at": 1514794898083, "listener": {"energy_ratio": 1.5, "created_at": 1504481866996, "updated_at": 1514794901398, "channels": 1, "sample_rate": 16000, "multiplier": 1.0, "threshold": 1e-90, "phonemes": "HH EY . M AY K R AO F T", "wake_word": "hey mycroft"}, "time_format": "full", "skills": {"directory": "~/.mycroft/skills", "created_at": 1504481866994, "updated_at": 1514794901226, "stop_threshold": 2.0}, "stt": {"google": {"credential": {"created_at": 1504481866970, "updated_at": 1514794899383}, "created_at": 1504481866970, "updated_at": 1514794898989}, "ibm": {"credential": {"created_at": 1504481866958, "updated_at": 1514794898334}, "created_at": 1504481866958, "updated_at": 1514794898218}, "mycroft": {"credential": {"created_at": 1504481866965, "updated_at": 1514794898856}, "created_at": 1504481866965, "updated_at": 1514794898469}, "module": "mycroft", "wit": {"credential": {"created_at": 1504481866981, "updated_at": 1514794900417}, "created_at": 1504481866981, "updated_at": 1514794900031}, "openstt": {"credential": {"created_at": 1504481866976, "updated_at": 1514794899900}, "created_at": 1504481866976, "updated_at": 1514794899521}}, "location": {"coordinate": {"latitude": 43.255721, "created_at": 1487035821068, "updated_at": 1487035821068, "longitude": -79.871102}, "city": {"created_at": 1487035820977, "state": {"country": {"created_at": 1486117561146, "code": "CA", "name": "Canada", "updated_at": 1486117561146}, "created_at": 1486117561095, "code": "ON", "name": "Ontario", "updated_at": 1486117561095}, "code": "Hamilton", "name": "Hamilton", "updated_at": 1487035820977}, "created_at": 1487035820972, "updated_at": 1487035820972, "timezone": {"code": "America/Toronto", "name": "Eastern Standard Time", "dst_offset": 3600000, "created_at": 1486117561337, "updated_at": 1486117561337, "offset": -18000000}}, "enclosure": {"created_at": 1504481866997, "rate": 9600, "updated_at": 1514794901541, "timeout": 5.0, "port": "/dev/ttyAMA0"}, "system_unit": "metric"}
Steps to replicate
- Go to home.mycroft.ai, Devices
- Change the Location to a city that is a duplicate - ie there are more than one of them in the world
- Select an
optionthat is not the firstoptionpresented in theselect. Take note of what the firstoptionis. - Save
- Update config on Mycroft device
- Inspect
web_config_cache.jsonfile, will show the firstoptionin Step #2
END STEPS
Bug has been validated with the following cities
- Edinburgh
- Perth
- Hamilton
What I think has happened here is that you’ve hit this bug with one of your Devices. What happens if you try to change the location to a nearby town or location?
Kind regards,
Kathy




