[Bug 1898501] Re: lubuntu qa-test install with internet, calamares is selecting new york
** 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.52AU 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&):: + 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
[Bug 1898501] Re: lubuntu qa-test install with internet, calamares is selecting new york
Glad to hear it, Leó. You might want to comment on that other bug since ultimately you're seeing its effects. It would still be nice to get the JSON handling fixed, so let's keep *this* bug open for that particular purpose. -- 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: lubuntu qa-test install with internet, calamares is selecting new york 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
[Bug 1898501] Re: lubuntu qa-test install with internet, calamares is selecting new york
- Tested lubuntu Groovy daily ISO - http://cdimage.ubuntu.com/lubuntu /daily-live/20201015/groovy-desktop-amd64.iso - - Calamares now selects correct location - in my instance - Iceland - - Tested on InWin BL641 i5-10400 and Lenovo V14 IIL i3-1005G1 - Looks like this bug is squashed. -- 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: lubuntu qa-test install with internet, calamares is selecting new york 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
[Bug 1898501] Re: lubuntu qa-test install with internet, calamares is selecting new york
Though it does not fix this issue directly (which seems to be related to parsing JSON), switching to XML resolves its symptoms, so there's work in progress to do that and to use Canonical's GeoIP service at that: https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/1899854 -- 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: lubuntu qa-test install with internet, calamares is selecting new york 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
[Bug 1898501] Re: lubuntu qa-test install with internet, calamares is selecting new york
session.log ** Attachment added: "session.log" https://bugs.launchpad.net/ubuntu/+source/calamares/+bug/1898501/+attachment/5421892/+files/session.log -- 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: lubuntu qa-test install with internet, calamares is selecting new york 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
[Bug 1898501] Re: lubuntu qa-test install with internet, calamares is selecting new york
Tested on Groovy daily and getting New York as timezone. Made the following edit in /etc/calamares/modules/locale.conf From: geoip: style: "json" url: "https://ipapi.co/json"; To: geoip: style: "xml" url: "https://ipapi.co/xml"; System was able to correctly identify my location -- 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: lubuntu qa-test install with internet, calamares is selecting new york 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
[Bug 1898501] Re: lubuntu qa-test install with internet, calamares is selecting new york
(I forgot to append in last comment) ** Attachment added: "session.log" https://bugs.launchpad.net/ubuntu/+source/calamares/+bug/1898501/+attachment/5421093/+files/session.log -- 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: lubuntu qa-test install with internet, calamares is selecting new york 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
[Bug 1898501] Re: lubuntu qa-test install with internet, calamares is selecting new york
Lubuntu groovy daily QA-install (d755-8) Calamares is reporting me as in New York, https://ipapi.co/json however reports the following --- ip "203.214.60.52" version "IPv4" city"Prahran" region "Victoria" region_code "VIC" country "AU" country_name"Australia" country_code"AU" country_code_iso3 "AUS" country_capital "Canberra" country_tld ".au" continent_code "OC" in_eu false postal "3181" latitude-37.8517 longitude 145.0007 timezone"Australia/Melbourne" utc_offset "+1100" country_calling_code"+61" currency"AUD" currency_name "Dollar" languages "en-AU" country_area7686850 country_population 24992369 asn "AS7545" org "TPG Telecom Limited" (looks pretty much the same as #6, but Aussie population appears to be growing faster than rabbits... 3M in 3 days???) -- 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: lubuntu qa-test install with internet, calamares is selecting new york 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
[Bug 1898501] Re: lubuntu qa-test install with internet, calamares is selecting new york
This bug also affects Lubuntu 20.04.1 tested dail ISO 20201005 -- 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: lubuntu qa-test install with internet, calamares is selecting new york 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
[Bug 1898501] Re: lubuntu qa-test install with internet, calamares is selecting new york
Lubuntu groovy QA-test install (install alongside with web connected); 2020-10-06 ISO Calamares is reporting me as in New York, https://ipapi.co/json however reports the following --- ip "203.214.60.52" version "IPv4" city"Prahran" region "Victoria" region_code "VIC" country "AU" country_name"Australia" country_code"AU" country_code_iso3 "AUS" country_capital "Canberra" country_tld ".au" continent_code "OC" in_eu false postal "3181" latitude-37.8517 longitude 145.0007 timezone"Australia/Melbourne" utc_offset "+1100" country_calling_code"+61" currency"AUD" currency_name "Dollar" languages "en-AU" country_area7686850 country_population 21515754 asn "AS7545" org "TPG Telecom Limited"" -- 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: lubuntu qa-test install with internet, calamares is selecting new york 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
[Bug 1898501] Re: lubuntu qa-test install with internet, calamares is selecting new york
here's the calamares session log: https://paste.ubuntu.com/p/cbMcQrr998/ -- 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: lubuntu qa-test install with internet, calamares is selecting new york 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
[Bug 1898501] Re: lubuntu qa-test install with internet, calamares is selecting new york
I can confirm this. Firefox reports my location as : 64.1360 N 21.9203 W Reykjavik Iceland calamares has selected 'New York' as my location, Region:America Zone: New York I then manually selected Iceland as location and continued with the install. After installation and reboot the location is correct. -- 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: lubuntu qa-test install with internet, calamares is selecting new york 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
[Bug 1898501] Re: lubuntu qa-test install with internet, calamares is selecting new york
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: calamares (Ubuntu) Status: New => Confirmed -- 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: lubuntu qa-test install with internet, calamares is selecting new york 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
[Bug 1898501] Re: lubuntu qa-test install with internet, calamares is selecting new york
This bug has been reported on the Ubuntu ISO testing tracker. A list of all reports related to this bug can be found here: http://iso.qa.ubuntu.com/qatracker/reports/bugs/1898501 ** Tags added: iso-testing -- 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: lubuntu qa-test install with internet, calamares is selecting new york 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