Calamares fails to parse GeoIP results correctly in JSON
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Calamares |
Fix Released
|
Unknown
|
|||
calamares (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
geoip-database (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
STEPS TO REPRODUCE
0. Ensure Internet is connected
1. Boot Focal or Groovy Lubuntu or Groovy Ubuntu Studio
2. Run the installer
3. Advance to the time zone selection map
EXPECTED RESULTS
The actual time zone is selected.
ACTUAL RESULTS
New York is selected no matter what.
NOTES
A similar bug was fixed with 3.2.14-0ubuntu1
https:/
It seems that between then and Focal (3.2.20), there was another similar regression affecting JSON handling.
Log files show something like this:
virtual QString CalamaresUtils:
WARNING:Invalid YAML data for GeoIPJSON
setGeoIP(Config*, const QVariantMap&
GeoIP result for welcome= ""
void setCountry(Config*, const QString&, CalamaresUtils:
Unusable country code ""
.. Obtained from "https:/
The ultimate effect on the user was resolved by changing to XML (and subsequently Canonical's GeoIP services):
https:/
However, this bug remains to track changes to JSON parsing, since it may be something we will need to use in the future.
Given that this doesn't really have an impact on users, its Importance has been set to low.
description: | updated |
Changed in calamares (Ubuntu): | |
importance: | Undecided → Low |
summary: |
- lubuntu qa-test install with internet, calamares is selecting new york + Calamares fails to parse GeoIP results correctly in JSON |
Changed in calamares (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in geoip-database (Ubuntu): | |
status: | New → Invalid |
Changed in calamares: | |
status: | Unknown → Fix Released |
This bug has been reported on the Ubuntu ISO testing tracker.
A list of all reports related to this bug can be found here: iso.qa. ubuntu. com/qatracker/ reports/ bugs/1898501
http://