/srv/irclogs.ubuntu.com/2020/10/14/#lubuntu-devel.txt

guiverc2Yippeee!!   Lubuntu daily appears to boot on hp dc7700 again !00:00
lubot<franksmcb> I have some progress. If I edit /etc/calamares/modules/locale.conf and change in in geoip. style to "xml" and url from "json" to "xml" i get proper timezone pickedup00:00
=== guiverc2 is now known as guiverc
wxlEXCELLENT00:00
wxl^ to both00:01
wxlso that tells us the problem must be in the locale module 00:01
wxland something about parsing the json.00:01
wxlor it's not providing the right results but i think that's unlikely00:02
wxl(it meaning ipapi)00:02
kc2bezI am leaning towards not parsing correctly since it displays as I would expect in the browser.00:03
wxlright, and in `curl`00:03
kc2bezright00:04
wxlplus there was that whole error about parsing00:04
kc2bezright00:04
wxloh which cala do we have in ci anyways?00:04
kc2bezlatest git 00:05
wxloh goodie00:05
kc2bezin unstable anyway00:05
wxlso then we do have a bug00:05
tsimonq2DID SOMEONE SAY GIT BISECT?00:05
wxl@franksmcb please include the log file and all the results of your testing in that bug report and i'll file upstream00:06
tsimonq2:)00:06
wxli mean it sure seems like a regression00:06
kc2bezThere is ABI BREAK XD00:06
tsimonq2XD00:06
* guiverc passes kc2bez some scotch tape :)00:06
wxl…cuz, if it's not scottish, it's crap?00:07
wxl^ old people will get that joke00:07
kc2bezThat should cover nicely. Thanks guiverc :D00:07
kc2bezI remember00:07
wxltold you XD00:07
lubot<franksmcb> Will do wxl00:08
wxlhttps://www.dailymotion.com/video/xgzfxs00:10
tsimonq2<wxl "@franksmcb please include the lo"> When you get that filed please let me know00:10
tsimonq2I will git bisect it in the coming day if upstream doesn't know right away 00:11
tsimonq2<wxl "oh which cala do we have in ci a"> Stable or unstable? ;)00:11
wxl@tsimonq2 bug's here https://bugs.launchpad.net/ubuntu/+source/calamares/+bug/189850100:14
ubot93Launchpad bug 1898501 in calamares (Ubuntu) "lubuntu qa-test install with internet, calamares is selecting new york" [Undecided, Confirmed]00:14
wxli will again point out this from the log:00:15
wxlvirtual QString CalamaresUtils::GeoIP::GeoIPJSON::rawReply(const QByteArray&) WARNING:Invalid YAML data for GeoIPJSON00:15
wxltl;dr it appears the problem is that the code is having trouble parsing the results00:15
lubot<franksmcb> Updated the bug report00:24
lubot<kc2bez> @franksmcb [Updated the bug report], Thanks again!00:28
wxlit does seem like welcome still fails, which overall agrees with my thinking the idea here is that GeoIPJSON is broken in general00:30
wxl(since bill only made changes to locale)00:30
wxlbut locale is certainly behaving now00:30
wxlso i heard that we know the problem exists in focal00:31
wxli presume, then, that the issue did NOT exist in eoan00:32
lubot<kc2bez> guiverc mentioned that it happens in focal00:32
lubot<kc2bez> I thought I chased this down a cycle or two ago.00:33
wxlwhich would suggest that the problem occured after 3.2.14 but before 3.2.2000:33
guivercWe've had the issue before.. but I too believe it was fixed..00:33
wxlyeah we had it a long time ago and it was something else from what i can remember00:33
wxli certainly don't remember that particular error00:34
wxlso it would be good to spot check past ISOs and see if we can find the most recent time it was NOT a problem and the most distant time it WAS a problem00:34
lubot<kc2bez> You might be right about the error but the failure mode is similar.00:34
wxlthat will give @tsimonq2 the information he needs to bisect00:35
guivercI've a focal daily (2020-10-07), I'll boot in VM and see what it detects; will be awhile00:37
wxlthx guiverc. get the version too while you're at it00:38
lubot<teward001> i'm lazy do you still need me to test 20.04 -> 20.10 upgrades wxl?00:40
wxlnope thx @teward00100:40
guivercto test my VM (rarely use it), I booted focal 2020-04-23 with calamares 3.2.20-0ubuntu1 & it reports new york, internet is working !00:43
* guiverc switching it to test 2020-10-07 00:43
guivercsorry focal ISO reports 2020-10-06 (/etc/apt/sources.list), calamares 3.2.20-0ubuntu1 with working internet, but New York again.00:49
wxlok so our last bug was fixed with 3.2.14 https://bugs.launchpad.net/ubuntu/+source/calamares/+bug/184542400:49
ubot93Launchpad bug 1845424 in calamares (Ubuntu) "Calamares not selecting correct timezone when connected to internet" [Undecided, Fix Released]00:49
wxlinteresting what i find there00:50
wxlWARNING: Invalid YAML data for GeoIPJSON 00:50
wxlso like i said 3.2.14 to 3.2.2000:51
wxlsomewhere in there00:51
wxli'm off for the night00:51
guivercNight wxl & thanks00:53
guivercgrrr. groovy daily won't boot on other hp00:57
lubot<HMollerCl> what does the lubuntu icon mean in synaptic? https://snapforum.s3.amazonaws.com/original/2X/6/689c143d3cb5e0f2719a0907d87ec667017a8ea6.png02:43
lubot<teward001> I believe it's an icon indicating "Package is supported by the distribution" - hover over the icon in the description and see what it says @HMollerCl03:31
lubotc0d3ly0k0 was added by: c0d3ly0k007:18
lubot<HMollerCl> @teward001 [I believe it's an icon indicating "Package is supported by the distribution" - h …], I don't have a 18.04 anymore, I thought at the time it was a package present at clean installation (so I didn't uninstall when I was cleaning). It's a thing I miss in muon.11:30
lubot<teward001> *shrugs* no idea :P14:16
lubot<teward001> but I still have SYnaptic on 20.04 ;)14:16
lubot<teward001> becaus I use it to sort by source when i'm cleaning out PPAs and stuff14:16
wxl@tsimonq2: any luck with your bisecting?17:43
tsimonq2<wxl "@tsimonq2: any luck with your bi"> That was on the TODO list for today 17:48
tsimonq2Looking17:48
wxlko17:49
tsimonq2What were our start points for this again?17:55
wxl3.2.14 to 3.2.2017:57
wxlwe had a similar problem that was solved with 3.2.14, but somewhere along the way it popped up again17:57
wxl@tsimonq2: i will again emphasize that it seems to be an issue with parsing json NOT xml, so i don't think the issue is within either module's logic, but instead in the geoip utility functions17:58
tsimonq2Okay sounds good17:59
lubot<teward001> geoip utility functions...18:08
lubot<teward001> you using a geoip library somewhere wxl?18:08
lubot<teward001> tsimonq2: wxl: asking because if you're using GeoIP functions you might need a second set of eyes18:09
lubot<teward001> there's a lot of weirdness that comes wtih GeoIP stuff :P18:09
lubot<teward001> i'd know, i had to write a GeoIP integration into a python API >.<18:09
lubot<HMollerCl> @teward001 I think they're looking at geoip on cala18:10
wxl@teward001 there's functionality within lxqt that, given rather simple results from api calls to online geoip services, twiddles localization stuff accordingly18:11
lubot<teward001> lemme guess not python then :P18:12
lubot<teward001> online geoip can be tricky too :P18:12
wxlhttps://github.com/calamares/calamares/blob/c40a5d62ca9b81d5e0b1b19acf1b8d720aa3e198/src/libcalamares/geoip/GeoIPJSON.cpp18:13
wxlerr https://github.com/calamares/calamares/blob/master/src/libcalamares/geoip/GeoIPJSON.cpp18:13
lubot<teward001> yep that looks like pain xD18:13
wxlnot so much, at least not any more than c++ normally is18:13
wxlfor that matter, i find cala's code rather elegant and readable18:14
lubot<teward001> i hope they aren't using MaxMind GeoIP legacy 'cause that's dead18:14
lubot<teward001> and GeoIP2 isn't free18:14
tsimonq2Syncing my ISOs now.18:15
wxli mean to be fair, all this does is interpret geoip data18:16
wxlthe actually geoip in our case is being done by ipapi.co18:17
tsimonq2git bisecting does seem to be an awfully non-precise way to get a precise answer heh...18:17
wxlwhich, interestingly, they DO seem to be some testing again https://github.com/calamares/calamares/blob/master/src/libcalamares/geoip/GeoIPTests.cpp#L23818:17
wxls|\(again\)|\1st|18:18
tsimonq2wxl: Where was the manual testcase for this?18:18
tsimonq2Does it completely not work when selecting time zones on the current daily? (Is it that simple?)18:18
wxl@tsimonq2: basically, no matter what, you end up with new york18:18
tsimonq2You got it18:18
wxlto be fair, it autoselects it all for you, so it's not like you even really need to do anything18:19
-queuebot:#lubuntu-devel- Unapproved: libfm-qt (groovy-proposed/universe) [0.15.1-0ubuntu2 => 0.15.1-0ubuntu3] (lubuntu)18:43
tsimonq2I'm going to be verbose as I do this in case anyone would find it beneficial.21:13
tsimonq2My first step was identifying which Calamares Focal had. We did not see this as a Focal problem, so we know it is at least a sane starting point.21:14
tsimonq2I am currently building that with a Groovy schroot and installing it in the VM I have. If that fixes it, then we have our starting points.21:14
tsimonq2About my environment, I am doing the packaging on my local system and I have a VM that uses sshfs to get into my host system to pull the deb files etc.21:22
tsimonq2It looks like, unfortunately, that 3.2.20 right from Focal does not solve it. I'll go back a little further, but if that doesn't work it's probably underlying libraries.21:23
wxli might have not made myself clear before21:26
wxlthe bug is not fixed anywhere, including in master21:26
tsimonq2No, you are 100% clear.21:27
wxlwe had a similar bug solved with 3.2.14. sometime after that but before 3.2.20 (where we know the bug does exist) it popped up again, or manifested in a different form21:27
tsimonq2I am looking to see how far back we can go before there is a fix.21:27
wxlwhat you need to do is keep going back until you find it not broken XD21:27
tsimonq2Okay, so I'll start with `ubuntu/3.2.14-0ubuntu1` in the packaging.21:27
tsimonq2Yeah, we're on the same page.21:27
tsimonq2This part is fun because if old Cala doesn't build against new libraries, I have to tweak along the way.21:28
wxlright. the fix was indeed 3.2.14-0ubuntu121:29
wxlso that definitely worked21:29
tsimonq2I am confirming locally and then yes, I will start the proper Git bisect.21:29
tsimonq2Good to see you around again wxl, btw. :)21:29
tsimonq2You were right about Matrix, maybe a year or two early but you were right.21:30
wxlafter that, there's 3.2.14-0ubuntu{2-3}, 3.2.17.1-0ubuntu{1-5}, 3.2.18-0ubuntu1, and 3.2.19.1-0ubuntu121:30
wxlif it were me i'd hit on those major releases first as i doubt little patches are going to be the cause of our issues21:31
tsimonq2I'm not concerned about that, I will likely just do the Git bisect on the upstream repo and adjust packaging as needed.21:31
wxland yes it's nice to all be back :)21:31
wxlglad to hear you're enjoying matrix. what mobile client you using?21:32
tsimonq2Element21:32
tsimonq2What about you?21:32
wxlsame21:32
tsimonq2What's your Matrix handle? I'm @tsimonq2:linuxdelta.com21:33
wxl1s21:34
tsimonq2I don't even use irssi anymore, I do it all through Matrix. Super convenient.21:35
tsimonq2Looks like 3.2.14 won't build.21:44
tsimonq2Working my way up to see if I can get a better one...21:45
tsimonq2I'm hoping the regression is not in between 3.2.14 and 3.2.19.22:00
tsimonq2If not, I am going to have to backport a Boost patch. Nice.22:00
tsimonq2I think that's what I'm going to have to do. 3.2.19 doesn't work.22:11
wxl[m]finally back. my previous provider stopped offering matrix :(22:14
tsimonq2Aww. :(22:16
tsimonq2You shouldn't even be able to tell I'm on Matrix (except for me saying so) yeah?22:16
kc2bezFrom irc I can tell 22:23
tsimonq2Oh?22:23
kc2bezYour name has your matrix username22:24
tsimonq2huh ok22:24
kc2bezquasseldroid pulls down your matrix avatar too22:30
tsimonq2NICE22:32
tsimonq2That's neat.22:32
tsimonq2Does it just have my username there or my full name?22:32
tsimonq2Also, as a status update, I am git bisecting to see if I can find the code that fixed things with the newer Boost version.22:33
wxljust the username22:34
lubot<kc2bez> (Photo, 760x266) https://i.imgur.com/lFx5OOf.jpg22:34
tsimonq2Sweet.22:34
krytariktsimonq2: Fwiw, you aren't even logged in to your Freenode account currently, so you get the full glory of a KDE Matrix hostname, too. >_<22:48
tsimonq2I'm not????22:48
tsimonq2Ooooooops.22:48
lubot<teward001> @wxl [<wxl> the actually geoip in our case is being done by ipapi.co], hope the backend API usage has people paying for it...22:49
lubot<teward001> because otherwise that API is going to have problems lol22:49
lubot<teward001> *smacks @tsimonq2 for failure*22:49
tsimonq2I'm thinking we should just point that to KDE's.22:50
* tsimonq2 smacks @teward001 for Reasons22:50
wxlwe're allowed up to 30k lookups a month :)22:50
lubot<teward001> wxl: still a low number if, for instance, someone decides to move an entire set of systems over to Lubuntu.  :P22:51
lubot<UniversalSuperBox> Has Ubuntu gotten rid of its own geoip infrastructure?22:51
lubot<UniversalSuperBox> Canonical definitely had it in the Touch days, thought it was still kicking around22:51
kc2bezI like your optimism @teward00122:52
tsimonq2I mean, Ubuntu probably does22:52
tsimonq2<kc2bez "I like your optimism @teward001"> He isn't actually far off.22:52
kc2bez:D22:52
lubot<teward001> I mean, I use GeoIPLite2 databases off of MaxMind on my iptracker site I use for local regional testing and IP checks22:52
lubot<teward001> works pretty well, though sliiighly inaccurate at times22:53
wxli disagree. he's definitely off. but he's probably right about this22:53
tsimonq2Let's have that discussion. Should it be on our own infra? What does Canonical offer? What does KDE offer?22:53
wxli don't know how reliable that kde service is22:53
lubot<teward001> wxl: I'm always 'off' - it's what makes me a good IT Security person 'cause i'm in the extremist category of insanity22:53
lubot<teward001> extreme category*22:53
wxl@teward001 no i mean you stink :)22:53
tsimonq2"Chaotic evil."22:53
tsimonq2XD22:53
lubot<teward001> hold that thought.  *drops fifty tons of toxic waste on wxl's home* right, that's done now.22:54
kc2bezWhat is driving the KDE stuff?22:54
lubot<teward001> oh i got a ping22:54
tsimonq2<kc2bez "What is driving the KDE stuff?"> I think just a Golang server on their infra.22:54
wxlhttps://geoip.kde.org/doc/22:54
lubot<UniversalSuperBox> Go, run away22:54
tsimonq2Again, it's just up to whether we want it to be our infra that gets hammered. :P22:55
wxlit's a part of their infrastructure https://community.kde.org/Infrastructure22:55
lubot<teward001> i mean... https://ifconfig.co/ is something I've used, it's a FOSS solution, and I can run it off our infra if we want it22:55
lubot<teward001> curl the `/json` URI and you can get timezone and other data pretty easy22:55
wxli think i would prefer not to run it off our own infra if we can avoid it22:55
tsimonq2I'm in agreement there.22:56
tsimonq2Can we just run it off of KDE's? What would be the downsides to doing that?22:56
lubot<teward001> KDE explodes, infra goes away, ip lookups fubar hard22:57
wxlright22:57
kc2bezthat^22:57
tsimonq2Okay, so what's the best solution then?22:57
tsimonq2(Should we try to use Canonical's?)22:58
wxli think using some external, established, service is going to be wise22:58
wxlif canonical still has it, i'm all for that22:58
kc2bez+122:58
wxlwhere we find that i don't know22:58
kc2bezand does it give us everything we need22:59
tsimonq2I think we should explore whether Calamares can interpret the Canonical data given that it's in XML and not standardized.22:59
lubot<teward001> you'd probably need an  XML parser in Cala to handle the data22:59
kc2bezxml should work22:59
tsimonq2Right.22:59
tsimonq2http://geoip.ubuntu.com/lookup22:59
wxlxml is fine as long as it has a selector with a country code and a selector with a time zone22:59
tsimonq2That's our starting point.22:59
wxloh good find23:00
kc2bezright23:00
tsimonq2<CountryCode>US</CountryCode>23:00
tsimonq2<TimeZone>America/Chicago</TimeZone>23:00
wxlwell if we made that switch, we can just ignore this bug because it won't affect us (it seems the problem is json not xml)23:00
tsimonq2Regardless, I would like to see it fixed...23:00
wxlcurious. i get no time zone.23:00
lubot<teward001> wxl: does your IP have geoip location?23:00
lubot<teward001> not all have timezone data in their geolocations23:01
lubot<teward001> esp. if it looks up as Middle Of Nowhere23:01
lubot<teward001> :P23:01
wxlwell it works with all the other ones23:01
tsimonq2We might also want to look at how Ubiquity handles this.23:01
tsimonq2I get a time zone.23:01
kc2bezsame here23:01
wxlmight be something to do with my ip then23:02
kc2beztor browser XD23:02
tsimonq2I'm just going to see really quickly if it works as a drop-in replacement.23:02
wxlno tor gives like NOTHING23:02
wxlcountry code is "A1"23:03
wxl@tsimonq2: make sure to be very careful about the case sensitivity of the selector and don't forget to change the style to xml23:03
kc2bezI think we have country not countrycode in the settings so we will have to watch that. 23:03
wxl^23:03
kc2bezyes also case sensitive23:04
lubot<teward001> wxl PM me your IP i'll see what Maxmind says about your existence xD23:05
lubot<N0um3n0> @teward001 [wxl PM me your IP i'll see what Maxmind says about your existence xD], XD23:05
lubot<teward001> well he did xD23:07
lubot<teward001> i'm actually surprisingly impressed by ipapi heh.23:12
lubot<teward001> but 1k lookups per day is their limit23:13
lubot<teward001> (on free)23:13
lubot<teward001> @tsimonq2 wxl: I'd say use Canonical or KDE's infra, or use ipapi.  Failing that, I can probably reactivate my ipcheck site which is based off of ifconfig.co (but uses GeoIP2 libs)23:16
tsimonq2Canonical's works as a drop-in replacement.23:16
wxli'm voting on canonical23:16
tsimonq2I will throw the change in ci/stable for testing prior to uploading.23:17
wxli suspect that will continue to be used23:17
tsimonq2Oh wait, I can't just throw it in CI. Native package.23:18
tsimonq2I did test it to confirm so I'll just upload it.23:18
kc2bezNice. Thank you tsimonq2 23:20
tsimonq2ofc23:21
wxlmaybe just file an upstream issue about the json problem. or just leave a new on cala chat23:23
wxlthey'll figure it out :)23:23
tsimonq2Okay.23:24
tsimonq2Uploaded to Groovy, preparing an SRU for Focal.23:24
-queuebot:#lubuntu-devel- Unapproved: calamares-settings-ubuntu (groovy-proposed/universe) [1:20.10.10 => 1:20.10.11] (lubuntu, ubuntustudio)23:26
wxlhttps://git.launchpad.net/ubuntu/+source/ubiquity/tree/ubiquity/plugins/ubi-timezone.py#n3923:27
Eickmeyer[m]tsimonq2: That upload is all good and everything, I just hope it doesn't break North Idaho. Ubiquity incorrectly identifies North Idaho as Mountain Time when it's in Pacific Time, and I don't know if it's related to the Canonical geoip service.23:29
* Eickmeyer[m] is directly affected23:30
* Eickmeyer[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/bWMIgFTYuHNbOgjetxKnTqWV/message.txt >23:32
lubot<teward001> @Eickmeyer so go to http://geoip.ubuntu.com/lookup and seed what it says about you :P23:33
lubot<teward001> ahhh that's mountain time too23:33
lubot<teward001> hmm23:33
lubot<teward001> that sounds more like a GeoIP lib problem xD23:33
lubot<teward001> @Eickmeyer but also that won't affect you immediately, you can always alter during the install process23:33
lubot<teward001> that geoip i think is for autopop of the timezone during install23:34
lubot<teward001> which can be overridden whenever heh23:34
Eickmeyer[m]@teward001 Well, Fedora's installer identifies it correctly, so it's clearly something set wrong at geoip.ubuntu.com.23:34
wxlwellllll23:34
wxlfrom what i can see in ubiquity it doesn't use that23:34
Eickmeyer[m]I realize it's trivial, but it's still wrong.23:34
wxlit uses geoname-lookup.ubuntu.com23:34
Eickmeyer[m]I'm willing to bet it's the same bug.23:35
wxli don't feel like expending the effort to figure out their api endpoints so moving on XD23:35
Eickmeyer[m]wxl: I think someone at Canonical needs to get it straight. The problem is that Idaho is in two different time zones. Everything north of the Salmon River is in Pacific, south is in Mountain.23:36
Eickmeyer[m]Unfortunatley, someone lumped the entire state into mountain, and it's been driving me nuts for years.23:37
wxlwhere's the bug report? :)23:37
Eickmeyer[m]If I have Automatic Time Zone selected in some DEs, I get thrown into Mountain.23:37
tsimonq2https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/189985423:38
ubot93Launchpad bug 1899854 in calamares-settings-ubuntu (Ubuntu Focal) "[SRU] Move to Canonical's GeoIP Service" [Medium, In Progress]23:38
-queuebot:#lubuntu-devel- Unapproved: calamares-settings-ubuntu (focal-proposed/universe) [1:20.04.2 => 1:20.04.2.1] (lubuntu)23:40
Eickmeyer[m]wxl: Looking....23:40
Eickmeyer[m]https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/189571623:41
ubot93Launchpad bug 1895716 in ubiquity (Ubuntu) "Ubiqutiy erroneously sees North Idaho in US Mountain Time" [Undecided, New]23:41
lubot<teward001> wxl: i mean, if it's that big a deal I can spin up a geoip lookup service here... I have no qualms about Lubuntu using my LLC's geoip lookup feature (it's ratelimited at like 60 lookups / minute)23:41
lubot<teward001> just gonna take a bit23:41
lubot<teward001> because i have to reassign IPs :P23:41
Eickmeyer[m]But, if it's a bug in geoip then I need to reassign it.23:42
wxlEickmeyer[m]: i'd advise updating that bug with the results of as many geoip services as possible23:46
wxlmy guess is all of them are likely good, so that would confirm the issue is in ubiquity as suggested23:47
tsimonq2Eickmeyer[m]: https://git.launchpad.net/launchpad/tree/lib/lp/services/worlddata23:47
wxlum23:52
wxl@tsimonq2: https://phab.lubuntu.me/source/calamares-settings-ubuntu/history/master/ ¿no existe?23:53
Eickmeyer[m]?23:53
tsimonq2Update Frequency23:53
tsimonq2    1 h, 49 m · Learn More 23:53
tsimonq2Just manually did an update.23:54
tsimonq2https://phab.lubuntu.me/source/calamares-settings-ubuntu/manage/basics/23:54
tsimonq2Right side.23:54
tsimonq2Except... where are the Phab daemons?23:54
wxlokok23:54
tsimonq2oh it did the thing23:54
tsimonq2ok23:54
kc2bezProlly needs a kick in the pants again ^23:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!