** Description changed: - Firefox search reports my location as + 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 - "203.214.60.52 AU St Kilda, - Victoria, - Australia, - Oceania 203.214.60.0/24 3182 -37.8661, - 144.981 10" + EXPECTED RESULTS + The actual time zone is selected. - however calamares has selected 'New York' as my location, - Region:America - Zone: New York + ACTUAL RESULTS + New York is selected no matter what. - I exited calamares, used firefox to check geoip location as noted before - & restarted calamares and again it had me as New York. + NOTES + A similar bug was fixed with 3.2.14-0ubuntu1 + https://bugs.launchpad.net/ubuntu/+source/calamares/+bug/1845424 - (My prior test today was without internet, thus new york was expected) + It seems that between then and Focal (3.2.20), there was another similar + regression affecting JSON handling. - ProblemType: Bug - DistroRelease: Ubuntu 20.10 - Package: calamares 3.2.24-0ubuntu2 - ProcVersionSignature: Ubuntu 5.8.0-20.21-generic 5.8.10 - Uname: Linux 5.8.0-20-generic x86_64 - .etc.calamares.modules.finished.conf: - --- - restartNowMode: user-checked - restartNowCommand: "systemctl -i reboot" - .etc.calamares.modules.partition.conf: - efiSystemPartition: "/boot/efi" - enableLuksAutomatedPartitioning: true - userSwapChoices: none - drawNestedPartitions: true - defaultFileSystemType: "ext4" - .etc.calamares.modules.shellprocess_logs.conf: - --- - dontChroot: true - timeout: 30 - script: - - calamares-logs-helper @@ROOT@@ - .etc.calamares.modules.unpackfs.conf: - --- - unpack: - - source: "/cdrom/casper/filesystem.squashfs" - sourcefs: "squashfs" - destination: "" - ApportVersion: 2.20.11-0ubuntu48 - Architecture: amd64 - CasperMD5CheckResult: pass - CasperVersion: 1.452 - CurrentDesktop: LXQt - Date: Sun Oct 4 23:45:48 2020 - LiveMediaBuild: Lubuntu 20.10 "Groovy Gorilla" - Beta amd64 (20201004) - RelatedPackageVersions: - calamares-settings-ubuntu-common 1:20.10.9 - calamares-settings-lubuntu 1:20.10.9 - xfsprogs 5.6.0-1ubuntu4 - btrfs-progs 5.7-1 - SourcePackage: calamares - UpgradeStatus: No upgrade log present (probably fresh install) + Log files show something like this: + virtual QString CalamaresUtils::GeoIP::GeoIPJSON::rawReply(const QByteArray&) + WARNING:Invalid YAML data for GeoIPJSON + setGeoIP(Config*, const QVariantMap&)::<lambda()> + GeoIP result for welcome= "" + void setCountry(Config*, const QString&, CalamaresUtils::GeoIP::Handler*) + Unusable country code "" + .. Obtained from "https://ipapi.co/json" ( 1 "country" ) + + The ultimate effect on the user was resolved by changing to XML (and subsequently Canonical's GeoIP services): + https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/1899854 + + 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.
** Changed in: calamares (Ubuntu) Importance: Undecided => Low ** Summary changed: - lubuntu qa-test install with internet, calamares is selecting new york + Calamares fails to parse GeoIP results correctly in JSON -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1898501 Title: Calamares fails to parse GeoIP results correctly in JSON To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/calamares/+bug/1898501/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs