/srv/irclogs.ubuntu.com/2011/10/05/#ubuntu-installer.txt

=== allee is now known as allee_
CIA-45ubiquity: stgraber * r5041 ubiquity/bin/ubiquity-dm: Make the clear call in ubiquity-dm clear the right tty00:50
CIA-45ubiquity: stgraber * r5042 ubiquity/bin/ubiquity-dm: Wait until clear in ubiquity-dm returned00:51
CIA-45ubiquity: stgraber * r5043 ubiquity/bin/ubiquity-dm: Don't fail if we can't open the tty01:01
CIA-45ubiquity: stgraber * r5044 ubiquity/debian/changelog: releasing version 2.8.301:01
CIA-45ubiquity: evand * r5045 trunk/ (debian/changelog ubiquity/plugins/ubi-console-setup.py):08:59
CIA-45ubiquity: Handle the keyboard query window closed callback being fired twice08:59
CIA-45ubiquity: (LP: #865493).08:59
evugh, this is why I need the Ubuntu geonames server set up in a Vagrant configuration: https://bugs.launchpad.net/ubuntu-geonames/+bug/83705409:23
ubot2Launchpad bug 837054 in ubuntu-geonames "Time Zone selection shows about 20 different "New York"s and doesn't autoselect my location" [Medium,Confirmed]09:23
CIA-45ubiquity: evand * r5046 trunk/ (debian/changelog ubiquity/frontend/gtk_ui.py):11:34
CIA-45ubiquity: Allow focusing of labels when we're in the screen reader11:34
CIA-45ubiquity: acessibility profile, so that Orca can read them11:34
CIA-45ubiquity: (LP: #856782, LP: #856773).11:34
evtried to get the resize widget usable from the keyboard11:35
evbut I can't seem to navigate it, even in a simple test application11:35
evusing a keyboard that is11:35
evf6 and f8 do nothing11:35
cjwatsongrr, why is localechooser-apply installed in two places13:00
cjwatsonwasted an hour of testing time due to that :(13:00
CIA-45ubiquity: cjwatson * r5047 trunk/ (4 files in 2 dirs):13:05
CIA-45ubiquity: Don't install duplicate copies of console-setup-apply,13:05
CIA-45ubiquity: localechooser-apply, and netcfg-wrapper.13:05
eveep13:09
evI'm currently losing time to virtualbox yet again losing the location of my windows 7 disk13:09
evdespite it being *right there*13:09
cjwatsonI'm sure everything would be easier if Simplified and Traditional Chinese had two different language codes13:20
cjwatsonsigh13:20
evugh, this definitely appears to be trashed13:49
cjwatsonargh, why am I getting I/O errors inside kvm14:16
* cjwatson tries giving it a bit more memory14:17
ev:)14:18
evI'm getting "Windows failed to start" using the Windows setup CD14:18
evI don't think today is turning out to be a stellar one for compuing14:18
evcomputing even14:18
cjwatsonthis is my third try; if this fails I'll have to resort to (shock) real hardware14:23
evhahaha14:25
PeanutI am upgrading an install-server, re-using the preseed.cfg for a lucid LTS (previously karmic). As expected, I get a few questions popping up - how can I figure out which d-i entries correspond to the questins that pop up?14:48
stgraberargh, just noticed I get "shutdown" and "log out" in the session indicator when installing using ubiquity-dm15:10
stgraberI guess I'll have to fix that, seems like I missed it in my tests yesterday15:10
stgraberbtw, any reason why we even have indicator-session when in install-only mode?15:11
superm1is that the same indicator applet that shows you your name?15:14
superm1if so, i noticed that during an oem-config run it briefly pops up the "OEM" name too15:14
evstgraber: so they can reboot if they really didn't mean to boot the Ubuntu CD15:16
stgraberev: ah, ok15:16
CIA-45ubiquity: evand * r5048 trunk/ (debian/changelog ubiquity/plugins/ubi-partman.py):15:56
CIA-45ubiquity: Make sure we account for the size of the installation and swap15:56
CIA-45ubiquity: partition when calculating the bounds for the partition resizer15:56
CIA-45ubiquity: (LP: #769350).15:56
stgraberfun, starting a live session, killing lightdm and starting ubiquity-dm makes gsettings work just fine, doesn't help to reproduce the bug though :)16:03
stgraberok, I "think" I found the bug. for some reason we don't have $USER set in the environment when using ubiquity-dm16:08
stgraberso ubiquity tries to change the gsettings options for root instead of for the ubuntu user16:08
CIA-45ubiquity: stgraber * r5049 ubiquity/ (bin/ubiquity-dm debian/changelog): Update ubiquity-dm to export self.username as SUDO_USER.16:18
stgraberev: that one line should be all that's needed to fix my gsettings bug, release when you want :)16:19
evyay16:19
evjust waiting for the publisher16:20
evand while I do, I'll fire up pbuilder16:21
CIA-45ubiquity: evand * r5050 trunk/.bzrignore: Update bzrignore.16:23
evjust trying to get a working pbuilder build17:04
evthe last one curiously segfaulted somewhere in the depths of gettext17:04
stgraberev: found out what made it segfault?19:05
stgrabersuperm1: for bug 868668, is the firewall/router on your network rejecting the connections on tcp/80 or just ignoring them?20:28
ubot2Launchpad bug 868668 in ubiquity "Installer hangs when progressing to timezone page for 45 sec" [Undecided,New] https://launchpad.net/bugs/86866820:28
stgrabersuperm1: I'd expect wget to give up quite quickly if it gets reject but the timeout value can be pretty high if it just doesn't get any response20:29
superm1stgraber, ignores them20:29
superm1it's annoying that DNS resolves though20:30
stgraberok, so would probably be worth tweaking the timeouts in the code a bit so it doesn't take that long20:30
stgraberI'll have a quick look at that once I'm done testing Edubuntu20:30
stgrabersuperm1: is it only tcp/80 that's being dropped or everything except 8080 to whatever your proxy server is?21:02
cjwatsondropping packets really is rubbish, you should get that fixed21:02
cjwatsonI consider that hostile firewall design ...21:02
stgrabercjwatson: it's unfortunately common :( I've seen that one quite a few company and university networks, though in some cases it's not so much dropping everything as just not having a route to the outside (with the same result)21:03
superm1stgraber, everything except local network servers and what the proxy server is21:03
cjwatsonit's common, but I don't think it should be tolerated when it can be changed21:03
superm1and it's the latter where there is no route to the outside really21:04
cjwatsonBTW I knew the timezone page was slow in this case but did not consider it RC, as most people can still easily complete the questions before ubiquity finishes copying files21:04
cjwatsonI'm not sure why it's been escalated through oem-priority given that21:05
superm1it's more the oem-config scenario that it matters21:05
cjwatsonah, I guess that does have a similar problem, yes21:05
superm1because testers get to the page and it's hung and bugs get filed21:05
cjwatsonthe fix is probably pretty invasive though21:07
cjwatsonfor oneiric21:07
superm1if it's not fixed for oneiric, it might just need to be SOP for oneiric to unplug the cable before going through oem-config or something i guess then21:08
cjwatsonI'm just trying to think of what a fix would look like21:09
stgraberI'm surprised it takes 45s, the code indicates it should take 15s + loading time of the ubiquity page, so let's say 20s maximum21:09
stgraberand testing here seems to match that21:09
cjwatson30s for rdate maybe?21:09
cjwatsonrdate is already wrapped in progresscancel; there's no progress bar on that page, but that means ubiquity at least has a way to cancel it21:10
cjwatsonthe wget is trickier21:10
cjwatsonwe have the connectivity check in the ubiquity frontend, so maybe we could stub out that wget21:11
stgraberyeah, that was my plan too, except that I just noticed that the connectivity check is buggy :)21:12
cjwatsonoh?21:12
stgraberit uses --timeout=15 but it's been running for 6 minutes here :)21:12
cjwatson!21:12
cjwatsonit's not just repeatedly running?21:12
stgrabersame pid21:12
cjwatsonstubbing out the wget would require either a change in ubiquity, or a compat script21:12
cjwatsoner, a change in *tzseteup21:13
cjwatsoncan't type, YKWIM21:13
stgraberok, found the problem21:13
stgraberwe start wget with -T 15 but not with -t 1 for the connectivity check21:13
stgraberso it waits 15s per try, with a possibly infinite number of retries21:13
cjwatsonah, yes21:14
cjwatsondefault is 2021:14
stgraber-t 1 -T 15 is what's being used by tzsetup and probably a good idea of the connectivity test too21:14
cjwatsonwell, allegedly, that would give five minutes though21:14
cjwatsonagreed21:14
=== allee_ is now known as allee
cjwatsonI think the easiest would be to give ubi-timezone a plugin_set_online_state method so that it gets told about state, and then before it starts the d-i callout it can preseed tzsetup/geoip_server to empty if it doesn't have connectivity21:15
cjwatsonthat will get rid of the wgwet21:16
cjwatsonand probably simplest to preseed clock-setup/ntp to false as well, which will get rid of the rdate21:16
cjwatsonslightly brutal but that seems like the least invasive fix21:17
cjwatsonstgraber: are you OK with doing that?21:17
CIA-45ubiquity: stgraber * r5051 ubiquity/ubiquity/ (frontend/base.py plugins/ubi-language.py): Whenever we call wget with a timeout, also set the number of tries to 1 instead of default of 2021:18
stgrabercjwatson: yep21:19
CIA-45ubiquity: stgraber * r5052 ubiquity/debian/changelog: Update changelog21:19
* cjwatson fails to understand why ubi-language has its own implementation of check_returncode *and* a plugin_set_online_state method21:20
cjwatsonoh, it's talking to a different URL21:20
cjwatsontry:21:21
cjwatson    import lsb_release21:21
cjwatson    _ver = lsb_release.get_distro_information()['RELEASE']21:21
cjwatsonexcept:21:21
cjwatson    _ver = '10.10'21:21
cjwatsonclassy21:21
stgraber:)21:21
* cjwatson fixes21:21
CIA-45ubiquity: cjwatson * r5053 trunk/ (debian/changelog ubiquity/plugins/ubi-language.py): Bump fallback Ubuntu version number in ubi-language to 11.10.21:22
stgrabercjwatson: http://paste.ubuntu.com/703017/21:54
cjwatsonstgraber: s/thing/think/ in the changelog :)21:56
cjwatsonstgraber: what happens if we get to the timezone page before the 15 seconds for the initial check have elapsed?21:56
cjwatsonstgraber: I wonder if maybe we'd be better off initialising self.online = False21:56
cjwatsonwith a TODO comment saying that we can flip this once we have the ability to abort the wget / rdate in progress21:57
stgraberwell, the way ubiquity seems to work is that it first runs plugin_set_online_state as True if Network Manager says we're online. Then starts the wget in background and sends a False if it timeouts or doesn't match the expected content.21:57
stgraberso whatever default we set in ubi-timezone, it'll always be True until wget times out21:58
cjwatsonhm21:58
cjwatsonthat's awkward then; many users won't take as long as 15 seconds to get past the first page21:58
stgraberindeed21:59
stgraberwe could change the logic to be offline until we get the right content from wget21:59
stgraberI personaly think it'd make sense though we need to make sure that server will scale on release day :)22:00
cjwatsonactually, are you sure?  the network_change stuff only calls set_online_state if False22:00
cjwatsonI don't see code setting it to True unless it gets a response from wget22:01
stgraberI only assumed it was as ubi-prepare always shows I'm connected until wget times out22:01
stgraberbut maybe it's just the default on ubi-prepare that's wrong too22:01
cjwatsonyeah, that's just ubi-prepare22:02
cjwatsonthe actual underlying code looks OK22:02
stgraberok, setting self.online to False by default then22:02
cjwatsonthe rest looks fine22:03
cjwatsonI wish my Chinese handling tests weren't taking forever and a day22:03
CIA-45ubiquity: stgraber * r5053 ubiquity/ (debian/changelog ubiquity/plugins/ubi-timezone.py): Don't contact geoip or run rdate if we don't have internet connectivity22:04
stgrabercjwatson: should I try to make ubi-prepare consistent with ubi-timezone (as in, not showing you're online when wget is still running)?22:05
stgraberargh, forgot to pull again... time to bzr bind that branch :)22:05
CIA-45ubiquity: stgraber * r5054 ubiquity/ (debian/changelog ubiquity/plugins/ubi-timezone.py): Don't contact geoip or run rdate if we don't have internet connectivity22:06
cjwatsonI think leave ubi-prepare alone at this point22:08
cjwatsonand maybe file a bug22:08
cjwatsonanyone want to comment on http://paste.ubuntu.com/703026/ and http://paste.ubuntu.com/703027/, for bug 590108?22:08
ubot2Launchpad bug 590108 in ubiquity "User get wrong system language after executing oem-config, if he is a foreigner in the country he selected in timezone select stage" [Medium,In progress] https://launchpad.net/bugs/59010822:08
cjwatsonI've yet to test this all the way through, working on that22:12
stgraberthe comments make sense, it indeed won't affect anything that's not pt or zh, as for the rest, can't comment much without testing (and I already did my chinese install of the day ;))22:16
cjwatsonI'm on about my fifth :-/22:18
cjwatsonI probably could have made it more general but decided it was safest to constraint it22:18
cjwatsonconstrain*22:18
cjwatsongah.  coffee.22:18
=== allee is now known as allee_
cjwatsonI'll go ahead with localechooser - I've tested that at least in d-i22:26
CIA-45localechooser: cjwatson * r165 ubuntu/ (debian/changelog post-base-installer.d/05localechooser):22:27
CIA-45localechooser: For cases where selecting a different location may imply a different22:27
CIA-45localechooser: dialect of the language, i.e. Portuguese and Chinese, take care to set22:27
CIA-45localechooser: LANG to something reflecting the location and22:27
CIA-45localechooser: LANGUAGE/LC_MESSAGES/LC_CTYPE/LC_COLLATE to something reflecting the22:27
CIA-45localechooser: language (LP: #590108). This roughly matches the behaviour of22:27
CIA-45localechooser: language-selector.22:27
cjwatsonand that needs to go ASAP22:27
CIA-45localechooser: cjwatson * r166 ubuntu/debian/changelog: releasing version 2.37ubuntu222:28
cjwatsonstgraber: so did pbuilder work OK for you or was it just ev?  (or have you tried?)22:32
stgrabercjwatson: didn't try. I usually push to a PPA for testing22:33
cjwatsonI can try it locally now if that would be helpful22:33
cjwatsonwaiting for an install anyway22:33
cjwatsonrunning it through now22:37
stgrabercurrently building in a PPA: https://launchpad.net/~stgraber/+archive/experimental/+build/282549422:53
* cjwatson requests a ubiquity translations export22:55
=== kentb is now known as kentb-out
cjwatsonbuilt cleanly here23:14
cjwatsonooh, and that looks suspiciously like a correct /etc/default/locale23:16
cjwatsonnow I just have to test oem-config23:16
stgraberubiquity also built fine for both i386 and amd64 on the PPA builders23:27
CIA-45ubiquity: cjwatson * r5055 trunk/ (9 files in 3 dirs): Update translations from Launchpad.23:32

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